Strange behavior of checks?

Jan Scholten Jan.Scholten at iconz.net
Wed Dec 1 00:02:39 CET 2004


I have the following trouble: My host gets checked without a service in a critical state. than all 
host checks are fired in 20 seconds.. is it possible to state somewhere to do the retry check after 
10 Seconds instead of 3 so a retry_check_interval for hosts checks?

TRhe other thing is: it's lying to my:
View alert History on Service SSH or SMTP is blank (even if they are shown in the alert history for 
the host (see below).
Next question why are the services HARD;1; even if the are defined (and shown in the webinterface 
with 3 rechecks?)

Jan



 From the alert history of a host:

[12-01-2004 11:34:42] SERVICE ALERT: webapache.intellihost;SSH;OK;HARD;1;SSH OK - OpenSSH_3.4p1 
Debian 1:3.4p1-1.woody.3 (protocol 2.0)
[12-01-2004 11:34:42] SERVICE ALERT: webapache.intellihost;PING;OK;HARD;1;PING OK - Packet loss = 
0%, RTA = 6.67 ms
[12-01-2004 11:33:32] SERVICE ALERT: webapache.intellihost;SMTP;OK;HARD;1;SMTP OK - 0.034 sec. 
response time
[12-01-2004 11:33:31] HOST ALERT: webapache.intellihost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 
0.32 ms
[12-01-2004 11:32:01] SERVICE ALERT: webapache.intellihost;PING;CRITICAL;HARD;1;PING CRITICAL - Host 
Unreachable (my.host.ip)
[12-01-2004 11:31:52] SERVICE ALERT: webapache.intellihost;SMTP;CRITICAL;HARD;1;No route to host
[12-01-2004 11:31:22] SERVICE ALERT: webapache.intellihost;SSH;CRITICAL;HARD;1;CRITICAL - Socket 
timeout after 10 seconds
[12-01-2004 11:31:19] HOST ALERT: webapache.intellihost;DOWN;HARD;10;PING CRITICAL - Host 
Unreachable (my.host.ip)
[12-01-2004 11:31:16] HOST ALERT: webapache.intellihost;DOWN;SOFT;9;PING CRITICAL - Host Unreachable 
(my.host.ip)
[12-01-2004 11:31:13] HOST ALERT: webapache.intellihost;DOWN;SOFT;8;PING CRITICAL - Host Unreachable 
(my.host.ip)
[12-01-2004 11:31:10] HOST ALERT: webapache.intellihost;DOWN;SOFT;7;PING CRITICAL - Host Unreachable 
(my.host.ip)
[12-01-2004 11:31:07] HOST ALERT: webapache.intellihost;DOWN;SOFT;6;PING CRITICAL - Host Unreachable 
(my.host.ip)
[12-01-2004 11:31:04] HOST ALERT: webapache.intellihost;DOWN;SOFT;5;PING CRITICAL - Host Unreachable 
(my.host.ip)
[12-01-2004 11:31:01] HOST ALERT: webapache.intellihost;DOWN;SOFT;4;PING CRITICAL - Host Unreachable 
(my.host.ip)
[12-01-2004 11:30:58] HOST ALERT: webapache.intellihost;DOWN;SOFT;3;PING CRITICAL - Host Unreachable 
(my.host.ip)
[12-01-2004 11:30:55] HOST ALERT: webapache.intellihost;DOWN;SOFT;2;PING CRITICAL - Host Unreachable 
(my.host.ip)
[12-01-2004 11:30:51] HOST ALERT: webapache.intellihost;DOWN;SOFT;1;PING CRITICAL - Packet loss = 100%

Hosts.cfg:

define host{
         name                            generic24x7ping-host
         notifications_enabled           1       ; Host notifications are enabled
         event_handler_enabled           1       ; Host event handler is enabled
         flap_detection_enabled          1       ; Flap detection is enabled
         process_perf_data               1       ; Process performance data
         retain_status_information       1       ; Retain status information across program restarts
         retain_nonstatus_information    1       ; Retain non-status information 
across program 									restarts
         check_command                   check-host-alive
         max_check_attempts              10
         notification_interval           120
         notification_period             24x7
         notification_options            d,u,r
         register                        0       ; DONT REGISTER THIS DEFINITION
         }

# 'webapache.intellihost' host definition
define host{
         use                     generic24x7ping-host            ; Name of host template to use
         parents                 sw4-air
         host_name               webapache.intellihost
         alias                   webapache.intellihost
         address                 my.host.ip
         }




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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