notification through email (15 Views)
Frequent Advisor
Posts: 97
Registered: ‎08-02-2001
Message 1 of 6 (15 Views)

notification through email

Hi All,

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


Honored Contributor
Posts: 1,671
Registered: ‎06-29-2000
Message 2 of 6 (15 Views)

Re: notification through email

Hi Adriatico,

Please check this link:
Everything is possible
Honored Contributor
Posts: 1,832
Registered: ‎09-21-2001
Message 3 of 6 (15 Views)

Re: notification through email


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)"


Honored Contributor
Posts: 1,836
Registered: ‎09-26-2000
Message 4 of 6 (15 Views)

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
Posts: 2,712
Registered: ‎04-01-2003
Message 5 of 6 (15 Views)

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
Posts: 1,214
Registered: ‎09-19-2000
Message 6 of 6 (15 Views)

Re: notification through email

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

-Stephen Doud
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.