src/zabbix_server/poller/checks_snmp.c

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: 1.6
    • Component/s: None
    • None
    • Environment:
      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;

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

              Created:
              Updated:
              Resolved: