No alerts/notifications ?
Brian Ipsen
Brian.Ipsen-sender-25cac0 at andebakken.dk
Fri Jun 13 12:19:19 CEST 2003
Hi!
I have a wierd problem..... A host has been defines as:
define host{
use generic-host ; Name of host
template to use
host_name 3-sal-vest-ekstra
alias Printer #7
address 192.168.116.223
check_command check-host-alive
parents Switch-Master
max_check_attempts 10
notification_interval 480
notification_period workhours
}
With services:
define service{
use generic-service ; Name of
service template to use
host_name 3-sal-vest-ekstra
service_description PING
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups printer-admins
notification_interval 120
notification_period workhours
notification_options c,r
check_command check_ping!100.0,20%!500.0,60%
}
define service{
use generic-service ; Name of
service template to use
host_name 3-sal-vest-ekstra
service_description Printer Status
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups printer-admins
notification_interval 120
notification_period 24x7
notification_options c,r
check_command check_hpjd
}
Powering off the device, and leaving it off for 40 minutes gives:
3-sal-vest-ekstra PING CRITICAL 13-06-2003 12:11:06 0d 0h 40m 51s 1/3
CRITICAL - Plugin timed out after 10 seconds
Printer Status CRITICAL 13-06-2003 12:07:47 0d 0h 40m 11s 1/3 Timeout: No
response from 192.168.116.223
But no notifications ??? Is this because of the notification interval of 480
minutes ?? The history of the device on the log is:
[13-06-2003 11:47:56] HOST ALERT: 3-sal-vest-ekstra;DOWN;HARD;10;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:46:26] HOST ALERT: 3-sal-vest-ekstra;DOWN;HARD;10;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:45:46] Finished daemonizing... (New PID=14658)
[13-06-2003 11:45:46] Nagios 1.0 starting... (PID=14657)
[13-06-2003 11:45:46] Successfully shutdown... (PID=12939)
[13-06-2003 11:45:46] Caught SIGTERM, shutting down...
[13-06-2003 11:32:25] SERVICE ALERT: 3-sal-vest-ekstra;Printer
Status;CRITICAL;HARD;1;Timeout: No response from 192.168.116.223
[13-06-2003 11:31:45] SERVICE ALERT:
3-sal-vest-ekstra;PING;CRITICAL;HARD;1;TEST
[13-06-2003 11:31:45] HOST ALERT: 3-sal-vest-ekstra;DOWN;HARD;10;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:31:35] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;9;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:31:25] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;8;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:31:15] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;7;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:31:05] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;6;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:30:55] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;5;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:30:45] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;4;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:30:35] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;3;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:30:25] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;2;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:30:15] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;1;CRITICAL -
Plugin timed out after 10 seconds
[13-06-2003 11:22:25] SERVICE ALERT: 3-sal-vest-ekstra;Printer
Status;OK;HARD;1;Printer ok - (STRING: "Ready --- A4 PLAIN ")
Any ideas to why no notifications isn't sent ?
Regards,
/Brian
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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