Receiving an error message when starting a Smarts mail notifier using the --conf= option.
book
Article ID: 327666
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
Trying to start mail notifier using the --conf= option and receiving error
error: GNA-E-EXTRAARGS-Extraneous arguments: '--conf=mail-notify.conf ...' GNA-ETRYHELP-Try 'sm_notify --help' for more information
Environment
VMware Smart Assurance - SMARTS
Cause
The format being used for the command to start the notifier is: BASEDIR/smarts/bin/sm_notify mail --conf=<conf file name>
Resolution
The correct format to use to start the mail notifier using the --conf=<conf file name> option is: BASEDIR/smarts/bin/sm_notify --conf=<conf file name> mail
Additional Information
This is true for all notifiers (mail, trap, file, and script). The type of the notifier should be the last argument passed on the command line as shown in the fix above.