[Nagios-devel] Wildcard in Serviceescalations with hosts without

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Wildcard in Serviceescalations with hosts without

Post by Guest »

Hi,

I'm using wildcards in serviceescalation.

define serviceescalation{
host_name *
service_description *
contact_groups contactgroup-blah
notification_interval 10
first_notification 1
last_notification *
escalation_options w,c,u,r
}


Unfortunately, some of our sysadmins forget to associate at least one
service to hosts. This has the consequence that service expansion is no
more possible, generating an error and preventing Nagios from being
(re)started. Furthermore, no clue is giving about which hosts are
affected by this oversight, making debugging painful.

My suggestion would be to skip hosts without an associated service,
allow Nagios to start normally and generate a warning instead.

--
Mathieu





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked