Module: check_mk
Branch: master
Commit: acd1a08b25f44f753acd8b56b4a0921dc5e77e35
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=acd1a08b25f44f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jul 11 14:47:33 2013 +0200
fc_brocade_port*: remove two obsolete checks
---
ChangeLog | 2 ++
checks/fc_brocade_port | 37 -------------------------------------
checks/fc_brocade_port_detailed | 37 -------------------------------------
3 files changed, 2 insertions(+), 74 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 22cbb07..63dc9d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -49,6 +49,8 @@
* diskstat: Agent is now also processing data of mmcblk devices
* qmail: Added check for mailqueue
* cisco_locif: removed obsolete and already disabled check completely
+ * fc_brocade_port: removed obsolete check
+ * fc_brocade_port_detailed: removed obsolete check
* FIX: esx_vsphere_datastores: Fix incomplete performance data and Perf-O-Meter
* FIX: cleaned up fileinfo.groups pattern handling, manual configuration
is now possible using WATO
diff --git a/checks/fc_brocade_port b/checks/fc_brocade_port
deleted file mode 100644
index 90fe20a..0000000
--- a/checks/fc_brocade_port
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/python
-# -*- encoding: utf-8; py-indent-offset: 4 -*-
-# +------------------------------------------------------------------+
-# | ____ _ _ __ __ _ __ |
-# | / ___| |__ ___ ___| | __ | \/ | |/ / |
-# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
-# | | |___| | | | __/ (__| < | | | | . \ |
-# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
-# | |
-# | Copyright Mathias Kettner 2013 mk(a)mathias-kettner.de |
-# +------------------------------------------------------------------+
-#
-# This file is part of Check_MK.
-# The official homepage is at http://mathias-kettner.de/check_mk.
-#
-# check_mk 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 in version 2. check_mk is distributed
-# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
-# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE. See the GNU General Public License for more de-
-# ails. You should have received a copy of the GNU General Public
-# License along with GNU Make; see the file COPYING. If not, write
-# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
-# Boston, MA 02110-1301 USA.
-
-def check_brocade_port(portno, params, info):
- return (3, "UKNOWN - This check has been removed. Please use brocade_fcport instead.")
-
-
-check_info["fc_brocade_port"] = {
- 'check_function': check_brocade_port,
- 'service_description': 'PORT %s',
- 'has_perfdata': True,
- 'snmp_info': [],
- 'snmp_scan_function': lambda oid: False,
-}
diff --git a/checks/fc_brocade_port_detailed b/checks/fc_brocade_port_detailed
deleted file mode 100644
index b5c4e00..0000000
--- a/checks/fc_brocade_port_detailed
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/python
-# -*- encoding: utf-8; py-indent-offset: 4 -*-
-# +------------------------------------------------------------------+
-# | ____ _ _ __ __ _ __ |
-# | / ___| |__ ___ ___| | __ | \/ | |/ / |
-# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
-# | | |___| | | | __/ (__| < | | | | . \ |
-# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
-# | |
-# | Copyright Mathias Kettner 2013 mk(a)mathias-kettner.de |
-# +------------------------------------------------------------------+
-#
-# This file is part of Check_MK.
-# The official homepage is at http://mathias-kettner.de/check_mk.
-#
-# check_mk 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 in version 2. check_mk is distributed
-# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
-# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE. See the GNU General Public License for more de-
-# ails. You should have received a copy of the GNU General Public
-# License along with GNU Make; see the file COPYING. If not, write
-# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
-# Boston, MA 02110-1301 USA.
-
-def check_brocade_port(portno, params, info):
- return (3, "UKNOWN - This check has been removed. Please use brocade_fcport instead.")
-
-
-check_info["fc_brocade_port_detailed"] = {
- 'check_function': check_brocade_port,
- 'service_description': 'PORT %s',
- 'has_perfdata': True,
- 'snmp_info': [],
- 'snmp_scan_function': lambda oid: False,
-}
Module: check_mk
Branch: master
Commit: 9dc920f1f94171440484a04f8090f629516bcd0a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9dc920f1f94171…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jul 11 14:44:08 2013 +0200
cisco_locif: removed obsolete check
---
ChangeLog | 1 +
checks/cisco_locif | 43 -------------------------------------------
2 files changed, 1 insertion(+), 43 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7d7c1e5..22cbb07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -48,6 +48,7 @@
* ps/ps.perf: allow to set levels on CPU util, optional averaging of CPU
* diskstat: Agent is now also processing data of mmcblk devices
* qmail: Added check for mailqueue
+ * cisco_locif: removed obsolete and already disabled check completely
* FIX: esx_vsphere_datastores: Fix incomplete performance data and Perf-O-Meter
* FIX: cleaned up fileinfo.groups pattern handling, manual configuration
is now possible using WATO
diff --git a/checks/cisco_locif b/checks/cisco_locif
deleted file mode 100644
index 9dd90dc..0000000
--- a/checks/cisco_locif
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/python
-# -*- encoding: utf-8; py-indent-offset: 4 -*-
-# +------------------------------------------------------------------+
-# | ____ _ _ __ __ _ __ |
-# | / ___| |__ ___ ___| | __ | \/ | |/ / |
-# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
-# | | |___| | | | __/ (__| < | | | | . \ |
-# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
-# | |
-# | Copyright Mathias Kettner 2013 mk(a)mathias-kettner.de |
-# +------------------------------------------------------------------+
-#
-# This file is part of Check_MK.
-# The official homepage is at http://mathias-kettner.de/check_mk.
-#
-# check_mk 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 in version 2. check_mk is distributed
-# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
-# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE. See the GNU General Public License for more de-
-# ails. You should have received a copy of the GNU General Public
-# License along with GNU Make; see the file COPYING. If not, write
-# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
-# Boston, MA 02110-1301 USA.
-
-
-def inventory_cisco_locif(info):
- pass
-
-def check_cisco_locif(item, params, info):
- return (3, 'The cisco_locif check has been removed. Please switch to either if or if64 checks')
-
-check_info['cisco_locif'] = (check_cisco_locif, "Port %s", 1, inventory_cisco_locif)
-snmp_info['cisco_locif'] = ( ".1.3.6.1.4.1.9",
- [ "9.23.1.1.1.1.6", # CISCO-CDP-MIB::cdpInterfaceName
- "2.2.1.1.2", # OLD-CISCO-INTERFACES-MIB::locIfLineProt
- "2.2.1.1.6", # OLD-CISCO-INTERFACES-MIB::locIfInBitsSec
- "2.2.1.1.8", # OLD-CISCO-INTERFACES-MIB::locIfOutBitsSec
- "2.2.1.1.28", # OLD-CISCO-INTERFACES-MIB::locIfDescr
- OID_END ] )
-
-snmp_scan_functions['cisco_locif'] = lambda oid: False
Module: check_mk
Branch: master
Commit: eb54780c5a008e1950bef87809fe42d316f6f160
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eb54780c5a008e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jul 11 15:35:19 2013 +0200
tsm_stgpool: removed orphaned check
---
ChangeLog | 1 +
checks/tsm_stgpool | 56 ----------------------------------------------------
2 files changed, 1 insertion(+), 56 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 63dc9d2..09ad775 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -51,6 +51,7 @@
* cisco_locif: removed obsolete and already disabled check completely
* fc_brocade_port: removed obsolete check
* fc_brocade_port_detailed: removed obsolete check
+ * tsm_stgpool: removed orphaned check
* FIX: esx_vsphere_datastores: Fix incomplete performance data and Perf-O-Meter
* FIX: cleaned up fileinfo.groups pattern handling, manual configuration
is now possible using WATO
diff --git a/checks/tsm_stgpool b/checks/tsm_stgpool
deleted file mode 100644
index 1c04812..0000000
--- a/checks/tsm_stgpool
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/python
-# -*- encoding: utf-8; py-indent-offset: 4 -*-
-# +------------------------------------------------------------------+
-# | ____ _ _ __ __ _ __ |
-# | / ___| |__ ___ ___| | __ | \/ | |/ / |
-# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
-# | | |___| | | | __/ (__| < | | | | . \ |
-# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
-# | |
-# | Copyright Mathias Kettner 2013 mk(a)mathias-kettner.de |
-# +------------------------------------------------------------------+
-#
-# This file is part of Check_MK.
-# The official homepage is at http://mathias-kettner.de/check_mk.
-#
-# check_mk 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 in version 2. check_mk is distributed
-# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
-# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE. See the GNU General Public License for more de-
-# ails. You should have received a copy of the GNU General Public
-# License along with GNU Make; see the file COPYING. If not, write
-# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
-# Boston, MA 02110-1301 USA.
-
-
-inventory_tsm_stgpool_check_params = 'tsm_stgpool_default_levels'
-tsm_stgpool_default_levels = (90, 95)
-
-def inventory_tsm_stgpool(info):
- return [ (line[0], '%s perc used' % line[1], inventory_tsm_stgpool_check_params ) for line in info ]
-
-def check_tsm_stgpool(item, params, info):
- for line in info:
- if line[0] == item:
- current = float(line[1])
- warn, crit = params
- infotext = "%.1f%% used" % current
- perfdata = [ ("percused", "%.1f%%" % current, warn, crit, 0, 100.0) ]
- if current >= crit:
- return (2, "%s (critical at %.1f%%)" % (infotext, crit), perfdata)
- elif current >= warn:
- return (1, "%s (warning at %.1f%%)" % (infotext, warn), perfdata)
- else:
- return (0, "%s" % (infotext,), perfdata)
- return (3, "No such storage pool found")
-
-
-
-check_info["tsm_stgpool"] = {
- 'check_function': check_tsm_stgpool,
- 'inventory_function': inventory_tsm_stgpool,
- 'service_description': 'Storage Pool %s',
- 'has_perfdata': True,
-}
Module: check_mk
Branch: master
Commit: adc5648d83b60957ecf8d781928d516b18968e9d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=adc5648d83b609…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jul 11 15:37:43 2013 +0200
vmware_state: removed ancient, now orphaned check.
---
ChangeLog | 1 +
checks/vmware_state | 110 ---------------------------------------------------
2 files changed, 1 insertion(+), 110 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 09ad775..526663b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -52,6 +52,7 @@
* fc_brocade_port: removed obsolete check
* fc_brocade_port_detailed: removed obsolete check
* tsm_stgpool: removed orphaned check
+ * vmware_state: removed ancient, now orphaned check. Use vsphere_agent instead.
* FIX: esx_vsphere_datastores: Fix incomplete performance data and Perf-O-Meter
* FIX: cleaned up fileinfo.groups pattern handling, manual configuration
is now possible using WATO
diff --git a/checks/vmware_state b/checks/vmware_state
deleted file mode 100644
index 815e189..0000000
--- a/checks/vmware_state
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/usr/bin/python
-# -*- encoding: utf-8; py-indent-offset: 4 -*-
-# +------------------------------------------------------------------+
-# | ____ _ _ __ __ _ __ |
-# | / ___| |__ ___ ___| | __ | \/ | |/ / |
-# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
-# | | |___| | | | __/ (__| < | | | | . \ |
-# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
-# | |
-# | Copyright Mathias Kettner 2013 mk(a)mathias-kettner.de |
-# +------------------------------------------------------------------+
-#
-# This file is part of Check_MK.
-# The official homepage is at http://mathias-kettner.de/check_mk.
-#
-# check_mk 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 in version 2. check_mk is distributed
-# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
-# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE. See the GNU General Public License for more de-
-# ails. You should have received a copy of the GNU General Public
-# License along with GNU Make; see the file COPYING. If not, write
-# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
-# Boston, MA 02110-1301 USA.
-
-# THIS CHECK IS DEPRACATED! Use agent_vpshere instead.
-
-# Example output from agent:
-# <<<vmware_state>>>
-# [2009-11-12 10:40:30.086 'App' 3076453184 info] Current working directory: /usr/lib/check_mk_agent/plugins
-# Found VM:
-# moref:32
-# name:name_of_vm
-# uuid:xxxxxxxxxxxx
-# ipaddr:192.168.1.5
-# Found VM:
-# moref:48
-# name:abcdef
-# uuid:xxxxxxxxx
-# ipaddr:12.34.56.78
-# [2009-11-12 10:40:30.215 'vcbVmName' 3076453184 warning] IP address not set.
-# Found VM:
-# moref:80
-# name:name_of_vm
-# uuid:xxxxxxxxx
-# ipaddr:
-
-def inventory_vmware_state(info):
- inventory = []
- for line in info:
- if line[0].startswith("name:"):
- vm_name = line[0][5:]
- if line[0].startswith("ipaddr:"):
- vm_ipaddr = line[0][7:]
- # add machine to inventory (if IP address is not empty)
- if vm_ipaddr != '':
- inventory.append((vm_name, None))
- return inventory
-
-# 1. Variant: loop over all machines and
-# remember the ip addresses of all machines.
-# Then pick out the ip address of the machine
-# we are looking for.
-#
-#def check_vmware_state(item, params, info):
-# vm_ipaddr = {}
-# for line in info:
-# if line[0].startswith("name:"):
-# vm_name = line[0][5:]
-#
-# if line[0].startswith("ipaddr:"):
-# vm_ipaddr[vm_name] = line[0][7:]
-#
-# ip_addr = vm_ipaddr.get(item)
-# if ip_addr == "":
-# return(2, "The Machine is DOWN")
-#
-# elif ip_addr == None:
-# return (3, "no such machine")
-#
-# else:
-# return(0, "The Machine is UP (%s)" % ip_addr)
-
-# 2. Variant: loop over all machines. If
-# we reach the machine we are looking for
-# we do the check and return immediately.
-# If we go through the loop without finding
-# the machine, we return an UNKNOWN state.
-def check_vmware_state(item, _no_params, info):
- # item is the name of the machine.
- for line in info:
- if line[0].startswith("name:"):
- vm_name = line[0][5:]
- elif line[0].startswith("ipaddr:"):
- if vm_name == item:
- ip_addr = line[0][7:]
- if ip_addr == "":
- return (2, "the machine is down")
- else:
- return (0, "machine is up (%s)" % ip_addr)
- return (3, "no such machine")
-
-
-check_info["vmware_state"] = {
- 'check_function': check_vmware_state,
- 'inventory_function': inventory_vmware_state,
- 'service_description': 'VM %s',
- 'group': 'vm_state',
-}
Module: check_mk
Branch: master
Commit: ff74b1c74ffde31ba33b256797e57e312d13b528
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ff74b1c74ffde3…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Thu Jul 11 14:02:47 2013 +0200
initial version of check manpage for lparstat_aix.cpu_util
---
checkman/lparstat_aix.cpu_util | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/checkman/lparstat_aix.cpu_util b/checkman/lparstat_aix.cpu_util
new file mode 100644
index 0000000..dbb9aa4
--- /dev/null
+++ b/checkman/lparstat_aix.cpu_util
@@ -0,0 +1,34 @@
+title: lparstat on AIX - CPU utilization
+agents: aix
+catalog: os/kernel
+license: GPL
+distribution: check_mk
+description:
+ The check executes the {lparstat} command on a logical partition (LPAR) under
+ AIX and reports CPU utilization extracted from it's output. See section
+ perfdata for description of the single values.
+
+ A level can be set only on {wait} (disk wait).
+
+perfdata:
+ The following 3 float values:
+
+ {user}: CPU utilization in user space in percent
+
+ {sys}: CPU utilization in kernel space in percent
+
+ {wait}: CPU time for I/O wait in percent
+
+inventory:
+ On each LPAR one check is generated.
+
+[parameters]
+warning (int): The percentage of {wait} that triggers a warning level.
+
+critical (int): The percentage of {wait} that triggers a critical level
+
+ The parameters may also be set to {None}, which makes the check alwas {OK}.
+
+[configuration]
+kernel_util_default_levels (int, int): Default levels used by inventorized
+ checks. This is present to {None}, which disables the levels.
Module: check_mk
Branch: master
Commit: d07b6c529fc54b65af1490fdf30cf8b661a75abb
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d07b6c529fc54b…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Thu Jul 11 13:34:02 2013 +0200
initial version of check manpage for lparstat_aix
---
checkman/lparstat_aix | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/checkman/lparstat_aix b/checkman/lparstat_aix
new file mode 100644
index 0000000..1d66243
--- /dev/null
+++ b/checkman/lparstat_aix
@@ -0,0 +1,33 @@
+title: lparstat on AIX - CPU utilization and assignment for LPARs
+agents: aix
+catalog: os/kernel
+license: GPL
+distribution: check_mk
+description:
+ The check executes the {lparstat} command on AIX and reports different
+ logical partition (LPAR) related information and statistics extracted from
+ it's output. See section perfdata for description of the single values.
+
+ The check always returns {OK} state.
+
+perfdata:
+ The following 8 float values:
+
+ {user}: CPU utilization in user space in percent
+
+ {sys}: CPU utilization in kernel space in percent
+
+ {wait}: CPU time for I/O wait in percent
+
+ {idle}: CPU idle time in percent
+
+ {physc}: The number of physical processors consumed by the LPAR
+
+ {entc}: The percentage of the entitled capacity consumed by the LPAR
+
+ {lbusy}: The percentage of logical processor(s) utilization that occurred while executing at the user and system level
+
+ {app}: The available physical processors in the shared pool
+
+inventory:
+ On each LPAR one check is generated.