diff --git a/checkmk/custom-files/plugins/checkbbb.py b/checkmk/custom-files/plugins/checkbbb.py index 95985f84167b1a1427bac9716334d6355ee7957d..64dd1a8d1691a5f40294fa5cad07b56e8e1f0363 100644 --- a/checkmk/custom-files/plugins/checkbbb.py +++ b/checkmk/custom-files/plugins/checkbbb.py @@ -66,6 +66,7 @@ def generateCheckLine(bbb): statusline += "Vid:" + bbb["videos"] + "]" if bbb["state"] == "disabled" and bbb["status"] == "online": + checkstate = 1 statusline = str(checkstate) + " " + "BBB_" + bbb["hostname"] + " " statusline += "numMeetings=" + bbb["meetings"] + "|" statusline += "numAttendees=" + bbb["users"] + "|"