Révision c39639b4
repaired perldoc header: mikrotik_system
| plugins/router/mikrotik_system | ||
|---|---|---|
| 3 | 3 |
|
| 4 | 4 |
: << EOF |
| 5 | 5 |
=head1 NAME |
| 6 |
|
|
| 6 | 7 |
mikrotik_system - This plugin fetches multiple Values from a mikrotik device. |
| 7 | 8 |
|
| 8 | 9 |
=head1 CONFIGURATION |
| 10 |
|
|
| 9 | 11 |
tested with a RB493G, RB750GR3, RB5009 and CRS309. |
| 10 | 12 |
Dependencies: |
| 11 | 13 |
- sshpass |
| 12 | 14 |
|
| 13 | 15 |
A User is needed for this plugin to work: |
| 14 |
/user add name=munin group=read password=hallowelt address=<munin-server-ip> |
|
| 16 |
|
|
| 17 |
/user add name=munin group=read password=hallowelt address=<munin-server-ip> |
|
| 15 | 18 |
|
| 16 | 19 |
plugin config: |
| 17 |
[mt_system_<name>] |
|
| 18 |
user root |
|
| 19 |
env.ssh_user munin |
|
| 20 |
env.ssh_password hallowelt |
|
| 21 |
env.ssh_host 192.168.2.1 |
|
| 20 |
[mt_system_<name>]
|
|
| 21 |
user root
|
|
| 22 |
env.ssh_user munin
|
|
| 23 |
env.ssh_password hallowelt
|
|
| 24 |
env.ssh_host 192.168.2.1
|
|
| 22 | 25 |
|
| 23 | 26 |
=head1 AUTHOR |
| 24 |
=over 4 |
|
| 25 |
=item * Michael Grote |
|
| 26 |
=back |
|
| 27 |
|
|
| 28 |
Michael Grote |
|
| 27 | 29 |
|
| 28 | 30 |
=head1 LICENSE |
| 31 |
|
|
| 29 | 32 |
GPLv3 or later |
| 30 | 33 |
|
| 31 | 34 |
SPDX-License-Identifier: GPL-3.0-or-later |
| 32 | 35 |
|
| 33 | 36 |
=head1 MAGIC MARKERS |
| 34 |
=begin comment |
|
| 35 |
These magic markers are used by munin-node-configure when installing |
|
| 36 |
munin-node. |
|
| 37 |
=end comment |
|
| 38 |
#%# family=auto |
|
| 37 |
|
|
| 38 |
#%# family=auto |
|
| 39 |
|
|
| 39 | 40 |
=cut |
| 41 |
|
|
| 40 | 42 |
EOF |
| 41 | 43 |
|
| 42 | 44 |
# set variables with default values |
Formats disponibles : Unified diff