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

Fixed formatting for all my Plugins

This commit is contained in:
Michael Grote 2022-06-12 22:08:57 +02:00
parent fafb0d9bd6
commit 396c2c2d1f
6 changed files with 77 additions and 75 deletions

View file

@ -4,20 +4,28 @@
: << EOF : << EOF
=head1 NAME =head1 NAME
proxmox_vm_count - Outputs the running, stopped and total counts of ProxMox VMs and LXCs. proxmox_vm_count
=head1 NOTES
Outputs the running, stopped and total counts of ProxMox VMs and LXCs.
=head1 CONFIGURATION =head1 CONFIGURATION
This plugin needs to run as the root user in order to have permission to run lvs and vgs This Plugin has to be run as root:
[proxmox_vm_count] [proxmox_vm_count]
[proxmox_count] user root
user root group root
group root
=head1 MAGIC MARKERS
#%# family=auto
#%# capabilities=autoconf
=head1 AUTHOR =head1 AUTHOR
Michael Grote Michael Grote - git.mgrote.net
=head1 LICENSE =head1 LICENSE
@ -25,13 +33,6 @@ GPLv3 or later
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
=head1 MAGIC MARKERS
#%# family=auto
#%# capabilities=autoconf suggest
=cut
EOF EOF

View file

@ -4,28 +4,33 @@
: << EOF : << EOF
=head1 NAME =head1 NAME
mikrotik_system - This plugin fetches multiple Values from a mikrotik device. mikrotik_system
=head1 NOTES
This plugin fetches multiple values from a mikrotik device. Tested with a RB493G, RB750GR3, RB5009, CRS305 and CRS309 on Router OS >6.49.* and >7.0.4. sshpass is a dependency for this Plugin.
=head1 CONFIGURATION =head1 CONFIGURATION
tested with a RB493G, RB750GR3, RB5009 and CRS309.
Dependencies:
- sshpass
A User is needed for this plugin to work: A User on the Target-Device is needed for this plugin to work:
/user add name=munin group=read password=hallowelt address=<munin-server-ip> /user add name=munin group=read password=hallowelt address=<munin-server-ip>
plugin config: plugin config:
[mt_system_<name>] [mt_system_<name>]
user root user root
env.ssh_user munin env.ssh_user munin
env.ssh_password hallowelt env.ssh_password hallowelt
env.ssh_host 192.168.2.1 env.ssh_host 192.168.2.1
=head1 MAGIC MARKERS
#%# family=auto
=head1 AUTHOR =head1 AUTHOR
Michael Grote Michael Grote - git.mgrote.net
=head1 LICENSE =head1 LICENSE
@ -33,12 +38,6 @@ GPLv3 or later
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
=head1 MAGIC MARKERS
#%# family=auto
=cut
EOF EOF
# set variables with default values # set variables with default values

View file

@ -4,11 +4,20 @@
: << EOF : << EOF
=head1 NAME =head1 NAME
kernel_same_page_merging - Outputs various metrics about same page merging. kernel_same_page_merging
=head1 NOTES
Outputs various metrics about kernel same page merging.
=head1 MAGIC MARKERS
#%# family=auto
#%# capabilities=autoconf
=head1 AUTHOR =head1 AUTHOR
Michael Grote Michael Grote - git.mgrote.net
=head1 LICENSE =head1 LICENSE
@ -16,14 +25,6 @@ GPLv3 or later
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
=head1 MAGIC MARKERS
#%# family=auto
#%# capabilities=autoconf
=cut
EOF EOF
# Variablen # Variablen

View file

@ -4,22 +4,27 @@
: << EOF : << EOF
=head1 NAME =head1 NAME
zswap - Outputs various metrics about [zswap](https://www.kernel.org/doc/html/latest/admin-guide/mm/zswap.html). zswap
=head1 AUTHOR =head1 NOTES
Michael Grote Outputs various metrics about zswap. See https://www.kernel.org/doc/html/latest/admin-guide/mm/zswap.html for more Information.
=head1 Configuration =head1 CONFIGURATION
This Plugin has to be run as root: This Plugin has to be run as root:
/etc/munin/plugin-conf.d/zswap: [zswap]
user root
[zswap] =head1 MAGIC MARKERS
user root #%# family=auto
#%# capabilities=autoconf
=head1 AUTHOR
Michael Grote - git.mgrote.net
=head1 LICENSE =head1 LICENSE
@ -27,14 +32,6 @@ GPLv3 or later
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
=head1 MAGIC MARKERS
#%# family=auto
#%# capabilities=autoconf
=cut
EOF EOF

View file

@ -4,11 +4,19 @@
: << EOF : << EOF
=head1 NAME =head1 NAME
zfs_pool_dataset_count - Outputs the count of zfs pools, datasets and snapshots. zfs_pool_dataset_count
=head1 NOTES
Outputs the count of zfs pools, datasets and snapshots.
=head1 MAGIC MARKERS
#%# family=auto
=head1 AUTHOR =head1 AUTHOR
Michael Grote Michael Grote - git.mgrote.net
=head1 LICENSE =head1 LICENSE
@ -16,12 +24,6 @@ GPLv3 or later
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
=head1 MAGIC MARKERS
#%# family=auto
=cut
EOF EOF
if [ "$1" = "autoconf" ]; then if [ "$1" = "autoconf" ]; then

View file

@ -4,23 +4,25 @@
: << EOF : << EOF
=head1 NAME =head1 NAME
zpool_fragmentation - Outputs the zpool fragmentation per zfs pool. zpool_fragmentation
=head1 AUTHOR =head1 NOTES
Michael Grote Outputs the zpool fragmentation per zfs pool.
=head1 LICENSE
GPLv3 or later
SPDX-License-Identifier: GPL-3.0-or-later
=head1 MAGIC MARKERS =head1 MAGIC MARKERS
#%# family=auto #%# family=auto
=cut =head1 AUTHOR
Michael Grote - git.mgrote.net
=head1 LICENSE
GPLv3 or later
SPDX-License-Identifier: GPL-3.0-or-later
EOF EOF