Module: check_mk
Branch: master
Commit: c63a95d59eb32926d4d1a3eda6318663cccc465a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c63a95d59eb329…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Aug 19 20:03:29 2011 +0200
lnx_if: make lnx_if the default interface check for Linux
---
ChangeLog | 1 +
checks/lnx_if | 2 +-
checks/netctr | 2 +-
checks/netif | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1f5736c..9c816f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
new log messages per log file
* Windows Agent: Now supports direct execution of powershell scripts
* local: PNP template now supports multiple performance values
+ * lnx_if: make lnx_if the default interface check for Linux
MK Livestatus:
* WaitObject: allow to separate host name and service with a semicolon.
diff --git a/checks/lnx_if b/checks/lnx_if
index 0a9e776..0bdc551 100644
--- a/checks/lnx_if
+++ b/checks/lnx_if
@@ -45,7 +45,7 @@
check_includes['lnx_if'] = [ "if.include" ]
-linux_nic_check = "legacy"
+linux_nic_check = "lnx_if"
def if_lnx_convert_to_if64(info):
nic_info = {}
diff --git a/checks/netctr b/checks/netctr
index 1bfabd2..f9ad3e1 100644
--- a/checks/netctr
+++ b/checks/netctr
@@ -24,7 +24,7 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-linux_nic_check = "legacy"
+linux_nic_check = "lnx_if"
# levels for warning/critical on error rate - in percentage of total packets!
netctr_default_params = (0.01, 0.1)
diff --git a/checks/netif b/checks/netif
index ac3646c..bc20d93 100644
--- a/checks/netif
+++ b/checks/netif
@@ -24,7 +24,7 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-linux_nic_check = "legacy"
+linux_nic_check = "lnx_if"
def inventory_netif_link(checkname, info):
if linux_nic_check != "legacy":