[Pacemaker] crm_mon doesn't seem to run daemonized upon interval

mark - pacemaker list m+pacemaker at nerdish.us
Wed Apr 27 11:53:58 EDT 2011


Hi Phil,

On Wed, Apr 27, 2011 at 10:18 AM, Phil Hunt <Phil.Hunt at orionhealth.com> wrote:
>
> Using ocf:heartbeat:clustermon starts up a daemonized crm_mon with the follwing command:
>
> /usr/sbin/crm_mon -p /tmp/ClusterMon_ClusterMon.pid -d -i 15 -h /data/apache/www/html/crm_mon.html
>
> And it does, indeed write my crm_mon.html file.  It does not seem to run on the interval at all.  It runs one time and then just sits.  If I do a 'crm resource restart ClusterMon', it does run and update the crm_mon.html file, so it looks like interval is broken?


Your crm_mon.html file will only get re-written if your cluster has
changed, at least that's my experience here with it.  It doesn't
re-write the file with each interval.  Migrate a resource around and
see if your output file's content changes to reflect the changes.

Regards,
Mark




More information about the Pacemaker mailing list