1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Improve perlpod formatting for multiple plugins

Escpecially the final marker ("=cut") was missing in these plugins.
This commit is contained in:
Lars Kruse 2020-10-06 00:29:38 +02:00
parent 743395a605
commit c6f88968d1
20 changed files with 198 additions and 142 deletions

View file

@ -1,17 +1,16 @@
#!/usr/bin/env python3
"""
=head1 NAME
MongoDB docs Plugin
mongodb_docs - MongoDB docs Plugin
=head1 APPLICABLE SYSTEMS
MongoDB 3.X and 4.X with pymongo installed.
MongoDB 3.X and 4.X with pymongo installed.
=head1 CONFIGURATION
munin-node.conf
defaults for host is 127.0.0.1 and port 27017
and will work without being defined :
Default for host is 127.0.0.1 and port 27017 and will work without being defined:
[mongodb_docs]
env.host 127.0.0.1
@ -20,16 +19,20 @@
env.password P@55w0rd
env.db dbname
or
or
[mongodb_docs]
env.MONGO_DB_URI mongodb://user:password@host:port/dbname
=head1 AUTHOR
Original script there : https://github.com/comerford/mongo-munin
Updated by Alban Espie-Guillon <alban.espie@alterway.fr>
Original script there : https://github.com/comerford/mongo-munin
Updated by Alban Espie-Guillon <alban.espie@alterway.fr>
=cut
"""
import sys
import os
import pymongo