<br clear="all">Hi And welcome to the wonderful world of Nagios.<br>I think what you want are "event_handlers" (have a look in the Nagios Doc's <a href="http://nagios.sourceforge.net/docs/3_0/eventhandlers.html">http://nagios.sourceforge.net/docs/3_0/eventhandlers.html</a> )<br>

<br>Ritchie<br><br><div class="gmail_quote">On Thu, Sep 3, 2009 at 12:44 PM, Leonardo Carneiro <span dir="ltr"><<a href="mailto:lscarneiro@veltrac.com.br">lscarneiro@veltrac.com.br</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;">

hello everyone.<br>
<br>
Started to play with Nagios a few days ago and i'm very excited with it.<br>
I have a very small setup (2 linux server being monitored via npre by a<br>
third linux server) and i'd wrote some bash scripts to monitor some of<br>
the services that we run on those services (proprietary services,<br>
non-standard ones like ssh, apache and that stuff).<br>
<br>
I know Nagios can send sms, email and other things to warn<br>
administrators about problems, but can Nagios take any action to fix the<br>
problem, like restart the service if reach critical state, or restart<br>
the service if the service stays critical for more than 5 minutes?<br>
<br>
If yes, can someone just point me to the direction i should go? :)<br>
<br>
Tks in advance, and sorry about my poor english. I'm from Brazil.<br>
--<br>
<br>
*Leonardo de Souza Carneiro*<br>
*Veltrac - Tecnologia em Logística.*<br>
<a href="mailto:lscarneiro@veltrac.com.br">lscarneiro@veltrac.com.br</a> <mailto:<a href="mailto:lscarneiro@veltrac.com.br">lscarneiro@veltrac.com.br</a>><br>
<a href="http://www.veltrac.com.br" target="_blank">http://www.veltrac.com.br</a> <<a href="http://www.veltrac.com.br/" target="_blank">http://www.veltrac.com.br/</a>><br>
/Fone Com.: (43)2105-5601/<br>
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/<br>
/Londrina- PR/<br>
/Cep: 86015-010/<br>
<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what's new with<br>
Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</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>