1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Update mongodb plugins

* Update mongodb plugins
* fix category
* chmod +x
* flake8-CI
* flake8 adjustments for mongo_collection_ and env python3
This commit is contained in:
Alban 2020-02-13 16:11:16 +01:00 committed by GitHub
parent 52144bc277
commit 276169a6c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 360 additions and 146 deletions

View file

@ -1,6 +1,22 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
=head1 NAME
MongoDB connections Plugin
## GENERATED FILE - DO NOT EDIT
=head1 APPLICABLE SYSTEMS
Works until MongoDB 3.6. The httpinterface was later removed.
=head1 CONFIGURATION
[mongo_lock]
env.MONGO_DB_URI mongodb://user:password@host:port/dbname
=head1 AUTHOR
Original script there : https://github.com/comerford/mongo-munin
Doc added by Alban Espie-Guillon <alban.espie@alterway.fr>
"""
import urllib2
import sys
@ -40,5 +56,3 @@ if __name__ == "__main__":
doConfig()
else:
doData()