different alarm triggers for day interval

nagios at mm.quex.org nagios at mm.quex.org
Fri Nov 19 07:27:58 CET 2004


On Fri, Nov 19, 2004 at 07:20:12AM +0200, Daniel Vrabioiu wrote:

> i have some plugins to monitor the number of calls made thru a asterix
> server.
> my problem is that  nagios will raise alarms all night long when the 
> nomber of calls made thru asterix are lower.
> is there any method to tell nagios that between 7 - 18 its ok to have
> 10 calls in the same time but between 18 - 7 it is not?

Two strategies I can think of for this:

1. Set up two services with different settings and different
   notification times.  This is a bit ugly.

2. Since it's the plugin that decides the status of the check, if
   you can add your time-based logic to the plugin itself that
   might provide a neater solution.

> also, i would appreciate if someone could point me in the good
> direction about using a nagios as a child of a primary nagios. i mean
> the second nagios would have to run on another server and send the
> data to the parent.

You can find a lot of information about this here:

  http://nagios.sourceforge.net/docs/1_0/distributed.html

Essentially, your "child" Nagios server performs checks, and submits
the results using the obsessive compulsive service processor command
(ocsp_command), which sounds exciting but is simply a command that
gets run with the results of each service check.  You can use this
to send the result back to the main Nagios server - the easiest
way is probably with nscad and send_nsca, but you can use any
method you see fit.

One note with this setup is that the main Nagios server still
performs host checks.  You need to disable checks on the main
server for the services the child is checking; you can, optionally,
allow the main Nagios server to run checks itself if it doesn't
receive results after some period of time.


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list