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:
parent
52144bc277
commit
276169a6c9
9 changed files with 360 additions and 146 deletions
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue