[Linux-HA] crm_mon will always complain about opening a file with
html mode
=?ISO-2022-JP?B?GyRCQys4fRsoQiAbJEJFVEh+GyhC?=
taniguchis at intellilink.co.jp
Wed Apr 23 19:10:13 MDT 2008
Hi,
There is a discussion about a feature that "crm_mon" displays
the failcount in this list before,
http://www.gossamer-threads.com/lists/linuxha/users/47607
I'm trying to implement it now. It's working.
To start with, I look into the "crm_mon" code.
When crm_mon get executed with html mode,
cl_perror function will be always called and complain about opening a file.
See attached patch.
It is made for Pacemaker-0.6 (fd8904c9bc67).
And if crm_mon actually fails to open a file,
We can see some error messages, but the exit code of crm_mon itself will
be "0" as no error.
It's kind of odd.
Best Regards,
Satomi Taniguchi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crmmon_fileopen_err.patch
Type: text/x-patch
Size: 507 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20080424/2ca53dc6/crmmon_fileopen_err.bin
More information about the Linux-HA
mailing list