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