09-30-2012 06:38 AM - edited 03-04-2019 05:42 PM
Hi folks, was wandering if anyone can lend a quick hand with this one. We have a router that's been registering the following events in its local log:
Sep 30 09:32:27.212 EDT: %ENVMON-3-FAN_FAILED: Fan 1 not rotating
I have configured SNMP traps for link up/down on this router however nothing for a hardware error such as above. What SNMP trap can I enable that will allow my NMS to start receiving notification of all similar issues and events?
Thanks
09-30-2012 01:00 PM
Hi Ricky,
you can use this
snmp-server enable traps envmon fan shutdown supply temperature status
thanks
10-01-2012 11:12 AM
Hi Amrinder, this is what I have
ip access-list standard snmp_hosts
permit 172.18.120.241
deny any
!
snmp-server community xxxx RO snmp_hosts
snmp-server community xxxx RW snmp_hosts
snmp-server trap-source GigabitEthernet0/1
snmp-server enable traps envmon fan statuschange
snmp-server host 172.18.120.241 version 2c xxxx envmon
snmp-server manager
!
I have checked the community strings and they match.
Interface GigabitEthernet0/1 can communicate with 172.18.120.241
However my end stations is still not seeing any traps coming from this router.
10-01-2012 01:27 PM
hello Ricky,
is there any access list blocking ip address for GigabitEthernet0/1 ?
try Show snmp and see if actually that’s running.
Add this to your snmp config
snmp-server enable traps
(this ine enables the router to send Entity MIB notifications in addition
to any traps or informs previously enabled)
snmp-server host 172.18.120.241 public snmp envmon
(replace public with you community string)
see if this make any difference .
thanks
10-02-2012 10:37 AM
No ACL on Gig0/1
Here is the output from show snmp command
ORL-ISR1#sh snmp
Chassis: *********
178439 SNMP packets input
0 Bad SNMP version errors
119414 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
100797 Number of requested variables
0 Number of altered variables
56138 Get-request PDUs
1727 Get-next PDUs
0 Set-request PDUs
0 Input queue packet drops (Maximum queue size 1000)
59024 SNMP packets output
0 Too big errors (Maximum packet size 1500)
25 No such name errors
0 Bad values errors
0 General errors
59024 Response PDUs
0 Trap PDUs
10-02-2012 10:42 AM
After I punched in snmp-server enable traps, it enabled a lot of them
Thats when I also captured 2 traps at my NMS but not the ones I'm looking for i.e. Fan.
Please advise
10-02-2012 12:31 PM
Your show snmp information is not showing if these traps are enabled or not.
Check this example
Network#sh snmp
Chassis: XXXXXX
Contact: XXXXXX
Location: XXXXXX
3304795 SNMP packets input
0 Bad SNMP version errors
277 Unknown community name
2 Illegal operation for community name supplied
0 Encoding errors
8032936 Number of requested variables
0 Number of altered variables
3047744 Get-request PDUs
242322 Get-next PDUs
0 Set-request PDUs
0 Input queue packet drops (Maximum queue size 1000)
3586906 SNMP packets output
0 Too big errors (Maximum packet size 1500)
1220 No such name errors
0 Bad values errors
0 General errors
3304486 Response PDUs
282420 Trap PDUs
SNMP global trap: enabled
SNMP logging: enabled
Logging to XXXXXXXXXXX, 0/10, 141137 sent, 73 dropped.
Logging to XXXXXXXXXXX, 0/10, 141134 sent, 76 dropped.
SNMP agent enabled.
But other than that everything looks fine .
Please try this command again.
thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide