BugZero updated this defect 58 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
3/22/2024
Smart Assurance - SMARTS
No affected releases provided.
No fixed releases provided.
How do you configure the sm_notify.log of the Smarts SAM Notification Adapter so that the mail notifier will log processed notifications?Smarts SAM Notification Adapter sm_notify.log for mail notifier does not contain any messages about processed notifications
By default the log file for sm_notify process only logs its connect/disconnect events to the domain.
To add additional logging so that the mail notifier process will log processed notifications, you must change to mail-notify.asl script as follows: Open the mail-notify.asl script for editing as follows:./sm_edit rules/notifier/mail/mail-notify.asl Find the mailer-> function to send mail at the very end of the script.Add a print statement below the mailer-> function as follows:68 mailer->sendmail(sender, recipients, subject, body) ? LOG, STOP;69 print(sender."\t".recipients."\t".subject."\t".body."\n"); /*print statement added for logging.*/ Restart the sm_notify service. Notifications processed by the adapter will be written to the log.