We are getting this error: "User does not have DFM.Database.Read privilege on 1" errno="13003" Does anyone know what setting to change on DFM?
OM_USER=snapdrive looks like there is no snapdrive user in DFM? This is supposed to be a user in DFM. Login into DFM and look at your users, If snapdrive user in fact exists then you have permissions problem. Add "Global Full Control" and it should work.
As for email, here is what you would do to get error messages and success messages assuming scServer is running on a unix system:
SENDTRAP=mailx -s %MSG user@domain </dev/null
SUCCESS_TRAP=mailx -s %MSG user@domain </dev/null
Basically you can send %MSG which is the message (either error or success) to anything that excepts CLI input. All you need to do is figure out how to send an email from CLI. For windows you need to download software, I have used sendmail.exe in past but dont remember what I did to get it working. SC does not provide an email client, it provides the ability to run a CLI command that excepts a message as input and that is what SENDTRAP and SUCCESS_TRAP do.
Another idea is set OM_EVENT_GENERATE=Y SC will then send info or error messages to DFM. The message category is script-info or script-error. You could in DFM create alarm to send email whenever a script-info or script-error is recieved.
To configure Global Operations Manager, select Events > Global Operations Manager. The view shows the configured event sources that are forwarding events to this Resource Manager instance, and any event targets to which this Resource Manager instance is forwarding.