Checking if a service definition exists
Posted: Thu Jan 29, 2015 9:12 am
Hi,
We're running Nagios Core 3.2.3 on Ubuntu 12.04 LTS. We currently need some mechanism to check if a concrete service is defined in the Nagios configuration file. For example, from some client host (let's call it 'mailserv') I want to check if there's some service definition for 'mailserv' that has 'My passive check' as the service description. Is there some way to achieve this? If not natively, is there a way we could easily emulate this behavior?
Thanks.
We're running Nagios Core 3.2.3 on Ubuntu 12.04 LTS. We currently need some mechanism to check if a concrete service is defined in the Nagios configuration file. For example, from some client host (let's call it 'mailserv') I want to check if there's some service definition for 'mailserv' that has 'My passive check' as the service description. Is there some way to achieve this? If not natively, is there a way we could easily emulate this behavior?
Thanks.