Missing notifications?

Mike Lindsey mike-nagios at 5dninja.net
Mon Jan 3 23:03:57 CET 2011


On 1/3/11 11:53 AM, James Moseley wrote:
>
>     I was directed in the irc forum to look at
>     http://nagios.sourceforge.net/docs/3_0/statetypes.html and I learned
>     that services or hosts need to have a hard state failure, in order for
>     notifications to go out. I've been trying to reboot my servers in
>     order
>     to get my notifications to go out. I'd like to check that I'll
>     actually
>     get notifications as soon as there is a problem, for example, a host
>     goes offline, I'd like to know after about 2 minutes if possible!
>
>
> Then just turn a server off and wait a bit...  ;-)  You could also 
> create a fake host, one with an unpingable IP address.
My favorite trick, that doesn't require adding fake config or rebooting 
a server, is updating /etc/hosts on the monitoring host to point a real 
host at a known bad ip address.  Requires root, and that you use dns for 
your hostaddress entries, however.

-- 
Mike Lindsey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110103/b972ac80/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
-------------- next part --------------
_______________________________________________
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