TODO:

- examples of walking & getting

http://www.assure24.com/download/mibs/privatemibs/9/CISCO-SMI.my
http://www.assure24.com/download/mibs/privatemibs/9/CISCO-ENVMON-MIB.my
http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?mibName=CISCO-ENVMON-MIB

- traps
- do we call third party scripts ?



Getting the temperature:
-----------------------

snmpwalk -c san0g -v 1 169.223.1.1 CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusEntry

snmpget -On -c san0g -v 1 169.223.1.1 CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.3
.1.3.6.1.4.1.9.9.13.1.3.1.3.3 = Gauge32: 25 degrees Celsius


Reloading a router via SNMP:
---------------------------


snmp-server community private RW    
snmp-server system-shutdown

sysReset = .1.3.6.1.4.1.9.2.9.9 from the CISCO-STACK-MIB.my sysReset OBJECT-TYPE
/usr/local/bin/snmpset -c $PASS -v 1 -t 70 $HOST .1.3.6.1.4.1.9.2.9.9.0 i 2


Manipulating configs via SNMP:
------------------------------

CISCO-CONFIG-COPY-MIB-V1SMI.my

  access-list 10 permit host 10.0.1.3
    access-list 10 deny any
    !
    snmp-server tftp-server-list 10
    snmp-server view backup ciscoMgmt.96.1.1.1.1 included
    snmp-server community public view backup RW 10
    end


Trap config
-----------

snmptrapd.conf

traphandle      "default"        /tmp/trap_handler.pl

