-/* 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$"
}
-/** 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" ]
}
-/** 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" ]
}
-/** 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" ]
}
-/** 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" ]
}
-/** 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" ]