diff options
Diffstat (limited to 'modules/private/monitoring/plugins/check_maison_bbc')
-rwxr-xr-x | modules/private/monitoring/plugins/check_maison_bbc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/monitoring/plugins/check_maison_bbc b/modules/private/monitoring/plugins/check_maison_bbc index 43a5817..4a2f799 100755 --- a/modules/private/monitoring/plugins/check_maison_bbc +++ b/modules/private/monitoring/plugins/check_maison_bbc | |||
@@ -6,10 +6,10 @@ | |||
6 | alert=$(date +"%F %H:%M:%S" -d "3 hours ago") | 6 | alert=$(date +"%F %H:%M:%S" -d "3 hours ago") |
7 | res=$(curl https://maison.bbc.bouya.org/stats.php) | 7 | res=$(curl https://maison.bbc.bouya.org/stats.php) |
8 | 8 | ||
9 | ignored_text="th_hr Exterieure th_hr Soufflage" | 9 | ignored_text="Exterieure Soufflage Mezzanine" |
10 | 10 | ||
11 | ignored_bat="^$" | 11 | ignored_bat="^(Temp_Nord|Exterieure|Soufflage|Mezzanine)$" |
12 | ignored="^(th_hr Exterieure|th_hr Soufflage)$" | 12 | ignored="^(th_hr Exterieure|th_hr Soufflage|th_hr Mezzanine)$" |
13 | 13 | ||
14 | missing() { | 14 | missing() { |
15 | echo "to_entries|[.[]|select(.value < \"$alert\" and .key != \"bat\" $1)|.key + \": \" + .value]|join(\" ; \")" | 15 | echo "to_entries|[.[]|select(.value < \"$alert\" and .key != \"bat\" $1)|.key + \": \" + .value]|join(\" ; \")" |