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:
parent
f2f292f192
commit
b1251d0c11
1 changed files with 25 additions and 5 deletions
|
@ -1,14 +1,34 @@
|
||||||
#!/usr/bin/python3 -tt
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
# pylint: enable=invalid-name
|
# pylint: enable=invalid-name
|
||||||
|
|
||||||
"""Munin plugin to monitor MongoDB status.
|
"""Munin plugin to monitor MongoDB status.
|
||||||
|
|
||||||
Copyright 2016, Kim B. Heino, b@bbbs.net, Foobar Oy
|
=head1 NAME
|
||||||
License GPLv2+
|
|
||||||
|
|
||||||
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
|
import os
|
Loading…
Add table
Add a link
Reference in a new issue