StartingVMware Smart Assurance NOTIF
VMware Smart Assurance
NOTIFWhen you install the
VMware Smart Assurance Service Assurance Manager
version 9.2,VMware Smart Assurance
NOTIF is not enabled by default; you must startVMware Smart Assurance
NOTIF by performing the following steps: - Set an environment variable in theBASEDIRdirectory path to ensure that Java can be successfully started forVMware Smart AssuranceNOTIF.
- InBASEDIR/smarts/local/conf/runenv_cmd.sh, add the following line:SM_JAVA_ENABLED=YES
- If your setup contains SNMPv3 devices, create a seedfile with the device information using the seedfile template in theIP Managerinstallation area.To use the seedfile template to create a seed file:
- Go to the BASEDIR/smarts/bin directory in theIP Managerinstallation area and type the following command to open the seedfile template:sm_edit conf/seedfile
- PressEnter.
- Add the seed entries for the systems to be discovered.
- Save and close the file.
- Configure the SNMP Trap Adapter to use the Notif-trap_mgr_parse.asl script instead of the default trap_mgr_parse.asl script in order forVMware Smart AssuranceNOTIF to process SNMP traps.For example:./sm_trapd --name=TRAP-OI --server=INCHARGE-OI --config=icoi --port=9013 --model=sm_actions --output --rules=icoi-trapd/Notif-trap_mgr_parse.asl --daemon
- To process SNMPv3 traps, use the --seed option when starting the SNMP Trap Adapter to point to the seed file you have created, as mentioned in step 2 .For example:./sm_trapd -n TRAP-INCHARGE-OI --server=INCHARGE-OI --config=icoi --port=162 --model=sm_actions --seed=C:\InCharge\SAM\smarts\local\conf\icoi\seedfile --rules=icoi-trapd\trap_mgr_parse.asl --traceSNMP --output
- Configure the Notif Trap Receiver as a service to automatically the SNMP Trap Adapter on system restart.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 forVMware Smart AssuranceNOTIF to process Cisco system log files.For example:./sm_adapter.exe --NTsErViCeNaMe=ic-syslog-adapter --name=SYSLOG-OI --server=INCHARGE-OI --tail=/var/log/syslog --model=sm_system --model=sm_actions --output icoi-syslog/Notif-SysLog_mgr.asl
- Configure the Notif Syslog Adapter as a service to automatically the Syslog Adapter on system restart.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'\ '--tail=/opt/InCharge/SAM/smarts/local/logs/sample.txt'\ 'icoi-syslog/Notif-SysLog_mgr.asl'
- Launch theVMware Smart AssuranceNOTIF Editor by selectingStart>Programs>InCharge>NOTIF EditorYou can also launch the editor by double-clicking the NotifGui.sh file (for UNIX systems) in theBASEDIR/smarts/notif/editor directory.
- Use theVMware Smart AssuranceNOTIF Editor to connect to the runningAdapter Platformor SAM server. SelectRemote>Edit a server's settings…in theVMware Smart AssuranceNOTIF Editor.
- TheConnect to a Serverdialog box appears that shows the list of availableAdapter Platformor SAM server connections, as shown in Connect to a Server dialog box. Choose a server in theConnect to a Serverdialog box and clickOK.Manage connections describes how to populate the list of server connections. ClickingMore...in theConnect to a Serverdialog box launches theManage Connectionsdialog box where you can add additional server connections, if desired.Connect to a Server dialog box

- Type the password to connect to theVMware Smart Assuranceserver and clickOK.The first time you connect to a given server when you use theVMware Smart AssuranceNOTIF Editor during a given work session, you will be prompted for a password. After that, you are not prompted for a password on that server for the remainder of your work session. If you restart theVMware Smart AssuranceNOTIF Editor, you must type the password again the first time you use a connection.Server connection Password dialog box

- TheRemote Server Settingsdialog box appears that shows the server's current settings as shown in Remote Server Settings dialog box. In theRemote Server Settingsdialog box, select theActivate NOTIFcheckbox, and then clickOK. You can also change other server settings in theRemote Server Settingsdialog box, if desired.Edit a server settings provides more information on remote server settings.Remote Server Settings dialog box

- Restart theAdapter Platform/SAM server.VMware Smart AssuranceNOTIF is now activated on theAdapter Platform/SAM server.Server setting changes made in the 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 theBASEDIR/smarts/local/conf/<icoiorics> directory in theAdapter Platformor SAM server whereVMware Smart AssuranceNOTIF is running.Server setting changes made in theVMware Smart AssuranceNOTIF Editor are preserved even if the repository is deleted. For example, if the repository was erased because you used the--norestoreoption for server startup, the server would still use the last saved settings from theVMware Smart AssuranceNOTIF Editor saved inBASEDIR/smarts/local/conf/<icoi or ics>/Notif_Settings.import.