Since we never see any SNMP posts around here lets have a quick look at how to add a router to Prime Infrastructure for the hell of it.
We'll setup SNMPv2 on R1 and R2
R01(config)#snmp-server community meowcatRO RO
R01(config)#snmp-server community meowcatRW RW
R02(config)#snmp-server community meowcatRO RO
R02(config)#snmp-server community meowcatRW RW
And for fun we'll do SNMPv3 on R3
R03(config)#snmp-server group meowcatGROUP v3 priv
R03(config)#snmp-server user meowcatUSER meowcatGROUP v3 auth sha meowcatAUTH priv aes 128 meowcatPRIV
*Apr 19 03:12:42.698: Configuring snmpv3 USM user, persisting snmpEngineBoots. Please Wait...
We can have the router send SNMP traps by doing the following
R03(config)#snmp-server enable traps
R03(config)#snmp-server host 10.20.2.41 meowcats
We can also set the router's contact and location like so.
R03(config)#snmp-server location "Calgary, AB"
R03(config)#snmp-server contact "The Packet Thrower"
In Prime we enter in the router IP address as well as the SNMP + Login information
Once the router is discovered we can see various information about the router
If we cause a router to go offline we will see Prime declare the router down once it times out.
*Apr 19 04:27:08.524: %OSPF-5-ADJCHG: Process 1, Nbr 126.96.36.199 on GigabitEthernet2.13 from FULL to DOWN, Neighbor Down: Interface down or detached
Node down - Overview
Aside from monitoring the router, Prime can also push configuration but we'll look at that another day.