Hi And welcome to the wonderful world of Nagios.
I think what you want are "event_handlers" (have a look in the Nagios Doc's
http://nagios.sourceforge.net/docs/3_0/eventhandlers.html )
Ritchie
On Thu, Sep 3, 2009 at 12:44 PM, Leonardo Carneiro <
[email protected]> wrote:
> hello everyone.
>
> Started to play with Nagios a few days ago and i'm very excited with it.
> I have a very small setup (2 linux server being monitored via npre by a
> third linux server) and i'd wrote some bash scripts to monitor some of
> the services that we run on those services (proprietary services,
> non-standard ones like ssh, apache and that stuff).
>
> I know Nagios can send sms, email and other things to warn
> administrators about problems, but can Nagios take any action to fix the
> problem, like restart the service if reach critical state, or restart
> the service if the service stays critical for more than 5 minutes?
>
> If yes, can someone just point me to the direction i should go? :)
>
> Tks in advance, and sorry about my poor english. I'm from Brazil.
> --
>
> *Leonardo de Souza Carneiro*
> *Veltrac - Tecnologia em Logística.*
> [email protected] <mailto:[email protected]>
> http://www.veltrac.com.br <http://www.veltrac.com.br/>
> /Fone Com.: (43)2105-5601/
> /Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
> /Londrina- PR/
> /Cep: 86015-010/
>
>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null