06-27-2019 11:21 PM
i configure snmp for my new ISR4221 as per normal to what i did for my other C1941 routers.
but seems like for this new ISR router, the snmp graph for zabbix is not show
is there any thing else i need to add
snmp-server community snmpcommunity RO
snmp-server trap-source GigabitEthernet0/0/1
snmp-server location name
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps config
snmp-server enable traps entity
snmp-server enable traps frame-relay
snmp-server enable traps frame-relay subif
snmp-server enable traps hsrp
snmp-server enable traps syslog
snmp-server enable traps isdn call-information
snmp-server enable traps isdn layer2
snmp-server enable traps isdn chan-not-avail
snmp-server host 10.199.99.xx snmpcommunity
Cisco IOS XE Software, Version 16.06.05
Cisco IOS Software [Everest], ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9_IAS-M), Version 16.6.5, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
06-27-2019 11:35 PM
Hi,
Does zabbix have the mibs for the new router? Can you do an snmp walk from the zabbix
Thanks
John
06-28-2019 12:48 AM
Hello,
I think Zabbix uses UDP port 161, try and add that to your configuration (not sure about the exact syntax for your IOS, it should be something lke below):
snmp-server host 10.199.99.xx snmpcommunity udp-port 161
07-02-2019 10:13 PM - edited 07-02-2019 10:17 PM
this is from my ISR4221 when i do a show snmp
Chassis: FGLxxxxx
Location: xxxxx
180970 SNMP packets input
0 Bad SNMP version errors
57 Unknown community name
180910 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables
178174 Get-request PDUs
0 Get-next PDUs
0 Set-request PDUs
0 Input queue packet drops (Maximum queue size 1000)
181051 SNMP packets output
0 Too big errors (Maximum packet size 1500)
0 No such name errors
0 Bad values errors
0 General errors
180910 Response PDUs
138 Trap PDUs
Packets currently in SNMP process input queue: 0
SNMP global trap: enabled
SNMP logging: enabled
Logging to 10.199.99.xx.162, 0/10, 116 sent, 22 dropped.
RTR1#
this is from a C1941 router
RTR1#sh snmp
Chassis: xxxxxx
Location: xxxxxxx
367473 SNMP packets input
0 Bad SNMP version errors
462 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
10183411 Number of requested variables
0 Number of altered variables
357641 Get-request PDUs
124 Get-next PDUs
0 Set-request PDUs
0 Input queue packet drops (Maximum queue size 1000)
367022 SNMP packets output
490 Too big errors (Maximum packet size 1500)
8 No such name errors
0 Bad values errors
0 General errors
366999 Response PDUs
11 Trap PDUs
SNMP Dispatcher:
queue 0/75 (current/max), 0 dropped
SNMP Engine:
queue 0/1000 (current/max), 0 dropped
0 Unknown Security Models
0 SNMP Invalid Messages
0 SNMP Unknown PDU handlers
0 Unsupported Security Level
12 Unknown User Names
0 Unknown EngineIDs
0 Not In Time Windows
0 Wrong MD5 or SHA Digests
0 Decryption Errors
SNMP logging: enabled
Logging to 10.199.99.xx.162, 0/10, 11 sent, 0 dropped.
RTR1#
07-03-2019 07:05 PM
07-15-2019 10:58 PM
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