Ad Widget

Collapse

SNMP Dynamic Indexes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jcarvalho
    Junior Member
    • Jan 2016
    • 3

    #1

    SNMP Dynamic Indexes

    Hi,
    I've just used a Discovery Rule to get registered AP's from an AP Controller. This worked great and it automaticly created the APs as Hosts throw a Host Prototype.

    Now I'm creating a Template to apply to these AP Hosts. The problem is that the OID's append and Index for every AP in the controller.

    Example:
    apDesc (OID: .1.3.6.1.4.1.4329.15.3.5.1.2.1.3)

    apDesc.1 = "desc 1"
    apDesc.2 = "desc 2"
    apDesc.3 = "desc3"

    So I need to append the index to the OID. How can I do that? I've tied using something like in the documentation:

    ifInOctets["index","ifDescr","GigabitEthernet0/1"]

    But without success.

    Thanks
    JP
  • jcarvalho
    Junior Member
    • Jan 2016
    • 3

    #2
    Anyone?? I'm realy stuck with this.........

    Comment

    • jcarvalho
      Junior Member
      • Jan 2016
      • 3

      #3
      So I finally got it working:

      .1.3.6.1.4.1.4329.15.3.5.1.2.1.14["index", ".1.3.6.1.4.1.4329.15.3.5.1.2.1.2", "STRING"]

      The problem know is that I need to pass the {HOST.NAME}, to get the index of that HOST, and retrieve the rest of the info I need.

      From what i have read, MACROS are not supported in OID.

      Does someone have a workaround for this??

      Comment

      Working...