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

mongodb_multi: use perlpod documentation format

This commit is contained in:
Kim B. Heino 2021-03-31 14:45:36 +03:00 committed by Lars Kruse
parent f2f292f192
commit b1251d0c11

View file

@ -1,14 +1,34 @@
#!/usr/bin/python3 -tt
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
# pylint: disable=invalid-name
# pylint: enable=invalid-name
"""Munin plugin to monitor MongoDB status.
Copyright 2016, Kim B. Heino, b@bbbs.net, Foobar Oy
License GPLv2+
=head1 NAME
Based heavily on non-multigraph MongoDB plugin found from github.
mongodb_multi - monitor MongoDB connections, documents, memory and operations
=head1 APPLICABLE SYSTEMS
Systems with MongoDB installed. Tested up to MongoDB version 4.4.
=head1 CONFIGURATION
Defaults to mongodb://localhost, but can be configured:
[mongodb_multi]
env.uri mongodb://user:password@host:port/dbname?parameters
=head1 AUTHOR
Kim B. Heino <b@bbbs.net>
This is based heavily on non-multigraph MongoDB plugins.
=head1 LICENSE
GPLv2
=cut
"""
import os