Operating System - HP-UX
1838614 Members
4006 Online
110128 Solutions
New Discussion

Re: Monitor package switch and resources

 
Laszlo Csizmadia
Frequent Advisor

Monitor package switch and resources

Is there a simple and easy way to monitor if a SG package was moved to other node? I want to get an email if it happens.
Is there a tool (part of MissionCritical OS or free) to monitor cluster resources which has some alerting mechanism?
OV could handle all of this but not unfortunately available here.

Thanks in advance,
Laszlo
4 REPLIES 4
melvyn burnard
Honored Contributor

Re: Monitor package switch and resources

You could look at using EMS to monitor this, or use Serviceguard Manager, a free GUI client downloadable from software.hp.com
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Warren_9
Honored Contributor

Re: Monitor package switch and resources

Hi,

you can add the mail command in the package script.

somethings like the followings...

function customer_defined_run_cmds
{
if [ $(hostname) = "[your secondary]" ]
then
mail.....
else
....
fi
}
Laszlo Csizmadia
Frequent Advisor

Re: Monitor package switch and resources

Melvyn,

I wondering if EMS has capabilities to monitor SG packages. I though it can only monitor HW issues.

Warren,
thanks. Good trick to handle this on failover! But if the package not able to start at failover for any reason there will be no alerts. Obviously is better than we have currently - no alerts at all:(
Laszlo Csizmadia
Frequent Advisor

Re: Monitor package switch and resources

EMS HA monitor really do what I'm looking for. Thanks.