Ad Widget

Collapse

SNMP Interface Discovery Not Working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rrm74001
    Junior Member
    • Nov 2012
    • 9

    #1

    SNMP Interface Discovery Not Working

    I can't seem to get SNMP interface discovery working on a network device (from Template SNMP Interfaces). Error in zabbix_server:

    Code:
    1117:20150820:141053.147 SNMP agent item "ifDescr" on host "host" failed: first network error, wait for 15 seconds
    1121:20150820:141108.770 resuming SNMP agent checks on host "host": connection restored
    From the same server, I am able to get a response no problem outside of Zabbix, using both snmpwalk and snmpbulkwalk.

    Code:
    [root@host /]# snmpwalk -v 2c -c public 10.10.10.10 IF-MIB::ifDescr
    IF-MIB::ifDescr.1 = STRING: mgmt
    IF-MIB::ifDescr.2 = STRING: ethernet1/1
    IF-MIB::ifDescr.3 = STRING: ethernet1/2
    IF-MIB::ifDescr.4 = STRING: ethernet1/3
    Code:
    [root@host /]# snmpbulkwalk -v 2c -c public 10.10.10.10 IF-MIB::ifDescr
    IF-MIB::ifDescr.1 = STRING: mgmt
    IF-MIB::ifDescr.2 = STRING: ethernet1/1
    IF-MIB::ifDescr.3 = STRING: ethernet1/2
    IF-MIB::ifDescr.4 = STRING: ethernet1/3
    Any ideas?
  • rrm74001
    Junior Member
    • Nov 2012
    • 9

    #2
    It's a built-in template. I can't be the only one...

    Comment

    • Linwood
      Senior Member
      • Dec 2013
      • 398

      #3
      Perhaps somehow in the template or macros you are using a different community string?

      You might put on debug=4 (it may be worth disabling a lot of other things to minimize output) and see whether there are other clues in the log.

      I think you are getting no answers because generally this works.

      Comment

      • teskistajer
        Junior Member
        • Sep 2015
        • 19

        #4
        did you install them;

        sudo apt-get install snmp
        sudo apt-get install snmp-mibs-downloader

        i did setup zabbix same problem i couldnt get discovery while with green snmp then i found i needed to install those.

        Comment

        Working...