1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 09:57:09 +00:00

[systemd] Warn on the first failed service

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
Olivier Mehani 2016-10-17 20:08:06 +11:00
parent 160bd2f034
commit 114016b461

View file

@ -59,7 +59,7 @@ for state in $states; do
echo "$state.label $state"
echo "$state.draw AREASTACK"
if [ $state = failed ]; then
echo "$state.warning 1"
echo "$state.warning 0"
echo "$state.critical 10"
fi
done