Jump to: navigation, search

Load balancing

450 bytes added, 09:30, 21 November 2012
SNMP traps
+-- -R-- INTEGER hostRetriesLeft(8)
+-- -R-- INTEGER hostRetries(9)
=== Net-SNMP guide ===
This short guide describes how to set up a trap receiver and run a custom script when a relayd host is up/down. SNMP authentication and security is out of scope for this guide.
Install the HALON-RELAYD-TRAP-MIB.txt file to your mibs/ folder.
Create a configuration file for snmptrap (snmptrapd.conf).
authCommunity log,execute,net public
traphandle HALON-RELAYD-TRAP-MIB::relaydStateChange /usr/local/bin/php /mail.php

Navigation menu