]> granicus.if.org Git - icinga2/commitdiff
Added license header, remove commas after expressions and change comments format
authorCarlos Cesario <carloscesario@gmail.com>
Fri, 15 Aug 2014 12:27:18 +0000 (09:27 -0300)
committerMichael Friedrich <michael.friedrich@netways.de>
Wed, 27 Aug 2014 17:57:44 +0000 (19:57 +0200)
refs #6650

itl/plugin-commands-manubulon.conf

index 49d6c26cd693008b1ce19d95455433b8202a812e..910bf61050cda9f8a6fdf50ffa93be4d2841a321 100644 (file)
@@ -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" ]