- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Email notifications about ServiceGuard events
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2003 10:26 PM
тАО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!
BR,
Mihails
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2003 10:58 PM
тАО10-05-2003 10:58 PM
Re: Email notifications about ServiceGuard events
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2003 12:59 AM
тАО10-06-2003 12:59 AM
Re: Email notifications about ServiceGuard events
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.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2003 01:38 AM
тАО10-06-2003 01:38 AM
Re: Email notifications about ServiceGuard events
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2003 02:12 AM
тАО10-06-2003 02:12 AM
Re: Email notifications about ServiceGuard events
Here is an example of the script I mentioned ...
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2003 06:15 AM
тАО10-06-2003 06:15 AM
SolutionExample of how to code the package control scripts:
---[ snip ]---
function customer_defined_run_cmds
{
# ADD customer defined run commands.
HOSTNAME=`uname -n`
echo "Package starting on $HOSTNAME" \
| elm -s "ACLK PACKAGE STARTING ON $HOSTNAME" yourname@yourco
test_return 51
}
-StephenD.