[Pacemaker] LSB openswan script monitor problems

Andrew Beekhof andrew at beekhof.net
Tue Feb 4 22:06:02 EST 2014


On 3 Feb 2014, at 11:34 pm, Frank Brendel <Frank.Brendel at eurolog.com> wrote:

> As far as I know, Pacemaker does not parse STDOUT but it keeps STDERR 
> for logging.
> Experts correct me if I am wrong.

You are correct

[snip]

>> Does nobody have an idea? I checked this link:
>> 
>> http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Pacemaker_Explained/ap-lsb.html 
>> 
>> 
>> This doesn't seem to have anything to do with what pacemaker is 
>> actually checking the status result against though.

$? holds the return code from the command you just ran.
This is the value pacemaker is looking for
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140205/93962572/attachment-0003.sig>


More information about the Pacemaker mailing list