Ofcourse it is....while the consequence sound a little scary too. Think about it.....ur intention is to have nagios trigger an request if a condition is met. <br><br>> The intention can be satisfied over SNMP<br>> With the trigger being called when a plugin check is performed
<br><br> Nagios per say may not be equipped with the capability to perform a whole lot of business process checks towards concluding whether the applications really down. It will be able to ping for resources using standard/custom plugins and verify the availability/lack of it using its existing framework.
<br><br> Hence...while you due to lack of accessibility to a switch for some reason your plugin may decide based on your coded business rules that its unreachable and send an snmp request to reset the device. In turn what you have actually done is...during a moment of large n/w traffic not been able to reach the switch and as a result sent a request to reset the switch which i would recieve and probable reset it once the instantaenous peak is done with.
<br><br> Am unsure if i have been able to relate to you in the right manner. But since nagios doesnt have a rule engine it might be best to let nagios do what it does best and have it integrate with a rule engine which takes care of all of your other misc requests over snmp.
<br><br> Hope this helped.<br><br>Thanks and Regards<br>Trevor<br> <br><div><span class="gmail_quote">On 2/22/07, <b class="gmail_sendername">patrickm</b> <<a href="mailto:patrickm@garlic.com">patrickm@garlic.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>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.
<br><br>Is this possible?<br><br><br>-------------------------------------------------------------------------<br>Take Surveys. Earn Cash. Influence the Future of IT<br>Join SourceForge.net's Techsay panel and you'll get the chance to share your
<br>opinions on IT & business topics through brief surveys-and earn cash<br><a href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
</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">
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><br clear="all"><br>-- <br> ___________________________________ <br>( >- / Scaling FreeSoftware & OpenSource \ -< ) <br>/~\ / In the Enterprise \ /~\
<br>| \) \ | <a href="http://www.fsf.org">www.fsf.org</a> | <a href="http://www.opensource.org">www.opensource.org</a> | / (/ |<br>|_|_ \____________________________________/ _|_|<br><br> An eye for an eye will soon turn the world blind - MKG
<br><br>"You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries.
<br>Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon "