To start Smarts NOTIF:
-
Set an environment variable in the BASEDIR directory path to ensure that Java can be successfully started for Smarts NOTIF. In BASEDIR/smarts/local/conf/runcmd_env.sh, add the following line:
SM_JAVA_ENABLED=YES
-
Configure the SNMP Trap Adapter to use the Notif-trap_mgr_parse.asl script instead of the default trap_mgr_parse.asl script so that Smarts NOTIF processes SNMP traps. For example:
./sm_service install --force --unmanaged --startmode=runonce \ '--name=ic-notif-trap' \ '--description=Notif Trap Receiver' \ '/opt/InCharge/SAM/smarts/bin/sm_trapd' \ '--name=NOTIF-TRAP' \ '--server=INCHARGE-OI' \ '--output' \ '--config=icoi' \ '--port=1162' \ '--model=sm_actions' \ '--rules=icoi-trapd/Notif-trap_mgr_parse.asl'
-
Configure the Syslog Adapter to use the Notif-SysLog_mgr.asl script instead of the default SysLog_mgr.asl script in order for Smarts NOTIF to process Cisco system log files.
For example:
./sm_service install --force --unmanaged --startmode=runonce \ '--name=ic-notif-syslog' \ '--description=Notif Syslog Adapter' \ '/opt/InCharge/SAM/smarts/bin/sm_adapter' \ '--name=NOTIF-SYSLOG' \ '--server=INCHARGE-OI' \ '--output' \ '--config=icoi' \ '--port=1162' \ '--model=sm_actions' \ '--model=sm_system'\ '--rules=icoi-syslog/Notif-SysLog_mgr.asl'\ '--tail=/opt/InCharge/SAM/smarts/local/logs/sample.txt'
-
Launch the Smarts NOTIF Editor by selecting Start > Programs > InCharge > Smarts NOTIF Editor.
Note:You can also launch the editor by double-clicking the NotifGui.sh file (for UNIX systems) in the BASEDIR/smarts/notif/editor directory.
-
Use the Smarts NOTIF Editor to connect to the running SAM server or Adapter Platform server. Select Remote > Edit a server's settings in the Smarts NOTIF Editor. The Connect to a Server dialog box appears, showing the list of available Adapter Platform and SAM server connections.
-
Choose a server from the list of available server connections in the Connect to a Server dialog box and click OK.
If server connections are not displayed, perform the following to populate the list of server connections:
-
Click More in the Connect to a Server dialog box. The Manage Connections dialog box appears where you can add server connections.
-
Click Add in the Manage Connections dialog box. The Input dialog box appears.
-
Enter a connection reference name (for example, “Remote Smarts NOTIF OI server”) in the Input dialog box and click OK.
-
Fill in the new connection record in the right pane of the Manage Connections dialog box.
-
Click OK to save the connection setup.
The Remote Server Settings dialog box appears that shows the server's current settings.
-
Select the Activate Smarts NOTIF checkbox, and then click OK.
Note:You can also change other server settings in the Remote Server Settings dialog box if necessary.
-
Restart your SAM server or Adapter Platform server.
Note:Server setting changes made in the Smarts NOTIF Editor Remote Server Settings dialog box are persistent. When you change server settings in the Remote Server Settings dialog box and click OK, the changes are saved to the Notif_Settings.import file that is generated and saved to the BASEDIR/smarts/local/conf/<icoi or ics> directory in the Adapter Platform or SAM server where Smarts NOTIF is running. Server setting changes made in the Smarts NOTIF Editor are preserved even if the repository is deleted. For example, if the repository is erased because you used the --norestore option for server startup, the server uses the last saved settings from the Smarts NOTIF Editor saved in BASEDIR/smarts/local/conf/<icoi or ics>/Notif_Settings.import.
The VMware Smart Assurance Notification Module User Guide includes information on how to use the Smarts NOTIF Editor.