-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added bigbluebutton plugin #1161
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, thanks!
Please take a look at my two nitpicks below. But you may feel free to ignore them - the plugin is fine, as it is now ...
try: | ||
tree = ElementTree.fromstring(responsedata) | ||
except HTTPError as e: | ||
print('There was an error with the recieved data from bbb api.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you could add file=sys.stderr
. Otherwise munin would try to parse the mess.
import os | ||
from xml.etree import ElementTree | ||
|
||
bbbconf_path = "/usr/bin/bbb-conf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to provide a fancy interface, you could take this path from the environment (e.g. bbbconf_path = os.getenv("BBBCONF_BIN", "/usr/bin/bbb-conf")
) and describe this in the Configuration section.
Stale pull request message |
What do you think? |
This is a new plugin to monitor the usage (user, meeting rooms ...) of a bigbluebutton server.