10-05-2003 10:26 PM
I'd like to get email notifications in case of package failover. What is your favourite way to configure it?
Thanks and points in advance for your comments!
Solved! Go to Solution.
10-05-2003 10:58 PM
We have a very simple approach. We add the commands to alert to openview, though "mailx" would work fine in your case to the "customer_defined_run_cmds" and the "customer_defined_halt_cmds" functions in the package control files.
10-06-2003 12:59 AM
You need that EMS HA Monitors product - B5736A.
This is an add-on to the standard Event Monitoring Sysstem (EMS) that's included in the Online Diagnostics bundle.
It cam monitor disk, cluster, network & system resources.
It is not a free product however, but is exactly what you're looking for, I'd say.
10-06-2003 01:38 AM
Write a script that performs a 'cmviewcl -v' and the does a diff on the output comparing known good values.
If there is a change, mail or page the admin.
Put the script in cron every
Of course, simple things like adding a line in package start/stop scripts that mails the admin would work too.
Hope this helps!
10-06-2003 06:15 AM
Example of how to code the package control scripts:
---[ snip ]---
# ADD customer defined run commands.
echo "Package starting on $HOSTNAME" \
| elm -s "ACLK PACKAGE STARTING ON $HOSTNAME" yourname@yourco