From 42b63c48f3a53efbd9e79d7dc41991c92ef0ac4b Mon Sep 17 00:00:00 2001 From: Carlos Cesario Date: Fri, 15 Aug 2014 09:27:18 -0300 Subject: [PATCH] Added license header, remove commas after expressions and change comments format refs #6650 --- itl/plugin-commands-manubulon.conf | 78 +++++++++++++++++++++--------- 1 file changed, 54 insertions(+), 24 deletions(-) diff --git a/itl/plugin-commands-manubulon.conf b/itl/plugin-commands-manubulon.conf index 49d6c26cd..910bf6105 100644 --- a/itl/plugin-commands-manubulon.conf +++ b/itl/plugin-commands-manubulon.conf @@ -1,6 +1,28 @@ -/* main snmp-manubulon template */ +/****************************************************************************** + * Icinga 2 * + * Copyright (C) 2012-2014 Icinga Development Team (http://www.icinga.org) * + * * + * 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; either version 2 * + * of the License, or (at your option) any later version. * + * * + * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ******************************************************************************/ + +/** + * main snmp-manubulon template + */ + template CheckCommand "snmp-manubulon-command" { - import "plugin-check-command", + import "plugin-check-command" arguments = { "-H" = "$snmp_address$" @@ -45,11 +67,13 @@ template CheckCommand "snmp-manubulon-command" { } -/** snmp load - * Url reference: http://nagios.manubulon.com/snmp_load.html - **/ +/** + * snmp load + * Url reference: http://nagios.manubulon.com/snmp_load.html + */ + object CheckCommand "snmp-load" { - import "snmp-manubulon-command", + import "snmp-manubulon-command" command = [ ManubulonPluginDir + "/check_snmp_load.pl" ] @@ -67,14 +91,15 @@ object CheckCommand "snmp-load" { } -/** Memory and swap usage on Linux given by Net-snmp - * Memory usage on cisco routers or Pix - * For other systems use check_snmp_storage.pl - * Url reference: http://nagios.manubulon.com/snmp_mem.html - **/ +/** + * Memory and swap usage on Linux given by Net-snmp + * Memory usage on cisco routers or Pix + * For other systems use check_snmp_storage.pl + * Url reference: http://nagios.manubulon.com/snmp_mem.html + */ object CheckCommand "snmp-memory" { - import "snmp-manubulon-command", + import "snmp-manubulon-command" command = [ ManubulonPluginDir + "/check_snmp_mem.pl" ] @@ -90,11 +115,12 @@ object CheckCommand "snmp-memory" { } -/** snmp storage - Disk/Memory - * Url reference: http://nagios.manubulon.com/snmp_storage.html - **/ +/** + * snmp storage - Disk/Memory + * Url reference: http://nagios.manubulon.com/snmp_storage.html + */ object CheckCommand "snmp-storage" { - import "snmp-manubulon-command", + import "snmp-manubulon-command" command = [ ManubulonPluginDir + "/check_snmp_storage.pl" ] @@ -112,11 +138,13 @@ object CheckCommand "snmp-storage" { } -/** snmp network interfaces - * Url reference: http://nagios.manubulon.com/snmp_int.html - **/ +/** + * snmp network interfaces + * Url reference: http://nagios.manubulon.com/snmp_int.html + */ + object CheckCommand "snmp-interface" { - import "snmp-manubulon-command", + import "snmp-manubulon-command" command = [ ManubulonPluginDir + "/check_snmp_int.pl" ] @@ -146,11 +174,13 @@ object CheckCommand "snmp-interface" { } -/** snmp process - * Url reference: http://nagios.manubulon.com/snmp_process.html - **/ +/** + * snmp process + * Url reference: http://nagios.manubulon.com/snmp_process.html + */ + object CheckCommand "snmp-process" { - import "snmp-manubulon-command", + import "snmp-manubulon-command" command = [ ManubulonPluginDir + "/check_snmp_process.pl" ] -- 2.40.0