<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY text=#000000 bgcolor=#ffffff>
<DIV align=left><FONT face=Arial color=#0000ff size=2><SPAN class=252150501-07022007>I like to see this issue come up time and time
again, if only to hopefully get address in v2.8 or v3</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial color=#0000ff size=2><SPAN class=252150501-07022007>It would be so much simpler if there was a
parent_service directive in the service definition.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=252150501-07022007>Andy,
will you share you php script ?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=252150501-07022007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=252150501-07022007>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=252150501-07022007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV align=left><STRONG><FONT face=Verdana size=2>Matthew Joyce</FONT></STRONG>
<BR><FONT face=Verdana color=#808080 size=1>02 9382 0051</FONT><B> <FONT face=Verdana color=#808080 size=1>|</FONT></B><FONT face=Verdana color=#808080 size=1> IT Manager</FONT><B> <FONT face=Verdana color=#808080 size=1>|</FONT></B><FONT face=Verdana color=#808080 size=1> Children's Cancer
Institute Australia for Medical Research</FONT> </DIV>
<DIV> </DIV><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B>
nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Andy
Shellam (Mailing Lists)<BR><B>Sent:</B> Monday, 5 February 2007 7:24
PM<BR><B>To:</B> moshe sharon<BR><B>Cc:</B> Nagios Users Mailing
List<BR><B>Subject:</B> Re: [Nagios-users] Service Dependencies - refer to
self<BR></FONT><BR></DIV>
<DIV></DIV>moshe sharon wrote:
<BLOCKQUOTE>
<DIV>Hi</DIV>
<DIV> </DIV>
<DIV>its pretty simple solution without perl script. create a service called
NRPE </DIV>
<DIV>and enter the following check_command</DIV>
<DIV>command_name nrpe_version</DIV>
<DIV>command_line ./check_nrpe -H <A href="http://212.150.36.20">212.150.36.20</A></DIV>
<DIV> </DIV>
<DIV>when running this command against NRPE daemon you should get response
"NRPE v2.0"</DIV>
<DIV> </DIV>
<DIV>now create your dependencies that this NRPE is the master server and
the other dependent on it.</DIV></BLOCKQUOTE><BR>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?<BR>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.<BR><BR><BR>Andy.<BR></BLOCKQUOTE></BODY></HTML>