Projet

Général

Profil

Révision e9d20f63

IDe9d20f6330224f502bd2ff71724d903e72abbfe6
Parent e1bc7ad6
Enfant 389ac956

Ajouté par Alejandro Suarez il y a plus de 5 ans

Added PerlDoc header

Voir les différences:

plugins/router/snmp__mikrotik_flash
1 1
#!/usr/bin/perl -w
2
#
3
# Copyright (C) 2019 Alejandro Suarez (teconecta.es)
4
#
5
# Munin plugin to monitor Mikrotik routers Falsh disk utilization.
6
# Based on snmp__if_  plugin.
7
#
8
# This program is free software; you can redistribute it and/or
9
# modify it under the terms of the GNU General Public License
10
# as published by the Free Software Foundation; version 2 dated June,
11
# 1991.
12
#
13
# This program is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
# GNU General Public License for more details.
17
#
18
# You should have received a copy of the GNU General Public License
19
# along with this program; if not, write to the Free Software
20
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 2

  
3
=head1 NAME
4

  
5
snmp__mikrotik_flash - Munin plugin to monitor Mikrotik routers Falsh disk utilization.
6

  
7
=head1 APPLICABLE SYSTEMS
8

  
9
Mikrotik Routers
10

  
11
=head1 CONFIGURATION
12

  
13
As a rule SNMP plugins need site specific configuration.  The default
14
configuration (shown here) will only work on insecure sites/devices.
15
   [snmp_*]
16
        env.version 2
17
        env.community public
18

  
19
=head1 MAGIC MARKERS
22 20

  
23 21
#%# family=snmpauto
24 22
#%# capabilities=snmpconf
25 23

  
24
=head1 BUGS
25

  
26
None known.
27

  
28
=head1 AUTHOR
29

  
30
Copyright (C) 2020 Alejandro Suarez (teconecta.es)
31
Based on snmp__if_  plugin.
32

  
33
=head1 LICENSE
34

  
35
GPLv2.
36

  
37
=cut
38

  
26 39
use strict;
27 40
use Net::SNMP;
28 41

  

Formats disponibles : Unified diff