cluster_check sends no notifications
Izotov Igor
izotov at list.ru
Wed Sep 14 19:57:18 CEST 2005
Hello, everyone!
The problem is that I do not receive any notifications from CLUSTER_CHECK
service.
Here's conf file part
define service{
host_name host
service_description CLUSTER_CHECK
is_volatile 0
check_period 24x7
max_check_attempts 1
normal_check_interval 10
retry_check_interval 1
contact_groups admins
notification_interval 0
notification_period 24x7
check_command check_service_cluster!"host check by
oedipus and
igori_virtual"!2!2!$SERVICESTATEID:host:PING_HOST_BY_IGORI_VIRTUAL$,$SERVICE
STATEID:host:PING_HOST_BY_OEDIPUS$
active_checks_enabled 1
passive_checks_enabled 0
parallelize_check 0
check_freshness 0
notifications_enabled 1
}
PING_HOST_BY_IGORI_VIRTUAL (via nrpe) service and PING_HOST_BY_OEDIPUS (just
straight ping) return CRITICAL states, but notifications_enabled = 0 for
them.
CGI interface says CLUSTER_CHECK is CRITICAL too, just as it should be,
but... no notifications are sent.
define contactgroup{
contactgroup_name admins
alias Nagios Administrators
members nagios-admin
}
define contact{
contact_name nagios-admin
alias Nagios Admin
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notification_commands service-notify-by-email
host_notification_commands host-notify-by-email
email izotov at list.ru
}
The strange thing is that when following service goes into CRITICAL STATE,
notifications are sent!
define service{
host_name igori_virtual
service_description PING_MONITORING_SERVER_IGORI_VIRTUAL
is_volatile 0
check_period 24x7
max_check_attempts 1
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_interval 0
notification_period 24x7
check_command check_host_alive
active_checks_enabled 1
passive_checks_enabled 0
parallelize_check 1
check_freshness 0
notifications_enabled 1
}
Quite a strange stuff. Anyone got ideas?
Thank you.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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