nagios usage/question...

Jeff Rodriguez nagios-users at gurugeek.com
Thu Jul 15 01:46:21 CEST 2004


I think that might be the wrong approach... here's how I would think you 
could setup a remote reboot for a server...

You could use the hostextinfo.cfg and create a link for each server to a 
perl/php page that knows how to talk to your UPS'
When you see the server go down, you can click the link for the extinfo 
page and use it to remotely reboot your server.

If you want human interaction I think that might be the path of least 
resistance, then if you don't have a 24x7 NOC you can setup contacts. 
When a server goes down you'd receive an email, check nagios, and use 
the extinfo page to reboot the box.

The same can be done for services as well.

Jeff

Robert Nelson wrote:

>>>On Wed, Jul 14, 2004 at 03:18:11PM -0400, Peter McAlpine wrote:
>>>      
>>>
>>>>On Wed, Jul 14, 2004 at 10:54:47AM -0400, Sean Dilda wrote:
>>>>Is it possible to delay execution of an event handler until
>>>>confirmation is received (via the cgi's) that we actually 
>>>>        
>>>>
>>_want_ to
>>    
>>
>>>>execute said event handler? I don't like the idea of 
>>>>        
>>>>
>>trusting nagios
>>    
>>
>>>>to auto start things without checking with the on-duty 
>>>>        
>>>>
>>tech-support
>>    
>>
>>>>personell.
>>>>        
>>>>
>>>That functionality is not built in to Nagios.
>>>      
>>>
>>Could you define a service escalation that didn't activate until (for 
>>example) the third  notification event...?  And then have the 
>>notification activate the command to restart the daemon required?
>>
>>I could be wrong,  I am a little newbie here,  and haven't looked into
>>this at all.
>>    
>>
>
>I think what he means (and what *I* would like to see) is an event
>handler that is a button on the service/host description page only, so
>that Nagios would never run the script without someone viewing the
>problem service/host and specifically deciding to run the script. This
>way you could take a new hire and throw him in the on-call barrel real
>quick without not needing to know all the passwords and file locations
>and every other little detail that takes weeks to learn.
>
>Rob Nelson
>Network Engineer
>Windchannel Communications
>919-538-6326 
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by BEA Weblogic Workshop
>FREE Java Enterprise J2EE developer tools!
>Get your free copy of BEA WebLogic Workshop 8.1 today.
>http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>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
>
>
>  
>


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list