Ad Widget

Collapse

Feature Request: SNMP_OID Variable Expansion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #1

    Feature Request: SNMP_OID Variable Expansion

    Greetings,

    I am in the process of creating monitors for 4 stacks of up to 8 switches per stack, with each switch having up to 50 ports. In the course of creating these monitors, I have found the current SNMP_OID structure to be a bit tedious. At present, when you create an item for SNMP, you create a name, an snmp_oid entry, and a unique key entry, assuming of course that you are cheating like me, otherwise, you have another 8 entries to fill out for each port on the switch.

    What I would like to request is a small feature to alleviate some of this pain. By conventions, keys are made up of a function name and a parameter, ie. The key for monitoring th md5sum is md5sum[S] where S is the file you want to monitor.

    My request is to extend that capability out to include expnasion in the snmp_oid. For example, under this proposal, I could create an snmp_oid of MIB-IF::ifAlias.{D}, then in the key field I put PortName[102]. The 102 would then be expanded to replace the {D} and would then perform the snmp query of MIB-IF::ifAlias.102.

    This would be especially beneficial to people who have mixed networking hardware, such as Cisco and 3Com switches.
    Unofficial Zabbix Developer
Working...