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

src/zabbix_server/poller/checks_snmp.c

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.6
    • None
    • None
    • Any.

      There is bug in hardcoded (which is incorrect approach anyway - to hardcode OID values) OID numeric values in src/zabbix_server/poller/checks_snmp.c

      I'm providing patch to correct this issue:

      — zabbix-1.6.1/src/zabbix_server/poller/checks_snmp.c Tue Nov 4 23:44:59 2008
      +++ zabbix-1.6.1/src/zabbix_server/poller/checks_snmp.c Mon Dec 29 11:11:18 2008
      @@ -783,11 +783,11 @@

      {"ifInDiscards", "1.3.6.1.2.1.2.2.1.13"}

      ,

      {"ifInErrors", "1.3.6.1.2.1.2.2.1.14"}

      ,

      {"ifInUnknownProtos", "1.3.6.1.2.1.2.2.1.15"}

      ,

      • {"ifOutOctets", "1.3.6.1.2.1.2.2.1.17"}

        ,

      • {"ifOutNUcastPkts", "1.3.6.1.2.1.2.2.1.18"}

        ,

      • {"ifOutDiscards", "1.3.6.1.2.1.2.2.1.19"}

        ,

      • {"ifOutErrors", "1.3.6.1.2.1.2.2.1.20"}

        ,

      • {"ifOutQLen", "1.3.6.1.2.1.2.2.1.21"}

        ,
        +

        {"ifOutOctets", "1.3.6.1.2.1.2.2.1.16"}

        ,
        +

        {"ifOutNUcastPkts", "1.3.6.1.2.1.2.2.1.17"}

        ,
        +

        {"ifOutDiscards", "1.3.6.1.2.1.2.2.1.18"}

        ,
        +

        {"ifOutErrors", "1.3.6.1.2.1.2.2.1.19"}

        ,
        +

        {"ifOutQLen", "1.3.6.1.2.1.2.2.1.20"}

        ,

        {NULL}

        };
        int found = 0;

        1. patch-checks_snmp.c
          0.8 kB
          Alexandr Kovalenko

            alexei Alexei Vladishev
            neveripe Alexandr Kovalenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: