Added license header, remove commas after expressions and change comments format

refs #6650
This commit is contained in:
Carlos Cesario 2014-08-15 09:27:18 -03:00 committed by Michael Friedrich
parent fe6dc00a85
commit 42b63c48f3

View 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" { template CheckCommand "snmp-manubulon-command" {
import "plugin-check-command", import "plugin-check-command"
arguments = { arguments = {
"-H" = "$snmp_address$" "-H" = "$snmp_address$"
@ -45,11 +67,13 @@ template CheckCommand "snmp-manubulon-command" {
} }
/** snmp load /**
* snmp load
* Url reference: http://nagios.manubulon.com/snmp_load.html * Url reference: http://nagios.manubulon.com/snmp_load.html
**/ */
object CheckCommand "snmp-load" { object CheckCommand "snmp-load" {
import "snmp-manubulon-command", import "snmp-manubulon-command"
command = [ ManubulonPluginDir + "/check_snmp_load.pl" ] 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 and swap usage on Linux given by Net-snmp
* Memory usage on cisco routers or Pix * Memory usage on cisco routers or Pix
* For other systems use check_snmp_storage.pl * For other systems use check_snmp_storage.pl
* Url reference: http://nagios.manubulon.com/snmp_mem.html * Url reference: http://nagios.manubulon.com/snmp_mem.html
**/ */
object CheckCommand "snmp-memory" { object CheckCommand "snmp-memory" {
import "snmp-manubulon-command", import "snmp-manubulon-command"
command = [ ManubulonPluginDir + "/check_snmp_mem.pl" ] command = [ ManubulonPluginDir + "/check_snmp_mem.pl" ]
@ -90,11 +115,12 @@ object CheckCommand "snmp-memory" {
} }
/** snmp storage - Disk/Memory /**
* snmp storage - Disk/Memory
* Url reference: http://nagios.manubulon.com/snmp_storage.html * Url reference: http://nagios.manubulon.com/snmp_storage.html
**/ */
object CheckCommand "snmp-storage" { object CheckCommand "snmp-storage" {
import "snmp-manubulon-command", import "snmp-manubulon-command"
command = [ ManubulonPluginDir + "/check_snmp_storage.pl" ] command = [ ManubulonPluginDir + "/check_snmp_storage.pl" ]
@ -112,11 +138,13 @@ object CheckCommand "snmp-storage" {
} }
/** snmp network interfaces /**
* snmp network interfaces
* Url reference: http://nagios.manubulon.com/snmp_int.html * Url reference: http://nagios.manubulon.com/snmp_int.html
**/ */
object CheckCommand "snmp-interface" { object CheckCommand "snmp-interface" {
import "snmp-manubulon-command", import "snmp-manubulon-command"
command = [ ManubulonPluginDir + "/check_snmp_int.pl" ] command = [ ManubulonPluginDir + "/check_snmp_int.pl" ]
@ -146,11 +174,13 @@ object CheckCommand "snmp-interface" {
} }
/** snmp process /**
* snmp process
* Url reference: http://nagios.manubulon.com/snmp_process.html * Url reference: http://nagios.manubulon.com/snmp_process.html
**/ */
object CheckCommand "snmp-process" { object CheckCommand "snmp-process" {
import "snmp-manubulon-command", import "snmp-manubulon-command"
command = [ ManubulonPluginDir + "/check_snmp_process.pl" ] command = [ ManubulonPluginDir + "/check_snmp_process.pl" ]