Smarts IP: How the SystemRestarted event is enabled and processed
search cancel

Smarts IP: How the SystemRestarted event is enabled and processed

book

Article ID: 332107

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

Below are the steps to enable the SystemRestarted event:

1) In Polling and Thresholds Console that is attached to the IP Availability Manager, click the Thresholds tab >> system resource groups: Switches, Routers, Hubs and Bridges, and Other Systems.



2) To enable the SystemRestarted event for a particular system resource group, click its Connectivity setting, set the EnableGenericOIEvent parameter to ENABLED, accept or modify the value of the MaxUpTimeThreshold parameter,click Apply and reconfigure to save the changes.
Note :- Repeat this process for each system resource group.




3)  Open the tpmgr-param.conf file from IP installation directory using sm_edit utility and Set the EnableSystemRestart parameter to TRUE and accept or modify the values of the OITrapAdapterHost and the OITrapAdapterPort parameters, save the changes and close the file.
<base_dir>/IP/smarts/bin/sm_edit  ../conf/discovery/tpmgr-param.conf
 The modified version of the tpmgr-param.conf file is saved to the <base_dir>/IP/smarts/local/conf/discovery directory.








4) Execute the following command to reload the tpmgr-param.conf file
<base_dir>/IP/smarts/bin/sm_tpmgr -s  <IP manager domain name > --load-conf=tpmgr-param.conf

5) Open the trap_mgr.conf from SAM installation bin using sm_edit utility and uncomment the following trap definition
<base_dir>/SAM/smarts/bin/sm_edit ../conf/icoi/trap_mgr.conf
#System restart traps

BEGIN_TRAP .1.3.6.1.4.1.733 6 13
ClassName: SNMPTrap
 InstanceName: $V1$
 ElementClassName: $V2$
 ElementName: $V1$
 EventName: SystemRestarted
 Severity: 3
 EventText: System Restarted
 Expiration: 600
 State: NOTIFY
 UnknownAgent: CREATE
END_TRAP

BEGIN_TRAP * 0 0
 ClassName: SNMPTrap
 InstanceName: $SYS$
 EventName: SystemRestarted
 Severity: 5
 Expiration: 600
 State: NOTIFY
 EventType: MOMENTARY
END_TRAP

BEGIN_TRAP * 1 0
 ClassName: SNMPTrap
 InstanceName: $SYS$
 EventName: SystemRestarted
 Severity: 5
 Expiration: 600
 State: NOTIFY
 EventType: MOMENTARY
END_TRAP
 

6) Save and close the file.The modified version of the trap_mgr.conf file is saved to the <base_dir>/SAM/smarts/local/conf/icoi directory.



How the SystemRestarted event is enabled and processed

Additional Information

  • The class name and instance name of the system for which the SystemRestarted notification applies are listed in the ElementClassName and ElementName attributes of the notification definition.
  • If the Trap Adapter Platform was running before you edited the trap_mgr.conf file, restart the Trap Adapter Platform