Hmmmm... I should have known that.... Thx.. :) BTJ
On Wed, 05 Nov 2008 09:42:02 +0100 Dennis Hünseler <[EMAIL PROTECTED]> wrote: > > Yes you can :-) > In the Service definition you can configure which notifications go out for > which service: > > notification_options w,u,c,r (this will be warning, > unknown, critical, recovery) > > From nagios Documentation: > > notification_options: This directive is used to determine when > notifications for the service should be sent out. Valid options are a > combination of one or more of the following: w = send notifications on a > WARNING state, u = send notifications on an UNKNOWN state, c = send > notifications on a CRITICAL state, r = send notifications on recoveries (OK > state), f = send notifications when the service starts and stops flapping, > and s = send notifications when scheduled downtime starts and ends. If you > specify n (none) as an option, no service notifications will be sent out. > If you do not specify any notification options, Nagios will assume that you > want notifications to be sent out for all possible states. Example: If you > specify w,r in this field, notifications will only be sent out when the > service goes into a WARNING state and when it recovers from a WARNING > state. > > > regards, Dennis > > On Wed, 5 Nov 2008 09:23:24 +0100, Bjørn T Johansen <[EMAIL PROTECTED]> > wrote: > > That's the problem; I don't get any errors from the commandline and > Nagios > > also thinks the ping is OK most of the time... > > But is there a way to disable notification from warnings for this check? > > > > BTJ > > > > On Wed, 05 Nov 2008 08:58:26 +0100 > > Dennis Hünseler <[EMAIL PROTECTED]> wrote: > > > >> > >> Hi, > >> > >> try pinging these machines from command line and take a look at the > >> output. > >> I think you will get an error on command line too. > >> > >> regards, Dennis > >> > >> On Wed, 5 Nov 2008 08:27:29 +0100, Bjørn T Johansen <[EMAIL PROTECTED]> > >> wrote: > >> > I get a lot of these from Nagios, what does those mean? All this is > >> > local > >> > servers (on our LAN) so not sure why ping is sending a warning? > >> > > >> > > >> > ***** Nagios ***** > >> > > >> > Notification Type: PROBLEM > >> > > >> > Service: PING > >> > Host: host > >> > Address: ip > >> > State: WARNING > >> > > >> > Date/Time: Wed Nov 5 00:03:54 CET 2008 > >> > > >> > Additional Info: > >> > > >> > PING WARNING - System call sent warnings to stderr Packet loss = 0%, > >> > RTA > >> = > >> > 0.19 ms > >> > > >> > > >> > > >> > Is there a workaround? or perhaps a way to not notify on ping for just > >> > warnings? > >> > > >> > > >> > Regards, > >> > > >> > BTJ > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list [email protected] 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
