Showing results for 
Search instead for 
Do you mean 

notification through email

Frequent Advisor

notification through email

Hi All,

Is it possible on the M/C Service Guard to notify through email if there is fail over happened?

Thanks.

5 REPLIES
Honored Contributor [Founder]

Re: notification through email

Hi Adriatico,

Please check this link:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=228902
Everything is possible
Honored Contributor [Founder]

Re: notification through email

Hi,

What you can do i write a script. The script must monitor the syslog file ( tail -f ) and send an e-mail when a package stops/starts. You can also add a line in the costumer_defined_run_cmds and halt_cmds. mailx -s "package starts at $(date)" @email@domain.com

HTH,

Gideon
Honored Contributor [Founder]

Re: notification through email

You can enter a command like "mailx" in the user_defined_run_commands or user_defined_stop_commands portion of a standard service guard package.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Honored Contributor [Founder]

Re: notification through email

Absolutely, see above messages. However, is not reccommended to alert anything by e-mail even though we all do it.
Never preceed any demonstration with anything more predictive than "watch this"
Honored Contributor [Founder]

Re: notification through email

Check this document in the ITRC:
Doc. ID: UXSGKBQA00000051
TITLE: Serviceguard email and alert paging from packages

-Stephen Doud