Skip to content
Snippets Groups Projects
Commit f83ae6fe authored by Jörg Sachse's avatar Jörg Sachse
Browse files

feat: add Check_MK plugin to monitor SubApp Quarantine levels

parent 2471240c
Branches
No related tags found
1 merge request!2merge feat_ND-2363_ND-2323 into master
Pipeline #3370 passed
...@@ -18,4 +18,5 @@ ...@@ -18,4 +18,5 @@
group: "root" group: "root"
mode: "0750" mode: "0750"
loop: loop:
- "check_subapp_quarantine.sh"
- "check_subapp_ws_status.sh" - "check_subapp_ws_status.sh"
#!/usr/bin/env bash
WARN_THRESHOLD=10
ERROR_THRESHOLD=50
QUARANTINE="$( ls /home/{{ vault_subapp_user }}/.subapp/quarantine/ | wc -l )"
# Status Servicename Metriken Details
echo "P \"SubApp SIPs Quarantine\" quara=${QUARANTINE};${WARN_THRESHOLD};${ERROR_THRESHOLD} ${QUARANTINE} SIPs in Quarantine on ${HOSTNAME}."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment