Starting
VMware Smart Assurance
NOTIF

When you install the
VMware Smart Assurance Service Assurance Manager
version 9.2,
VMware Smart Assurance
NOTIF is not enabled by default; you must start
VMware Smart Assurance
NOTIF by performing the following steps:
  1. Set an environment variable in the
    BASEDIR
    directory path to ensure that Java can be successfully started for
    VMware Smart Assurance
    NOTIF.
  2. In
    BASEDIR
    /smarts/local/conf/runenv_cmd.sh, add the following line:
    SM_JAVA_ENABLED=YES
  3. If your setup contains SNMPv3 devices, create a seedfile with the device information using the seedfile template in the
    IP Manager
    installation area.
    To use the seedfile template to create a seed file:
  4. Go to the BASEDIR/smarts/bin directory in the
    IP Manager
    installation area and type the following command to open the seedfile template:
    sm_edit conf/seedfile
  5. Press
    Enter
    .
  6. Add the seed entries for the systems to be discovered.
  7. Save and close the file.
  8. 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 for
    VMware Smart Assurance
    NOTIF 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
  9. 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
  10. 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'
  11. Configure the Syslog Adapter to use the Notif-SysLog_mgr.asl script instead of the default SysLog_mgr.asl script in order for
    VMware Smart Assurance
    NOTIF 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
  12. 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'
  13. Launch the
    VMware Smart Assurance
    NOTIF Editor by selecting
    Start
    >
    Programs
    >
    InCharge
    >
    NOTIF Editor
    You can also launch the editor by double-clicking the NotifGui.sh file (for UNIX systems) in the
    BASEDIR
    /smarts/notif/editor directory.
  14. Use the
    VMware Smart Assurance
    NOTIF Editor to connect to the running
    Adapter Platform
    or SAM server. Select
    Remote
    >
    Edit a server's settings…
    in the
    VMware Smart Assurance
    NOTIF Editor.
  15. The
    Connect to a Server
    dialog box appears that shows the list of available
    Adapter Platform
    or SAM server connections, as shown in Connect to a Server dialog box. Choose a server in the
    Connect to a Server
    dialog box and click
    OK
    .
    Manage connections describes how to populate the list of server connections. Clicking
    More...
    in the
    Connect to a Server
    dialog box launches the
    Manage Connections
    dialog box where you can add additional server connections, if desired.
    Connect to a Server dialog box
  16. Type the password to connect to the
    VMware Smart Assurance
    server and click
    OK
    .
    The first time you connect to a given server when you use the
    VMware Smart Assurance
    NOTIF 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 the
    VMware Smart Assurance
    NOTIF Editor, you must type the password again the first time you use a connection.
    Server connection Password dialog box
  17. The
    Remote Server Settings
    dialog box appears that shows the server's current settings as shown in Remote Server Settings dialog box. In the
    Remote Server Settings
    dialog box, select the
    Activate NOTIF
    checkbox, and then click
    OK
    . You can also change other server settings in the
    Remote Server Settings
    dialog box, if desired.
    Edit a server settings provides more information on remote server settings.
    Remote Server Settings dialog box
  18. Restart the
    Adapter Platform
    /SAM server.
    VMware Smart Assurance
    NOTIF is now activated on the
    Adapter 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 the
    BASEDIR
    /smarts/local/conf/<
    icoi
    or
    ics
    > directory in the
    Adapter Platform
    or SAM server where
    VMware Smart Assurance
    NOTIF is running.
    Server setting changes made in the
    VMware Smart Assurance
    NOTIF Editor are preserved even if the repository is deleted. For example, if the repository was erased because you used the
    --norestore
    option for server startup, the server would still use the last saved settings from the
    VMware Smart Assurance
    NOTIF Editor saved in
    BASEDIR
    /smarts/local/conf/<
    icoi or ics
    >/Notif_Settings.import.