Module: check_mk
Branch: master
Commit: 2fa34ee9ccdac6f53b20ec62f1e177e0eb9cdab2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2fa34ee9ccdac6…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Mar 1 10:55:56 2013 +0100
if.include now with assumed_speed_in/out support -> checkman update
---
checkman/hpux_if | 8 ++++++++
checkman/if | 8 ++++++++
checkman/if64 | 8 ++++++++
checkman/if_lancom | 8 ++++++++
checkman/lnx_if | 8 ++++++++
checkman/mcdata_fcport | 8 ++++++++
6 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/checkman/hpux_if b/checkman/hpux_if
index 8b69ebf..4d1bb2d 100644
--- a/checkman/hpux_if
+++ b/checkman/hpux_if
@@ -81,6 +81,14 @@ parameters (dict): Due to its complexity, this check now uses a
dictionary as
are weighted higher than older values and that even values out of the
configured
time range are - to a low degree - represented in the average. If you
configure
an average, then the traffic levels are applied to the averaged
values.
+
+ {"assumed_speed_in"} - the assumed port input speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
{"state"} - the expected operational status of the interface
(as string or list of strings. If this
is {None} then the state is not checked. Possible values for the
diff --git a/checkman/if b/checkman/if
index 5d24dd3..8a6cd51 100644
--- a/checkman/if
+++ b/checkman/if
@@ -127,6 +127,14 @@ parameters (dict): Due to its complexity, this check now uses a
dictionary as
{"speed"} - the expected port speed as an integer of the
bits per second (not
the bytes!). If you set this to {None}, then the port speed is not
checked.
The default is to remember and enforce the port speed found during
inventory.
+
+ {"assumed_speed_in"} - the assumed port input speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
{"unit"} - the measurement unit which can be set to
"bit" or "byte".
Depending on this choice the limits set in the {"traffic"}
parameter are regarded
diff --git a/checkman/if64 b/checkman/if64
index 37232b1..b315470 100644
--- a/checkman/if64
+++ b/checkman/if64
@@ -127,6 +127,14 @@ parameters (dict): Due to its complexity, this check now uses a
dictionary as
{"speed"} - the expected port speed as an integer of the
bits per second (not
the bytes!). If you set this to {None}, then the port speed is not
checked.
The default is to remember and enforce the port speed found during
inventory.
+
+ {"assumed_speed_in"} - the assumed port input speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
{"unit"} - the measurement unit which can be set to
"bit" or "byte".
Depending on this choice the limits set in the {"traffic"}
parameter are regarded
diff --git a/checkman/if_lancom b/checkman/if_lancom
index 9ce6d99..5c1ce57 100644
--- a/checkman/if_lancom
+++ b/checkman/if_lancom
@@ -130,6 +130,14 @@ parameters (dict): Due to its complexity, this check now uses a
dictionary as
the bytes!). If you set this to {None}, then the port speed is not
checked.
The default is to remember and enforce the port speed found during
inventory.
+ {"assumed_speed_in"} - the assumed port input speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
+
{"unit"} - the measurement unit which can be set to
"bit" or "byte".
Depending on this choice the limits set in the {"traffic"}
parameter are regarded
as bits or bytes, too. When this parameter is set to "bit"
any traffic related plugin output
diff --git a/checkman/lnx_if b/checkman/lnx_if
index edc1e11..e264277 100644
--- a/checkman/lnx_if
+++ b/checkman/lnx_if
@@ -128,6 +128,14 @@ parameters (dict): Due to its complexity, this check now uses a
dictionary as
{"speed"} - the expected port speed as an integer of the
bits per second (not
the bytes!). If you set this to {None}, then the port speed is not
checked.
The default is to remember and enforce the port speed found during
inventory.
+
+ {"assumed_speed_in"} - the assumed port input speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
[configuration]
if_inventory_porttypes (list of strings): List of interface types the inventory should
create checks for.
diff --git a/checkman/mcdata_fcport b/checkman/mcdata_fcport
index e8ebd8f..cea5354 100644
--- a/checkman/mcdata_fcport
+++ b/checkman/mcdata_fcport
@@ -123,6 +123,14 @@ parameters (dict): Due to its complexity, this check now uses a
dictionary as
{"speed"} - the expected port speed as an integer of the
bits per second (not
the bytes!). If you set this to {None}, then the port speed is not
checked.
The default is to remember and enforce the port speed found during
inventory.
+
+ {"assumed_speed_in"} - the assumed port input speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an
integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value
configured in {speed}
+ before using the automatically detected port speed
[configuration]
if_inventory_porttypes (list of strings): List of interface types the inventory should
create checks for.