2010-05-12 09:07 AM
I have a customer asking the following:
I can set up disk thresholds so that when a user exceeds their threshold, they will get an email notification. However, three days later when their disk space is still over the threshold I have no way of knowing if the email was sent. Is there a log file somewhere that will show the email was sent to the user? If not, do I have a way of being notified X days after a threshold has gone unresolved?
Is there anyone that can answer this?
2010-05-12 10:01 AM
Is there a log file somewhere that will show the email was sent to the user?
Yes.You will find a log file named alert.log under /opt/NTAPdfm/log, if installed with default location else under <installdir>/NTAPdfm/log
The contents will be like this.
May 12 14:23:38 [dfmeventd: INFO]: [3364:0x6ffabb0]: alarm 1, event 83148, Aggregate Full on aggr0: sending email alert to firstname.lastname@example.org. took 2 seconds
alarm 1 is the alarm id.
event 83148 is the event id
Aggregate Full is the event name.
aggr0 is the object name.
email@example.com is the email address set in the alarm.
If not, do I have a way of being notified X days after a threshold has gone unresolved?
Yes.Did you try setting up a repeat notification ?
[root@lnx]# dfm alarm create help
create -- create a new alarm, triggered by particular events specified by the options
dfm alarm create [ -E <email-to-addresses> ] [ -F <page-to-addresses> ]
[ -C <event-class> ] [ -A <admin-login-name> ]
[ -P <page-to-admin> ] [ -T <trap-to> ] [ -s <script> ]
[ -u <alarmScriptRunAs> ] [ -g <group> ] [ -h <event-name> ]
[ -l <time-from> ] [ -m <time-to> ] [ -v <event-severity> ]
[ -r <repeat-notify> ] [ -i <repeat-interval> ]
[ -b <disabled> ]
where -r <repeat-notify> as yes
and -i <repeat-interval> as the time after which if the condition of the event still persist send another alarm.
This can also be done from the webui by going Control Center->Setup->Alarm Advanced Version.