Skip to content
Snippets Groups Projects
Commit a9bbea07 authored by Dennis Ahrens's avatar Dennis Ahrens
Browse files

Disabled BBB servers should generate a warning in chmk.

parent 7aa51864
No related branches found
No related tags found
No related merge requests found
...@@ -66,6 +66,7 @@ def generateCheckLine(bbb): ...@@ -66,6 +66,7 @@ def generateCheckLine(bbb):
statusline += "Vid:" + bbb["videos"] + "]" statusline += "Vid:" + bbb["videos"] + "]"
if bbb["state"] == "disabled" and bbb["status"] == "online": if bbb["state"] == "disabled" and bbb["status"] == "online":
checkstate = 1
statusline = str(checkstate) + " " + "BBB_" + bbb["hostname"] + " " statusline = str(checkstate) + " " + "BBB_" + bbb["hostname"] + " "
statusline += "numMeetings=" + bbb["meetings"] + "|" statusline += "numMeetings=" + bbb["meetings"] + "|"
statusline += "numAttendees=" + bbb["users"] + "|" statusline += "numAttendees=" + bbb["users"] + "|"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment