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
1 changed files with 54 additions and 24 deletions

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" {
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" ]