Condition for a requirement to use more than one Smarts SAM mail notifier
search cancel

Condition for a requirement to use more than one Smarts SAM mail notifier

book

Article ID: 327648

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

This articles targets to answer the following questions:

  • When would you need more than one Smarts SAM mail notifier
  • How to configure two Smarts SAM mail notifiers

Environment

All Supported Smarts Releases

Resolution

More than one Smarts SAM notifier needs to be configured in envirronments where one notifier sends mail to the normal receipents and second to a gateway.
In this environment, you would need a second Smarts SAM mail notifier.

To support this configuration, do the following:

  1. Create a second instance of mail-notify.conf such as mail-notify2.conf
  2. Configure two mail notifiers in the Smarts /notifier directory (BASEDIR/smarts/conf/notifier). 
  3. In the sm_notify parameters, create a second --conf entry with the following syntax (see Additional Information statement):
    --conf[=<conf_file>
    Example
    --conf=mail-notify2.conf

     
  4. Start two the notifiers with the above --conf parameter for notify2.conf and notify.conf.
    These notifiers must be started manually using the following syntax:
BASEDIR/smarts/bin/sm_notify --output[=<file>]
[<param> ...] <notifier>

Additional Information

Details about Mail Notifier :

The --conf parameter is used by the sm_notify command to start multiple Email Notifier Adapters on a single host. If the --conf parameter is not specified, the notifier uses the default configuration file:

<notifier>-notify.conf in BASEDIR/smarts/conf/notifier