Hi Phil,

On Wed, Apr 27, 2011 at 10:18 AM, Phil Hunt <phil.h...@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

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to