Missing notifications?
James Moseley
jmoseley at corp.xanadoo.com
Mon Jan 3 20:53:59 CET 2011
> 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.
As for how much time it takes to notify once the host/service becomes
unresponsive, these three definitions (outside of any separate escalation
policies) will dictate how fast the first alert will go out:
max_check_attempts
normal_check_interval
retry_check_interval
In your case, you'd probably want to set max_check to '2' and normal and
retry to '1'. In this case, assuming "interval_length=60", the host (or
service) would be checked every minute. When the host becomes
unreachable/down, the host would then be rechecked once, one minute after it
first becomes unreachable/down. If it was still down, the state would then
become 'hard' and an alert sent. Total time before alert was sent could be
anywhere from 61 seconds to two minutes, depending on when the host is first
checked after it goes down.
You really need to read the object definitions in the Nagios documentation.
--
James Moseley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110103/9a5af8c1/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