DX Infrastructure Manager

Expand all | Collapse all

Extension script via VAIM for hardware monitoring

Jump to Best Answer
  • 1.  Extension script via VAIM for hardware monitoring

    Posted 09-11-2015 01:01 PM



    I would like to know how to create custom extension script to create hardware watchers like below

    Any one clear example of extension script or query another MIB like dell will be good.

    I don't find anything in user guide similar to what I am trying to do.


    Power Supply instance 1 ;3 = OK

    Voltage instance 1 ;3 = OK

    Cooling instance 1 ;3 = OK

    Temperature instance 1 ;3 = OK

    Memory instance 1 ;3 = OK

    Chassis Intr. instance 1 ;3 = OK

    HW LOG status instance 1 ;3 = OK

    Processor instance 50.1 ;3 = OK

    CMOS battery instance 52.1 ;3 = OK

    RAID CONTR CH0 Instance ;3 = OK

    RAID CONTR CH1 Instance ;3 = OK

    RAID CONTR CH2 Instance ;3 = OK

    RAID CONTR CH3 Instance ;3 = OK

    Raid Battery0 Instance ;1 = OK

    Raid Battery1 Instance ;1 = OK



  • 2.  Re: Extension script via VAIM for hardware monitoring
    Best Answer

    Broadcom Employee
    Posted 09-14-2015 01:30 PM


    A couple of things to keep in mind.

    An extension can only monitor 1 thing or return 1 value.

    In its simplest form this should work as a snmpget extension,

    $pname = "c:\program files\ca\systemedge\bin\snmpget.exe"

    $VarName = $(&$pname -p 1691 -c YourCommunity -o"` ")[-1]

    echo $VarName


    $pname identifies where sysedge is installed (update to your standard location).

    $varname is the variable you want set. -o Set the oid like (for power supply).

    You can obviously make this more nested by passing a variable for the VAIM extensions so its all handled by 1 script please let me know if you wish to discuss that further.

    But either you would have to nest the script to read the input variable OR you would have to have individual scripts similar to above for each attribute you want to monitor.


    The echo $VarName basically should return this to sysedge as the value to be stored.


    You can also use VAIM to push down custom data, by storing it in programdata as in the below tech doc,



    Please let me know if you need more assistance on this topic.