Merge pull request #1317 from quotengrote/header_ksm
Fix formatting for Munin Plugin Gallery
This commit is contained in:
commit
112ea7d02c
|
@ -8,16 +8,15 @@ proxmox_vm_count - Outputs the running, stopped and total counts of ProxMox VMs
|
||||||
|
|
||||||
=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 AUTHOR
|
=head1 AUTHOR
|
||||||
|
|
||||||
Michael Grote
|
Michael Grote - git.mgrote.net
|
||||||
|
|
||||||
|
|
||||||
=head1 LICENSE
|
=head1 LICENSE
|
||||||
|
|
||||||
|
@ -27,10 +26,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
=head1 MAGIC MARKERS
|
=head1 MAGIC MARKERS
|
||||||
|
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
#%# capabilities=autoconf suggest
|
#%# capabilities=autoconf
|
||||||
|
|
||||||
=cut
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
@ -4,28 +4,29 @@
|
||||||
: << EOF
|
: << EOF
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
mikrotik_system - This plugin fetches multiple Values from a mikrotik device.
|
mikrotik_system - This plugin fetches multiple values from a mikrotik device.
|
||||||
|
|
||||||
|
=head1 NOTES
|
||||||
|
|
||||||
|
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 AUTHOR
|
=head1 AUTHOR
|
||||||
|
|
||||||
Michael Grote
|
Michael Grote - git.mgrote.net
|
||||||
|
|
||||||
=head1 LICENSE
|
=head1 LICENSE
|
||||||
|
|
||||||
|
@ -35,9 +36,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
=head1 MAGIC MARKERS
|
=head1 MAGIC MARKERS
|
||||||
|
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
|
#%# capabilities=autoconf
|
||||||
=cut
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
@ -3,27 +3,25 @@
|
||||||
|
|
||||||
: << EOF
|
: << EOF
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
kernel_same_page_merging - Outputs various metrics about same page merging.
|
|
||||||
|
kernel_same_page_merging - Outputs various metrics about kernel same page merging.
|
||||||
|
|
||||||
=head1 AUTHOR
|
=head1 AUTHOR
|
||||||
=over 4
|
|
||||||
=item * Michael Grote
|
Michael Grote - git.mgrote.net
|
||||||
=back
|
|
||||||
|
|
||||||
=head1 LICENSE
|
=head1 LICENSE
|
||||||
|
|
||||||
GPLv3 or later
|
GPLv3 or later
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
=head1 MAGIC MARKERS
|
=head1 MAGIC MARKERS
|
||||||
=begin comment
|
|
||||||
These magic markers are used by munin-node-configure when installing
|
|
||||||
munin-node.
|
|
||||||
=end comment
|
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
=cut
|
#%# capabilities=autoconf
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
#
|
|
||||||
|
|
||||||
# Variablen
|
# Variablen
|
||||||
ksm_dir_run="/sys/kernel/mm/ksm/run"
|
ksm_dir_run="/sys/kernel/mm/ksm/run"
|
||||||
|
|
|
@ -4,22 +4,22 @@
|
||||||
: << 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 - Outputs various metrics about zswap.
|
||||||
|
|
||||||
=head1 AUTHOR
|
=head1 NOTES
|
||||||
|
|
||||||
Michael Grote
|
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 AUTHOR
|
||||||
|
|
||||||
user root
|
|
||||||
|
|
||||||
|
Michael Grote - git.mgrote.net
|
||||||
|
|
||||||
=head1 LICENSE
|
=head1 LICENSE
|
||||||
|
|
||||||
|
@ -30,11 +30,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
=head1 MAGIC MARKERS
|
=head1 MAGIC MARKERS
|
||||||
|
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
|
|
||||||
#%# capabilities=autoconf
|
#%# capabilities=autoconf
|
||||||
|
|
||||||
=cut
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ zfs_pool_dataset_count - Outputs the count of zfs pools, datasets and snapshots.
|
||||||
|
|
||||||
=head1 AUTHOR
|
=head1 AUTHOR
|
||||||
|
|
||||||
Michael Grote
|
Michael Grote - git.mgrote.net
|
||||||
|
|
||||||
=head1 LICENSE
|
=head1 LICENSE
|
||||||
|
|
||||||
|
@ -18,9 +18,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
=head1 MAGIC MARKERS
|
=head1 MAGIC MARKERS
|
||||||
|
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
|
#%# capabilities=autoconf
|
||||||
=cut
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
@ -8,19 +8,18 @@ zpool_fragmentation - Outputs the zpool fragmentation per zfs pool.
|
||||||
|
|
||||||
=head1 AUTHOR
|
=head1 AUTHOR
|
||||||
|
|
||||||
Michael Grote
|
Michael Grote - git.mgrote.net
|
||||||
|
|
||||||
=head1 LICENSE
|
=head1 LICENSE
|
||||||
|
|
||||||
GPLv3 or later
|
GPLv3 or later
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
=head1 MAGIC MARKERS
|
=head1 MAGIC MARKERS
|
||||||
|
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
|
#%# capabilities=autoconf
|
||||||
=cut
|
|
||||||
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue