Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  2. ZBX-5943

Zabbix treats SNMP noSuchName as "host unavailable"


    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • None
    • Server (S)
    • Zabbix 1.8.7, CentOS 6.3 (final), x86_64

      I'm using an older SNMP device which only supports SNMP v1. I have a number of similar devices and I've created a Zabbix template containing a bunch of items which specific OIDs. One device is missing a few OIDs because it has a different number of interfaces/ports/whatever.

      Whenever Zabbix polls this OID, it gets a response from the SNMP server saying "I don't have that OID". Here's a tcpdump from the Zabbix server:

      [will@zabbix2 ~]$ sudo tcpdump -ni eth0 ip host apl2-sensor1
      tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
      listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
      14:02:38.086350 IP >  GetRequest(35)  .
      14:02:38.092946 IP >  GetResponse(40)  .
      14:02:52.809796 IP >  GetRequest(36)  .
      14:02:52.815242 IP >  GetResponse(40)  noSuchName@1 .
      14:02:53.814905 IP >  GetRequest(36)  .

      This response makes Zabbix decide that the host is unreachable, and it stops polling all other OIDs on the system for a while. As soon as it polls an OID which exists, it re-enables the server.

      Here's the corresponding Zabbix server log:

      [will@zabbix2 ~]$ grep '20121204:1402.*apl2-sensor1' /var/log/zabbix/zabbix_server.log
         994:20121204:140224.904 Disabling SNMP host [apl2-sensor1.oak]
         995:20121204:140238.093 Enabling SNMP host [apl2-sensor1.oak]
         979:20121204:140258.842 SNMP Host [apl2-sensor1.oak]: first network error, wait for 15 seconds

      It seems that Zabbix is interpreting the "no such OID" response as "server down". Instead, it should mark that item not supported and continue polling all other times.

            Unassigned Unassigned
            harpo Will Lowe
            0 Vote for this issue
            1 Start watching this issue