mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Improve perlpod formatting for multiple plugins
Escpecially the final marker ("=cut") was missing in these plugins.
This commit is contained in:
parent
743395a605
commit
c6f88968d1
20 changed files with 198 additions and 142 deletions
|
@ -1,20 +1,18 @@
|
|||
#!/usr/bin/env python3
|
||||
"""
|
||||
=head1 NAME
|
||||
MongoDB Replication Lag
|
||||
|
||||
Connects to a single mongo instance and retrieve
|
||||
replication lag for all connected members.
|
||||
mongo_lag - MongoDB Replication Lag
|
||||
|
||||
Connects to a single mongo instance and retrieve replication lag for all connected members.
|
||||
|
||||
=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:
|
||||
|
||||
[mongo_lag]
|
||||
env.host 127.0.0.1
|
||||
|
@ -24,16 +22,23 @@
|
|||
|
||||
=head1 AUTHOR
|
||||
|
||||
Stefan Andersen <stefan@stefanandersen.dk>
|
||||
Updated by Alban Espie-Guillon <alban.espie@alterway.fr>
|
||||
Stefan Andersen <stefan@stefanandersen.dk>
|
||||
|
||||
Updated by Alban Espie-Guillon <alban.espie@alterway.fr>
|
||||
|
||||
=head1 LICENSE
|
||||
The Beer Ware License (Revision 42)
|
||||
<alban.espie@alterway.fr> wrote this file. As long
|
||||
as you retain this notice you can do whatever you want
|
||||
with this stuff. If we meet some day, and you think
|
||||
this stuff is worth it, you can buy me a beer in return.
|
||||
|
||||
The Beer Ware License (Revision 42)
|
||||
<alban.espie@alterway.fr> wrote this file. As long
|
||||
as you retain this notice you can do whatever you want
|
||||
with this stuff. If we meet some day, and you think
|
||||
this stuff is worth it, you can buy me a beer in return.
|
||||
|
||||
SPDX-License-Identifier: Beerware
|
||||
|
||||
=cut
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
import pymongo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue