[Nagios-devel] I would expect Nagios to return -1, or 3 for "system14;UP;HARD;1;(No
Posted: Tue Feb 07, 2006 11:56 am
I have a most perplexing couple of issues:
---- Nagios appears to be returning '1' and this is causing an
erroneous system UP notification
- seems like is should be returning -1, or 3 = UNKNOWN which I
would assume would not translate to system UP
date
mmdd hhmm ss
0203 0332 43 [1138966363] HOST ALERT: system14;DOWN;SOFT;1;CRITICAL -
Plugin timed out after 20 seconds
0203 0333 03 [1138966383] HOST ALERT: system14;DOWN;SOFT;2;CRITICAL -
Plugin timed out after 20 seconds
0203 0333 23 [1138966403] HOST ALERT: system14;DOWN;HARD;3;CRITICAL -
Plugin timed out after 20 seconds
0203 0333 23 [1138966403] HOST NOTIFICATION:
mtools;system14;DOWN;host-notify-by-mknotify;CRITICAL - Plugin timed
out after 20 seconds
0203 0426 05 [1138969565] HOST ALERT: system14;UP;HARD;1;(No output!)
0203 0426 05 [1138969565] HOST NOTIFICATION:
mtools;system14;UP;host-notify-by-mknotify;(No output!)
NOTE: I am using
define host {
check_interval 1
...
check_command check-host-alive
}
define command {
command_name check-host-alive
command_line ....libexec/check_ping -H $HOSTADDRESS$ -w
6000.0,80% -c 15000.0,100% -p 1 -t 20
}
Any suggestions would be appreciated
-Lee
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
---- Nagios appears to be returning '1' and this is causing an
erroneous system UP notification
- seems like is should be returning -1, or 3 = UNKNOWN which I
would assume would not translate to system UP
date
mmdd hhmm ss
0203 0332 43 [1138966363] HOST ALERT: system14;DOWN;SOFT;1;CRITICAL -
Plugin timed out after 20 seconds
0203 0333 03 [1138966383] HOST ALERT: system14;DOWN;SOFT;2;CRITICAL -
Plugin timed out after 20 seconds
0203 0333 23 [1138966403] HOST ALERT: system14;DOWN;HARD;3;CRITICAL -
Plugin timed out after 20 seconds
0203 0333 23 [1138966403] HOST NOTIFICATION:
mtools;system14;DOWN;host-notify-by-mknotify;CRITICAL - Plugin timed
out after 20 seconds
0203 0426 05 [1138969565] HOST ALERT: system14;UP;HARD;1;(No output!)
0203 0426 05 [1138969565] HOST NOTIFICATION:
mtools;system14;UP;host-notify-by-mknotify;(No output!)
NOTE: I am using
define host {
check_interval 1
...
check_command check-host-alive
}
define command {
command_name check-host-alive
command_line ....libexec/check_ping -H $HOSTADDRESS$ -w
6000.0,80% -c 15000.0,100% -p 1 -t 20
}
Any suggestions would be appreciated
-Lee
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]