Hello Ciro:

Thanks so much.  Adding a Status command did the trick.

Could I please ask you one more question on this?  I still am not able to 
monitor the ldirectord service launched by Heartbeat.  Since this is launched 
by heartbeat and not as its own service (the /etc/init.d/ldirectord script does 
have a status command) I am not sure how to monitor.

When I enable the mon on this, it throws an error.

Cheers,

David

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ciro Iriarte
Sent: 17 March 2008 18:46
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] Heartbeat Service Monitoring

2008/3/17, David Thompson <[EMAIL PROTECTED]>:
> Hello:
>
>  I have just upgraded from heartbeat1 to heartbeat2 on a set of SuSE 
> Enterprise Linux Servers but have found that if I insert a monitor operation 
> on some of the services I want monitored, it doesn't work.
>
>  The services that heartbeat does monitor properly are those with service 
> scripts written by SuSE (ie.  apache2), but those scripts I have written in 
> /etc/init.d and registered with insserv Monitor keeps restarting because it 
> thinks they are dead.
>
>  Could someone please tell me what exactly it is that heartbeat2 looks at 
> when determining the health of a service?
>
>  Greatly appreciate your help.
>
>  David
>

Scripts in /etc/init.d should have a "status" command, also check your return 
codes for each command..

Ciro
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

________________________________________________________________________

CONFIDENTIALITY - This email and any files transmitted with it, are 
confidential, may be legally privileged and are intended solely for the use of 
the individual or entity to whom they are addressed. If this has come to you in 
error, you must not copy, distribute, disclose or use any of the information it 
contains. Please notify the sender immediately and delete them from your system.

SECURITY - Please be aware that communication by email, by its very nature, is 
not 100% secure and by communicating with Perform Group by email you consent to 
us monitoring and reading any such correspondence.

VIRUSES - Although this email message has been scanned for the presence of 
computer viruses, the sender accepts no liability for any damage sustained as a 
result of a computer virus and it is the recipient�s responsibility to ensure 
that email is virus free.

AUTHORITY - Any views or opinions expressed in this email are solely those of 
the sender and do not necessarily represent those of Perform Group.

COPYRIGHT - Copyright of this email and any attachments belongs to Perform 
Group, Companies House Registration number 6324278.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to