Problem with host notification ( Nagios 2.7)

Thomas Schimpke schimpke.thomas at bhn-services.com
Sat Feb 10 19:59:33 CET 2007


Hi folks,

I have problems with host notifications in nagios 2.7. It may be, that I
had similiar problems with 2.5, which were the reason I updated nagios.

Here's my host configuration:

define host {
host_name 		eulep04
alias			SAP Applikationsserver
address			xxx.xxx.xxx.xxx
hostgroups		Eule App. Server

contact_groups		rz
notification_interval	45
notifications_enabled	1
notification_options	d,r

check_command		check-host-alive
max_check_attempts      3
active_checks_enabled	1
passive_checks_enabled	1
check_period		24x7

event_handler_enabled	1
check_freshness		0
freshness_threshold     0
obsess_over_host        0
flap_detection_enabled  1
process_perf_data       1
retain_status_information 1
}

I changed the host's IP Address to something that is not reachable, so
the service checks of the host failed an nagios issued host checks:

[1171127993] HOST ALERT: eulep04;DOWN;SOFT;1;CRITICAL - Plugin timed out
after 10 seconds
[1171128003] HOST ALERT: eulep04;DOWN;SOFT;2;CRITICAL - Plugin timed out
after 10 seconds
[1171128013] HOST ALERT: eulep04;DOWN;HARD;3;CRITICAL - Plugin timed out
after 10 seconds

Now, since the host is in an hard state, I would expect a notification
to go out. But there is no log of a notification attempt (I have enabled
the log_notifications option in nagios.cfg). Further, when looking at
the CGI I can see, that the host is down, but the "current attempt"
field is always "1/3". 

In the following there are some failed service checks:

 [1171128013] SERVICE ALERT: eulep04;CPU
Temperature;UNKNOWN;HARD;1;Sensor location cpu not found.
[1171128080] SERVICE ALERT: eulep04;SAP Logon;UNKNOWN;HARD;1;Cannot
connect to remote SAP system on host xxx.xxx.xxx.xxx.
...
but I  do not see a host check attempt (could be ok: why check, if the
next service returns OK, the host is OK). The current attempt filed in
the CGI stays at "1/3"

Any ideas ?

Thanks in advance,

Thomas








-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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