diff options
Diffstat (limited to 'scripts/vyatta-monitor-check-rule-log')
| -rw-r--r-- | scripts/vyatta-monitor-check-rule-log | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/vyatta-monitor-check-rule-log b/scripts/vyatta-monitor-check-rule-log deleted file mode 100644 index 5466edc..0000000 --- a/scripts/vyatta-monitor-check-rule-log +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -RULE_PATH=$1 -RULE_NUM=$2 - -if ! cli-shell-api existsActive $RULE_PATH rule $RULE_NUM log; then - echo "Warning: logging is not enabled for rule $RULE_NUM" - echo "For proper monitor operation enable logging before issuing this command:" - echo "set $RULE_PATH rule $RULE_NUM log enable" -fi |
