Module: check_mk
Branch: master
Commit: 141f3f4c77466726f019e2a827e0e09d0d885ee0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=141f3f4c774667…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Mon Nov 4 17:59:42 2013 +0100
added the first manpages for brocade_mlx checks
---
checkman/brocade_mlx.fan | 18 ++++++++++++++
checkman/brocade_mlx.module_mem | 47 ++++++++++++++++++++++++++++++++++++
checkman/brocade_mlx.module_status | 18 ++++++++++++++
checkman/brocade_mlx.power | 18 ++++++++++++++
4 files changed, 101 insertions(+)
diff --git a/checkman/brocade_mlx.fan b/checkman/brocade_mlx.fan
new file mode 100644
index 0000000..5095b83
--- /dev/null
+++ b/checkman/brocade_mlx.fan
@@ -0,0 +1,18 @@
+title: Brocade NetIron MLX devices: Fans
+agents: snmp
+catalog: hw/network/brocade
+license: GPL
+distribution: check_mk
+description:
+ Checks the operational status of fans in Brocade NetIron MLX
+ switching / routing devices.
+
+ Returns {OK} on status 2 (normal), {CRIT} on status 3 (failure)
+ and {UNKN} on every other status.
+
+item:
+ If a fan description is delivered by SNMP, the item is build from the
+ fan ID plus the description. Otherwise it is just the ID.
+
+inventory:
+ Finds one item per fan.
diff --git a/checkman/brocade_mlx.module_mem b/checkman/brocade_mlx.module_mem
new file mode 100644
index 0000000..4faa737
--- /dev/null
+++ b/checkman/brocade_mlx.module_mem
@@ -0,0 +1,47 @@
+title: Brocade NetIron MLX devices: NI-MLX Module Memory (RAM usage)
+agents: snmp
+catalog: hw/network/brocade
+license: GPL
+distribution: check_mk
+description:
+ Checks the Module Memory (RAM usage) of a NI-MLX module in Brocade
+ NetIron MLX switching / routing devices.
+
+ {WARN} or {CRIT} is returned, if the usage is above given thresholds.
+ {OK} is returned otherwise.
+
+item:
+ If a module description is delivered by SNMP, the item is build from the
+ module ID plus the description. Otherwise it is just the ID.
+
+examples:
+ # set default levels to 70 and 80 percent:
+ brocade_mlx_mem_default_levels = (70.0, 80.0)
+
+ # Check Module with ID 33 on a box called my-mlx-device with default levels
+ checks += [
+ ("my-mlx-device", "brocade_mlx.module_mem", '33 NI-MLX-32_MR
Management Module', brocade_mlx_mem_default_levels),
+ ]
+
+ # or use individual levels for warn and crit
+ checks += [
+ ("my-mlx-device", "brocade_mlx.module_mem", '33 NI-MLX-32_MR
Management Module', (75.0, 85.0)),
+ ]
+
+perfdata:
+ one value is returned: The amount of memory used (in Bytes),
+ together with warn and crit levels and maximum value
+
+inventory:
+ Finds one item per NI-MLX module.
+ Empty modules are omitted.
+
+[parameters]
+warn(int): {WARN} state is triggered, if the memory usage in percent is higher
+ than this.
+crit(int): {CRIT} state is triggered, if the memory usage in percent is higher
+ than this.
+
+[configuration]
+brocade_mlx_mem_default_levels(float, float): The standard levels for {WARN} and
+ {CRIT}. Defaults are (80.0, 90.0)
diff --git a/checkman/brocade_mlx.module_status b/checkman/brocade_mlx.module_status
new file mode 100644
index 0000000..1d97598
--- /dev/null
+++ b/checkman/brocade_mlx.module_status
@@ -0,0 +1,18 @@
+title: Brocade NetIron MLX devices: Module Overall Status
+agents: snmp
+catalog: hw/network/brocade
+license: GPL
+distribution: check_mk
+description:
+ Checks the overall status of modules in Brocade NetIron MLX
+ switching / routing devices.
+
+ Returns {OK} on status 10 (running), {WARN} on status 0 (empty)
+ and {CRIT} on every other status.
+
+item:
+ If a module description is delivered by SNMP, the item is build from the
+ module ID plus the description. Otherwise it is just the ID.
+
+inventory:
+ Finds one item per power supply.
diff --git a/checkman/brocade_mlx.power b/checkman/brocade_mlx.power
new file mode 100644
index 0000000..cd5d592
--- /dev/null
+++ b/checkman/brocade_mlx.power
@@ -0,0 +1,18 @@
+title: Brocade NetIron MLX devices: Power Supplies
+agents: snmp
+catalog: hw/network/brocade
+license: GPL
+distribution: check_mk
+description:
+ Checks the operational status of power supplies on Brocade NetIron MLX
+ switching / routing devices.
+
+ Returns {OK} on status 2 (normal), {CRIT} on status 3 (failure)
+ and {UNKN} on every other status.
+
+item:
+ If a power supply description is delivered by SNMP, the item is build from
+ the power supply ID plus the description. Otherwise it is just the ID.
+
+inventory:
+ Finds one item per power supply.