08-24-2012 04:34 PM
We a looking for a way to have VCS sends off an e-mail alert when the cluster faults to an admin. Looking at some of the previous solutions, I have come across two possible solutions.
First I need to setup the traps to detect the fault.
https://www-secure.symantec.com/connect/forums/vcs-notifierhanotify
Then I need to create a resource to send an alert.
https://www-secure.symantec.com/connect/forums/alerting-feature-applicationha
Is this correct? I might need help with finding the correct trap status for the fault alert.
Thanks
Solved! Go to Solution.
08-28-2012 12:58 AM
No this is wrong you need to run:
haconf -makerw hares -add ntfr NotifierMngr ClusterService hares -modify ntfr SmtpServer = mailhost hares -modify ntfr SmtpRecipients mike@veritas.com Error hares -modify ntfr Enabled 1 haconf -dump -makero
08-25-2012 01:28 AM
Sort of correct. There are a number of ways to be sent an email:
08-27-2012 03:37 PM
08-28-2012 12:58 AM
No this is wrong you need to run:
haconf -makerw hares -add ntfr NotifierMngr ClusterService hares -modify ntfr SmtpServer = mailhost hares -modify ntfr SmtpRecipients mike@veritas.com Error hares -modify ntfr Enabled 1 haconf -dump -makero
08-28-2012 01:02 AM
Slight mistate in last post and it is not working when I try to edit my post so
hares -modify ntfr SmtpServer = mailhost
should not have equals so should just be:
hares -modify ntfr SmtpServer mailhost
Mike
08-28-2012 10:49 AM
08-28-2012 11:22 AM
See answers below:
SmtpServerVrfyOff
Set this value to 1 if your mail server does not supportSMTP VRFY command. If you set this value to 1, thenotifier does not send a SMTP VRFY request to the mailserver specified in SmtpServer attribute while sendingemails.
hares -modify ntfr SmtpServerVrfyOff 1
Mike
08-28-2012 12:11 PM
08-28-2012 12:25 PM
The message usually get sent with line breaks, so I would guess these is some issue with your email client as for example if you view some UNIX files in notepad, they display on all one line, but display ok in WordPad. You could try saving a message in your email client to disk and then try to open with WordPad to see if this is the issue (although this relies on your email client saving the message properly).
There are no options to specify the format of the email.
Mike
08-28-2012 12:33 PM
Yeah my e-mail client removed the line returns. Thanks for walkingme thorugh this.