Here some host example <br><br>define host{<br> host_name hostname<br> contact_groups 1<br> alias hostname.fulname<br> address &n
bsp; x.xx.xxx.xxx<br>
parents route1<br> use generic-host-active<br>}<br><br>define host{<br> host_name route1<br> contact_groups &n
bsp; 1<br>
address x.xx.xxx.xxx<br> use generic-host-active<br>}<br><br>define host{<br> name generic-host-active<br> register
0<br>
notification_options d,u,r<br> check_command check-host-alive<br> event_handler_enabled 1<br> flap_detection_enabled  
; 1<br>
notification_interval 120<br> notification_period full_week<br> notifications_enabled 1<br> max_check_attempts  
; 4<br>
}<br><br>define command{<br> command_name check-host-alive<br> command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1<br>
}<br><br>So that is it . That is a few services associated to the server if necessary I can include that here . <br><br>Thanks for help <br><br>Saulo Silva <br><br><br><div class="gmail_quote">2008/5/20 Hugo van der Kooij <<a href="mailto:hvdkooij@vanderkooij.org">hvdkooij@vanderkooij.org</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="Ih2E3d"><br>
Saulo Silva wrote:<br>
<br>
| I have a strange situation where my nagios is not recovering after some<br>
| server goes to UNREACHABLE state unless I force a recheck .<br>
<br>
</div>What service have you assigned to this host? How did you define this host?<br>
<br>
Did you read the section about host checks?<br>
<br>
<br>
Hugo.<br>
<br>
- --<br>
<a href="mailto:hvdkooij@vanderkooij.org">hvdkooij@vanderkooij.org</a> <a href="http://hugo.vanderkooij.org/PGP/GPG" target="_blank">http://hugo.vanderkooij.org/<br>
PGP/GPG</a>? Use: <a href="http://hugo.vanderkooij.org/0x58F19981.asc" target="_blank">http://hugo.vanderkooij.org/0x58F19981.asc</a><br>
<br>
A: Yes.<br>
>Q: Are you sure?<br>
>>A: Because it reverses the logical flow of conversation.<br>
>>>Q: Why is top posting frowned upon?<br>
<br>
Bored? Click on <a href="http://spamornot.org/" target="_blank">http://spamornot.org/</a> and rate those images.<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.7 (GNU/Linux)<br>
<br>
iD8DBQFIMt6TBvzDRVjxmYERAs8iAJkBAlgbOh7Nt5XFxAOip+H6NihoIACfc5QG<br>
zaC5IUC32ARg/h/ximdwjBY=<br>
=RBP6<br>
-----END PGP SIGNATURE-----<br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</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>
</blockquote></div><br>