Using Nagios to restart a Power Strip, Switch, Router, etc. via SNMP
Marc Powell
marc at ena.com
Thu Feb 22 20:34:27 CET 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of patrickm
> Sent: Wednesday, February 21, 2007 7:28 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Using Nagios to restart a Power Strip, Switch,
> Router,etc. via SNMP
>
> Hello,
>
> I've been scouring Google all day long and I can't seem to find
anything
> regarding Nagios being able to reboot switches, routers, or power
strips
> via SNMP. We have some HP Procurve Switches, Some Cisco 7200 Routers,
and
> some APC Power strips, all being monitored via SNMP already and via
> Nagios, but it would be great if we could reboot these devices (or
> sections of the power strip by outlet) using SNMP write permissions.
>
> Is this possible?
Yes, if you can do it from the command line or via script then nagios
can do it as well. Seems like it would be pretty straightforward to do
with perl and Net::SNMP. Nagios doesn't include any 'restart' capability
by default because the number of variables is too significant. Nagios
_does_ provide an Event Handler interface to allow you to build that
functionality to suit.
--
Marc
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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