To start Smarts NOTIF:

  1. 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
    
  2. 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'
    
  3. 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'
    
  4. Launch the Smarts NOTIF Editor by selecting Start > Programs > InCharge > Smarts NOTIF Editor.

  5. 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.

  6. 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:

  7. Click More in the Connect to a Server dialog box. The Manage Connections dialog box appears where you can add server connections.

  8. Click Add in the Manage Connections dialog box. The Input dialog box appears.

  9. Enter a connection reference name (for example, “Remote Smarts NOTIF OI server”) in the Input dialog box and click OK.

  10. Fill in the new connection record in the right pane of the Manage Connections dialog box.

  11. Click OK to save the connection setup.

    The Remote Server Settings dialog box appears that shows the server's current settings.

  12. 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.

  13. 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.