fs_/usr service escalation issue
Posted: Sat Feb 02, 2013 8:17 pm
Hi,
Our Nagios service escalation for fs_/usr service is not working. We believe it should be related to the “/” character.
mtl1log02 server belongs to “linux-servers” host group.
Parts of /etc/check_mk/main.mk:
all_hosts = [
(…)
"mtl1log02|linux|linux-servers",
(..)
]
(…)
host_groups = [
(…)
( 'linux-servers', [ 'linux-servers' ], ALL_HOSTS ),
(…)
]
(…)
I defined a service escalation for this host group (file /usr/local/nagios/etc/serviceescalations.cfg):
define serviceescalation {
hostgroup_name linux-servers
service_description adinfo,CPU load,fs_/,fs_/boot,fs_/tmp,fs_/usr,fs_/usr/export/home,fs_/var,Memory used,ypwhich
contacts service-now
first_notification 1
last_notification 1
notification_interval 1440
escalation_period 24x7
escalation_options c,
}
These services were added by hand as using the Nagios Core in order to define the escalation.
/usr/local/nagios/etc/services/adinfo.cfg
define service {
service_description adinfo
display_name adinfo
register 1
}
/usr/local/nagios/etc/services/fs_usr.cfg
define service {
service_description fs_/usr
register 1
}
The critical adinfo problem was escalated, but not the fs_/usr issue. We believe it should be related to the “/” character.
Ricardo
From: Nagios XI MTL [mailto:[email protected]]
Sent: Friday, February 01, 2013 3:52 PM
To: Ricardo Nunez
Subject: PROBLEM Service Alert - mtl1log02/adinfo is CRITICAL
***** Nagios XI Alert *****
** This is an escalated notification ** Nagios has detected a problem with this service.
Notification Type: PROBLEM
Service: adinfo
Host: mtl1log02
Address: 134.87.177.115
State: CRITICAL
Info:
Critical. Connected to nombre
Date/Time: 2013-02-01 20:52:22
Location: Montreal
Respond: http://nagiosxi-mtl.pmc-sierra.bc.ca/na ... 668af3fb09
Nagios URL: http://nagiosxi-mtl.pmc-sierra.bc.ca/nagiosxi/
From: Nagios XI MTL [mailto:[email protected]]
Sent: Friday, February 01, 2013 3:34 PM
To: Ricardo Nunez
Subject: PROBLEM Service Alert - mtl1log02/fs_/usr is CRITICAL
***** Nagios XI Alert *****
Nagios has detected a problem with this service.
Notification Type: PROBLEM
Service: fs_/usr
Host: mtl1log02
Address: 134.87.177.115
State: CRITICAL
Info:
CRIT - 97.0% used (8.25 of 8.5 GB), (levels at 80.0/90.0%), trend: 0.00B / 24 hours
Date/Time: 2013-02-01 20:34:12
Location: Montreal
Respond: http://nagiosxi-mtl.pmc-sierra.bc.ca/na ... 668af3fb09
Nagios URL: http://nagiosxi-mtl.pmc-sierra.bc.ca/nagiosxi/
Our Nagios service escalation for fs_/usr service is not working. We believe it should be related to the “/” character.
mtl1log02 server belongs to “linux-servers” host group.
Parts of /etc/check_mk/main.mk:
all_hosts = [
(…)
"mtl1log02|linux|linux-servers",
(..)
]
(…)
host_groups = [
(…)
( 'linux-servers', [ 'linux-servers' ], ALL_HOSTS ),
(…)
]
(…)
I defined a service escalation for this host group (file /usr/local/nagios/etc/serviceescalations.cfg):
define serviceescalation {
hostgroup_name linux-servers
service_description adinfo,CPU load,fs_/,fs_/boot,fs_/tmp,fs_/usr,fs_/usr/export/home,fs_/var,Memory used,ypwhich
contacts service-now
first_notification 1
last_notification 1
notification_interval 1440
escalation_period 24x7
escalation_options c,
}
These services were added by hand as using the Nagios Core in order to define the escalation.
/usr/local/nagios/etc/services/adinfo.cfg
define service {
service_description adinfo
display_name adinfo
register 1
}
/usr/local/nagios/etc/services/fs_usr.cfg
define service {
service_description fs_/usr
register 1
}
The critical adinfo problem was escalated, but not the fs_/usr issue. We believe it should be related to the “/” character.
Ricardo
From: Nagios XI MTL [mailto:[email protected]]
Sent: Friday, February 01, 2013 3:52 PM
To: Ricardo Nunez
Subject: PROBLEM Service Alert - mtl1log02/adinfo is CRITICAL
***** Nagios XI Alert *****
** This is an escalated notification ** Nagios has detected a problem with this service.
Notification Type: PROBLEM
Service: adinfo
Host: mtl1log02
Address: 134.87.177.115
State: CRITICAL
Info:
Critical. Connected to nombre
Date/Time: 2013-02-01 20:52:22
Location: Montreal
Respond: http://nagiosxi-mtl.pmc-sierra.bc.ca/na ... 668af3fb09
Nagios URL: http://nagiosxi-mtl.pmc-sierra.bc.ca/nagiosxi/
From: Nagios XI MTL [mailto:[email protected]]
Sent: Friday, February 01, 2013 3:34 PM
To: Ricardo Nunez
Subject: PROBLEM Service Alert - mtl1log02/fs_/usr is CRITICAL
***** Nagios XI Alert *****
Nagios has detected a problem with this service.
Notification Type: PROBLEM
Service: fs_/usr
Host: mtl1log02
Address: 134.87.177.115
State: CRITICAL
Info:
CRIT - 97.0% used (8.25 of 8.5 GB), (levels at 80.0/90.0%), trend: 0.00B / 24 hours
Date/Time: 2013-02-01 20:34:12
Location: Montreal
Respond: http://nagiosxi-mtl.pmc-sierra.bc.ca/na ... 668af3fb09
Nagios URL: http://nagiosxi-mtl.pmc-sierra.bc.ca/nagiosxi/