Ad Widget

Collapse

Looking for assistance with getting SNMP Discovery rules to work.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mickey4691
    Junior Member
    • Feb 2022
    • 4

    #1

    Looking for assistance with getting SNMP Discovery rules to work.

    Backstory
    I am working with a Processor that can support 10 Program Slots and it reports the program info via SNMP as below

    1.3.6.1.4.1.3212.7.2.3.2.7.1.{#ObjectIdentifier}.{ #ProgramSlotNumber}

    Example:
    Program Info for Slot 1
    1.3.6.1.4.1.3212.7.2.3.2.7.1.5.1 -> OctetString: test1.smw
    1.3.6.1.4.1.3212.7.2.3.2.7.1.7.1 -> Integer: 3

    Program Info for Slot 2
    1.3.6.1.4.1.3212.7.2.3.2.7.1.5.2 -> OctetString: <blank>
    1.3.6.1.4.1.3212.7.2.3.2.7.1.7.2 -> Integer: 0

    Any assistance on how I can add a discovery rule to automatically poll alll the slots without create an item for each? Ready why I started with this is because I plan on creating some for switches which will pretty much be in the same boat.

    I started something but I know it is not working. I created a Discovery Rule with the following
    Name: Program
    Type: SNMP agent
    Key: crestronProgAllObjects
    SNMP OID: discovery[{#SNMPVALUE}, 1.3.6.1.4.1.3212.7.2.3.2.7.1.{#ObjectIdentifier}.{ #ProgramSlotNumber}]

    Then I created two item prototypes, one called "Filename" and the other called "Program Slot".

    Here are the settings for Filename
    Name: Filename
    Type: SNMP agent
    Key: crestronProgFilenameNo
    SNMP OID: 1.3.6.1.4.1.3212.7.2.3.2.7.1.{#SNMPINDEX}.{#Progra mSlotNumber}

    Here are the settings for Program Slot
    Name: Filename
    Type: SNMP agent
    Key: crestronProgSlotNo
    SNMP OID: 1.3.6.1.4.1.3212.7.2.3.2.7.1.{#SNMPINDEX}
Working...