Ad Widget

Collapse

{#SNMPINDEX} as part of an OID in a discovery rule

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sb195c@att.com
    Member
    • Oct 2017
    • 41

    #1

    {#SNMPINDEX} as part of an OID in a discovery rule

    I'm trying to create a SNMP discovery rule where I need to put the returned {#SNMPINDEX} as part of another OID to discover.

    I'm working on getting some temperature sensors for a Cisco NX-OS device, and also get the warning/critical thresholds for the sensor in the discovery rule.

    .1.3.6.1.2.1.47.1.1.1.1.2.<SNMPINDEX> will give me the sensor name
    .1.3.6.1.4.1.9.9.91.1.2.1.1.4.<SNMPINDEX>.1 - will give me the warning threshold
    .1.3.6.1.4.1.9.9.91.1.2.1.1.4.<SNMPINDEX>.2 - will give me the critical threshold

    If I try to create a discovery OID like this it errors
    discovery[{#SENSORNAME},.1.3.6.1.2.1.47.1.1.1.1.2,{#SENSORWA RNING},.1.3.6.1.4.1.9.9.91.1.2.1.1.4.{#SNMPINDEX}. 1,{#SENSORCRITICAL},.1.3.6.1.4.1.9.9.91.1.2.1.1.4. {#SNMPINDEX}.2]

    Is there another way to do this?

  • sb195c@att.com
    Member
    • Oct 2017
    • 41

    #2
    Ended up just creating a LLD with external script to handle this. I don't think this is something a zabbix LLD will do.

    Comment

    • Colttt
      Senior Member
      Zabbix Certified Specialist
      • Mar 2009
      • 878

      #3
      Hello,

      Nested LLD are currently not supported.
      You can vote/pay for it: https://support.zabbix.com/browse/ZBXNEXT-1527
      Debian-User

      Sorry for my bad english

      Comment

      Working...