How to set InstanceName to a varbind value in Smarts trap_mgr.conf file.
search cancel

How to set InstanceName to a varbind value in Smarts trap_mgr.conf file.

book

Article ID: 304148

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

How to set InstanceName to a varbind value in Smarts trap_mgr.conf file.



Follow the steps below on setting InstanceName to any varbind value:
  1. Execute the following command from the command line:
    SAM/smarts/bin/sm_edit conf/icoi/trap_mgr.conf
  2. Modify InstanceName to the varbind value.  Instruction on definition of varbind value can be found in SAM InCharge Adapters Guide found on Powerlink
  3. Restart the sm_trapd trap receiver for the changes to take effect
For information on how to change InstanceName if this varbind may or may not exist, refer to Knowledgebase solution 8354 .


Additional Information

The following is an example on setting InstanceName to a Varbind 6 value ($V6$):
 
BEGIN_TRAP * * *
        ClassName:        Host
        InstanceName:     $V6$
        EventName:        GEN-TRAP
        Severity:          1
        Expiration:        60
        State:               NOTIFY
        EventType:       MOMENTARY
        EventText:        $N$ $T$ $A$ $V1$
        UnknownAgent:   CREATE 
END_TRAP