Allow comment to specified when disabling a plugin #18

Open
opened 2021-03-28 17:04:09 +02:00 by patrick · 1 comment
Owner

Allow something like this:

# hc --hc=check_linux_burp_status --disable --comment=<text>

The comment should be saved in the state file and displayed with the --check option:

# hc --hc=check_linux_burp_status --check
INFO: *** start of check_health.sh [--hc=check_linux_burp_status --check] ***
INFO: logging takes places in /var/opt/hc/check_health.sh.log
INFO: HC check_linux_burp_status is currently disabled (COMMENT HERE)
INFO: HC check_linux_burp_status is currently scheduled (cron)
INFO: performing cleanup ...
INFO: *** finish of check_health.sh [--hc=check_linux_burp_status --check] ***
Allow something like this: ``` # hc --hc=check_linux_burp_status --disable --comment=<text> ``` The comment should be saved in the state file and displayed with the --check option: ``` # hc --hc=check_linux_burp_status --check INFO: *** start of check_health.sh [--hc=check_linux_burp_status --check] *** INFO: logging takes places in /var/opt/hc/check_health.sh.log INFO: HC check_linux_burp_status is currently disabled (COMMENT HERE) INFO: HC check_linux_burp_status is currently scheduled (cron) INFO: performing cleanup ... INFO: *** finish of check_health.sh [--hc=check_linux_burp_status --check] *** ```
patrick added the
enhancement
label 2021-03-28 17:04:09 +02:00
patrick self-assigned this 2021-03-28 17:04:09 +02:00
Author
Owner

Added in a00d68afde

Added in a00d68afde
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kudos/check_health#18
No description provided.