From 0e5902eae976a88d71a27c7279aba33698627188 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Fri, 13 May 2011 15:24:09 -0700 Subject: fix for 6107. added val_help for correct u32 range. --- templates-cfg/cluster/dead-interval/node.def | 2 ++ templates-cfg/cluster/monitor-dead-interval/node.def | 2 ++ 2 files changed, 4 insertions(+) diff --git a/templates-cfg/cluster/dead-interval/node.def b/templates-cfg/cluster/dead-interval/node.def index d01cd8a..5a89646 100644 --- a/templates-cfg/cluster/dead-interval/node.def +++ b/templates-cfg/cluster/dead-interval/node.def @@ -1,3 +1,5 @@ type: u32 help: Interval after which a node is considered dead after missing heartbeats (milliseconds) +val_help: u32: 1-29999; Interval after which a node is considered dead after missing heartbeats (milliseconds) +syntax:expression: ($VAR(@) >= 1 && $VAR(@) < 30000) ; "Value must be between 1 and 29,999" default: 20000 diff --git a/templates-cfg/cluster/monitor-dead-interval/node.def b/templates-cfg/cluster/monitor-dead-interval/node.def index 6b50574..907c6ff 100644 --- a/templates-cfg/cluster/monitor-dead-interval/node.def +++ b/templates-cfg/cluster/monitor-dead-interval/node.def @@ -1,3 +1,5 @@ type: u32 help: Interval after which a monitor node is considered dead (milliseconds) +val_help: u32: 1-29999; Interval after which a monitor node is considered dead (milliseconds) +syntax:expression: ($VAR(@) >= 1 && $VAR(@) < 30000) ; "Value must be between 1 and 29,999" default: 20000 -- cgit v1.2.3