Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
pacemaker
pacemaker-ClusterMon-metadata.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-ClusterMon-metadata.patch of Package pacemaker
commit 02c294df668d575ce3c0b84563baef062beef824 Author: Ken Gaillot <kgaillot@redhat.com> Date: Mon Jul 17 08:49:24 2017 -0500 Low: extra: correct ClusterMon metadata diff --git a/extra/resources/ClusterMon b/extra/resources/ClusterMon index e88a31888..190c65409 100644 --- a/extra/resources/ClusterMon +++ b/extra/resources/ClusterMon @@ -67,10 +67,12 @@ The user we want to run crm_mon as <parameter name="update" unique="0"> <longdesc lang="en"> -How frequently should we update the cluster status +How frequently should we update the cluster status (in milliseconds). +For compatibility with old documentation, values less than 1000 will be treated +as seconds. </longdesc> -<shortdesc lang="en">Update interval</shortdesc> -<content type="integer" default="15" /> +<shortdesc lang="en">Update interval in milliseconds</shortdesc> +<content type="integer" default="15000" /> </parameter> <parameter name="extra_options" unique="0"> @@ -245,7 +247,9 @@ fi : ${OCF_RESKEY_pidfile:="/tmp/ClusterMon_${OCF_RESOURCE_INSTANCE}.pid"} : ${OCF_RESKEY_htmlfile:="/tmp/ClusterMon_${OCF_RESOURCE_INSTANCE}.html"} -OCF_RESKEY_update=`expr $OCF_RESKEY_update / 1000` +if [ ${OSC_RESKEY_update} -ge 1000 ]; then + OCF_RESKEY_update=$(( $OCF_RESKEY_update / 1000 )) +fi CMON_CMD="${HA_SBIN_DIR}/crm_mon -p $OCF_RESKEY_pidfile -d -i $OCF_RESKEY_update $OCF_RESKEY_extra_options -h $OCF_RESKEY_htmlfile"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor