Operating System - HP-UX
1753666 Members
6200 Online
108799 Solutions
New Discussion юеВ

Serviceguard notification

 
Mark A Bradford
Occasional Advisor

Serviceguard notification

How does Serviceguard notify the system admin that a failover has occurred? Is there a system console message or is there an SNMP/WBEM trap that is sent to HPSIM?

Thanx in advance for your help.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Serviceguard notification

Shalom,

It does not notify anyone by default.

You can write a monitor script that does this and build it into the package. Its the responsibility of the admin to create such things.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
A. Clay Stephenson
Acclaimed Contributor

Re: Serviceguard notification

That is really the role of the package control scripts and they are as powerful or as wimpy as you choose to make them. My approach is rather simple. I simply send a message to OpenView Operations when the package starts up indicating the static hostname that the package is now running on. This does mean that you get this message in the OV/O Message Browser when a package is started normally but you also get them when a packages failsover to another node.
If it ain't broke, I can fix that.
Sp4admin
Trusted Contributor

Re: Serviceguard notification

Hi Mark,

I setup a email address in the package cntl file to send email notifcation when the package is stop or started. make entry for both stop and start.

echo "Starting GEX"
/h/EC/progs/debxctl start

mailx -s "gex_pkg is being started on `hostname` " xxxxxx.xxxxxxx@dla.XXX < /dev/null
Klaas D. Eenkhoorn
Regular Advisor

Re: Serviceguard notification

Mark,

ServiceGuard sends snmp traps , yes.
You can add the SNMP monitoring system to the file /etc/snmpd.conf.
For example ServiceGuard Manager does this if you want to.

Look at this for example:

http://docs.hp.com/en/B8325-90036/ch01s04.html

Klaas.