Notification did not execute
Net Warrior
netwarrior863 at gmail.com
Wed Aug 29 01:39:50 CEST 2012
Hi there guys.
I have face something weird, I did not get a notificationn of a down
state for a particular host,
this is the host config.
define service{
use local-service ; Name
of service template to use
host_name hostname
service_description SSH
check_command check_ssh
flap_detection_enabled 0
notifications_enabled 1
notification_options w,u,r,c
check_period 24x7
check_interval 1
max_check_attempts 3
first_notification_delay 0
notification_interval 10
}
define host{
use linux-server ; Name of host
template to use
; This host
definition will inherit all variables that are defined
; in (or
inherited by) the linux-server host template definition.
host_name hostname
alias the alias
address x.x.x.x
contact_groups admins
contacts nagiosadmin
check_interval 1
max_check_attempts 3
notification_interval 10
flap_detection_enabled 0
first_notification_delay 0
}
and in the logs I got
[1346196987.097821] [032.0] [pid=21145] ** Service Notification
Attempt ** Host: 'hostname', Service: 'SSH', Type: 0, Options: 0,
Current State: 2, Last Notification: Wed Dec 31 21:00:00 1969
[1346196987.097843] [032.1] [pid=21145] The host is either down or
unreachable, so we won't notify contacts about this service.
[1346196987.097851] [032.0] [pid=21145] Notification viability test
failed. No notification will be sent out.
The host is either down or unreachable --- Of coure, so why the
notification was not fired?
Any idea what could be wrong?, I got some notification with other host
and all have the same configuration, I have already restarted nagios
Thanks for your time and support
Best regards.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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