Service Dependencies - refer to self

Matthew Joyce MJoyce at ccia.unsw.edu.au
Wed Feb 7 02:15:28 CET 2007


I like to see this issue come up time and time again, if only to
hopefully get address in v2.8 or v3
It would be so much simpler if there was a parent_service directive in
the service definition.
 
Andy, will you share you php script ?
 
Thanks
 
 
Matthew Joyce 
02 9382 0051 | IT Manager | Children's Cancer Institute Australia for
Medical Research 
 


________________________________

	From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy
Shellam (Mailing Lists)
	Sent: Monday, 5 February 2007 7:24 PM
	To: moshe sharon
	Cc: Nagios Users Mailing List
	Subject: Re: [Nagios-users] Service Dependencies - refer to self
	
	
	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
		 
		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/20070207/fce50bc6/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