Fixed security updates check
This commit is contained in:
parent
1b0cbfb27a
commit
9c1d598f64
@ -215,4 +215,5 @@ COMMAND=echo "Core meltdown!"
|
|||||||
# 1 1 * * * root apt update
|
# 1 1 * * * root apt update
|
||||||
DISABLED=True
|
DISABLED=True
|
||||||
ALARM_STRING_EQUAL=security updates available
|
ALARM_STRING_EQUAL=security updates available
|
||||||
|
REGEXP=.*\n(security updates available)
|
||||||
COMMAND=apt list --upgradable 2>/dev/null | grep -e "-security" && echo "security updates available" || echo "NO security updates available"
|
COMMAND=apt list --upgradable 2>/dev/null | grep -e "-security" && echo "security updates available" || echo "NO security updates available"
|
||||||
|
Loading…
Reference in New Issue
Block a user