Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-4935

Substitute SNMP_NOSUCHOBJECT|SNMP_NOSUCHINSTANCE with a value

    Details

    • Type: Change Request
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.0.2
    • Fix Version/s: None
    • Component/s: Proxy (P), Server (S)
    • Labels:

      Description

      With some snmp tables, instead of setting a field to some equivalent of 'down', the entire row is removed.

      Some examples of this:

      OSPF neighbor state: OSPF-MIB::ospfNbrState
      ISIS neighbor state: ISIS-MIB::isisISAdjState

      When polling such an OID the host returns either SNMP_NOSUCHOBJECT or SNMP_NOSUCHINSTANCE. The item becomes "not supported" and it is rather difficult to write a trigger for it.

      In most cases I've encountered there is a value defined for 'down', so it would be great is you could use that value and ignore the SNMP_NOSUCH* error.

      I have a patch that does this by extending the OID syntax. Can't attach it to this issue: "JIRA could not attach the file as there was a missing token. Please try attaching the file again."

      For static OIDs you can append an equal-sign '=' and the value you want to use

      For dynamic OIDs an optional forth parameter is used as the value to used in case of SNMP_NOSUCH*

        Attachments

          Activity

            People

            • Assignee:
              wiper Andris Zeila
              Reporter:
              jodocus Joost Bekkers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: