From 389ac9563864b5920948c95cb8735089aa00b205 Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Wed, 25 Mar 2020 20:21:39 +0100 Subject: [PATCH] Added PerlDoc header --- plugins/router/snmp__mikrotik_ram | 51 +++++++++++++++++++------------ 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/plugins/router/snmp__mikrotik_ram b/plugins/router/snmp__mikrotik_ram index 72433f85..ce4949bf 100755 --- a/plugins/router/snmp__mikrotik_ram +++ b/plugins/router/snmp__mikrotik_ram @@ -1,28 +1,41 @@ #!/usr/bin/perl -w -# -# Copyright (C) 2019 Alejandro Suarez (teconecta.es) -# -# Munin plugin to monitor Mikrotik routers RAM utilization. -# Based on snmp__if_ plugin. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; version 2 dated June, -# 1991. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +=head1 NAME + +snmp__mikrotik_flash - Munin plugin to monitor Mikrotik routers RAM utilization. + +=head1 APPLICABLE SYSTEMS + +Mikrotik Routers + +=head1 CONFIGURATION + +As a rule SNMP plugins need site specific configuration. The default +configuration (shown here) will only work on insecure sites/devices. + [snmp_*] + env.version 2 + env.community public + +=head1 MAGIC MARKERS #%# family=snmpauto #%# capabilities=snmpconf +=head1 BUGS + +None known. + +=head1 AUTHOR + +Copyright (C) 2020 Alejandro Suarez (teconecta.es) +Based on snmp__if_ plugin. + +=head1 LICENSE + +GPLv2. + +=cut + use strict; use Net::SNMP;