Problem with service dependency
Angel L. Mateo
amateo at um.es
Fri Jan 20 11:52:46 CET 2006
Hello,
I am trying to configure service dependencies in my nagios system. But
I have a problem with notifications. This is my test configuration:
define service {
name DISK_/
host_name galemys
use servicio-generico2
service_description DISK_/
check_command snmp_disk!public!1!80!95
}
define service {
name snmp
host_name galemys
use servicio-generico2
service_description snmp
check_command check_snmp_status!public!2!5!10
}
Because DISK_/ is monitored via SNMP, I want nagios to not check and
not notificate for DISK_/ service if snmp service is down. So I define
the next dependency:
define servicedependency {
host_name galemys
service_description snmp
dependent_host_name galemys
dependent_service_description DISK_/
execution_failure_criteria c,u
notification_failure_criteria w,u,c
}
I don't want to check for DISK_/ service if snmp one is in critical or
unknown state. And I don't want to be notificated for DISK_/ service if
snmp one is in warning, unknown or critical state.
The problem I have is that when snmp is down in the server, I am first
notified about DISK_/ being in unknown state. After a while, I am
notified about snmp being in critical state and I don't receive
notifications for DISK_/ anymore, but before this I have been notified
several times about DISK_/ begin in a unknown state.
Ah.... I am using nagios 1.3
Is this right? Or I have something missconfigured?
Thank you in advance.
--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información _o)
y las Comunicaciones Aplicadas (ATICA) / \\
http://www.um.es/atica _(___V
Tfo: 968367590
Fax: 968398337
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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