Ok, what i did was to write check-ping script that exits with 0 and use that dummy as check-host-alive. I can use other services to check if a server is alive.<br><br>So that problem is "solved".<br><br>Up to the next one.<br>
<br>Ton.<br><br><br><div class="gmail_quote">On Sat, Jan 24, 2009 at 11:40 PM, Kevin Keane <span dir="ltr"><<a href="mailto:subscription@kkeane.com">subscription@kkeane.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Marc Powell wrote:<br>
> On Jan 24, 2009, at 9:08 AM, Ton Machielsen wrote:<br>
</div><div class="Ih2E3d">>> - Does anybody have a good check-host-alive definition that works<br>
>> from the jail?<br>
>><br>
><br>
> That's going to depend on the configuration of the jail and the types<br>
> of devices you are intending to monitor. check-host-alive doesn't have<br>
> to be a ping test, it's just the most common and useful test.<br>
><br>
</div>How about check_tcp to a port that you know is supposed to be open on<br>
the monitored system? Second to check_ping, that is probably the most<br>
basic check you could do.<br>
<br>
--<br>
Kevin Keane<br>
Owner<br>
The NetTech<br>
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About<br>
<br>
Office: 866-642-7116<br>
<a href="http://www.4nettech.com" target="_blank">http://www.4nettech.com</a><br>
<br>
This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof.<br>

<div><div></div><div class="Wj3C7c"><br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by:<br>
SourcForge Community<br>
SourceForge wants to tell your story.<br>
<a href="http://p.sf.net/sfu/sf-spreadtheword" target="_blank">http://p.sf.net/sfu/sf-spreadtheword</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a 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>
</div></div></blockquote></div><br>