Can Nagios implement with Expect to automate tasks when issues arise?

Patrick M. patrickm at garlic.com
Wed Nov 14 17:27:46 CET 2007


Hi all,

I just learned what Expect was and wrote a few scripts to automate 
certain tasks around the office, and now I'm wondering if Expect can be 
used in conjunction with Nagios.  Is this possible? 

Example: One of our servers go down at least twice a day, and we know 
it's problematic.  We connect to the power strip and recycle the power 
on the port that machine is plugged in.  I'd like to use Expect to 
automate this when Nagios notices it is down.

Has anyone else implemented something similar to what I'm describing?

Thanks in advance.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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