Ad Widget

Collapse

SNMP item with dynamic OID

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbixx
    Member
    • Jul 2012
    • 71

    #1

    SNMP item with dynamic OID

    Hi all,
    im searching for a way to "manage" dynamic OID's
    I have 1 template SANBOX
    there is one item "connUnitId" it contans the specific part of oid.

    if i want to request a temperature of a device over snmp, i need to find out this part of string.

    for exampble :

    host :san1
    template: SANBOX
    group: SANBOX

    host :san2
    template: SANBOX
    group: SANBOX


    now i need to add one specific snmp item for each host (Port status (port 6) )

    The OID for the host san1 is:
    FCMGMT-MIB::connUnitPortHWState.16.0.0.192.168.35.315.151.0.0.0.0.0.0.0.0.6

    The OID for the host san2 is:
    FCMGMT-MIB::connUnitPortHWState.16.0.0.183.1748.39.365.155.0.0.0.0.0.0.0.0.6


    my Template contains already one item calls connUnitId. and this is exatly the part of the OID.
    san1.connUnitId = 16.0.0.192.168.35.315.151.0.0.0.0.0.0.0.0
    san2.connUnitId = 16.0.0.183.1748.39.365.155.0.0.0.0.0.0.0.0

    in the documentation of zabbix i found only one method "index" that appends only the last part (index) to the oid.
    but i need dynamic OID somt. like this (Template SANBOX, item Portstatus6)

    FCMGMT-MIB::connUnitPortHWState.{SANBOX:connUnitId}.6

    PS: i dont want create an external check (its for over 20 devices, and i need the same isue for other checks)

    can somb help my ?
    reg. zabbixx
  • pgsengstock
    Junior Member
    • Mar 2014
    • 2

    #2
    I'm looking to accomplish the same thing. I'm assuming that you have a number of SANboxes that are all part of the same fabric, but you'd like to monitor them separately, yes? Were you ever able to make any headway? Thanks!

    Comment

    • zabbixx
      Member
      • Jul 2012
      • 71

      #3
      Hello pgsengstock,
      we Have here alot of SANBOxes, and I wanted to monitor just one of this Box (separately) but I wanted to template ....

      however I solved it by writing a linuxscript that reads the UI from the sanbox....

      and an other script that uses the first script and read the sensors....

      there are curently no posibilitys to manage dynamic OID's in Zabbix....

      Comment

      Working...