<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>
<div> </div>
<div>Hope it Help</div>
<div> </div>
<div>Moshe Sharon</div>
<div><a href="http://www.centerity.com">http://www.centerity.com</a></div>
<div><br><br> </div>
<div><span class="gmail_quote">On 2/4/07, <b class="gmail_sendername">Andy Shellam (Mailing Lists)</b> <<a href="mailto:andy.shellam-lists@mailnetwork.co.uk">andy.shellam-lists@mailnetwork.co.uk</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div text="#000000" bgcolor="#ffffff"><span class="q">Hugo van der Kooij wrote: </span>
<blockquote cite="http://midPine.LNX.4.64.0702041520360.20942@faramir.hugo.vanderkooij.org" type="cite"><span class="q"><pre>On Sun, 4 Feb 2007, Andy Shellam (Mailing Lists) wrote:
</pre>
<blockquote type="cite"><pre>Is there any way to make a service dependency refer to the service's own
host?
</pre></blockquote><pre>In your case I would write a tiny script and generate the service
dependencies. I guess some 20 lines of perl might do the trick if you are
fluent in perl.
Hugo.
</pre></span></blockquote><font size="-1"><font face="Arial"><br>Thanks Hugo, I'll probably do it in PHP as I haven't touched Perl other than the very basics.<br>Was just hoping there may have been an easier way I'd missed in the docs ;)
<br><br></font></font></div><br>-------------------------------------------------------------------------<br>Using Tomcat but need to do more? Need to support web services, security?<br>Get stuff done quickly with pre-integrated technology to make your job easier.
<br>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642" target="_blank">
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a><br>_______________________________________________<br>Nagios-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>
Moshe Sharon<br><a href="http://www.centerity.com">http://www.centerity.com</a>