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

src/zabbix_server/poller/checks_snmp.c

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Any.

      Description

      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;

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: