Service Dependencies - refer to self

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Mon Feb 5 09:23:53 CET 2007


moshe sharon wrote:
> Hi
>  
> its pretty simple solution without perl script. create a service 
> called NRPE
> and enter the following check_command
> command_name nrpe_version
> command_line ./check_nrpe -H 212.150.36.20 <http://212.150.36.20>
>  
> when running this command against NRPE daemon you should get response 
> "NRPE v2.0"
>  
> now create your dependencies that this NRPE is the master server and 
> the other dependent on it.

Yes, that's what I've done, but how do you do it by simply defining one 
dependency to do the same thing across multiple servers?
If I use wildcards in the dependency, it makes every NRPE client service 
depend on every other NRPE server in the network, not just the server 
that service instance runs on.


Andy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070205/336757cf/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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