Module: check_mk
Branch: master
Commit: ec0b76411d03d314b4bee0948ee26b0043317bc7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ec0b76411d03d3…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Oct 5 11:01:51 2015 +0200
#2636 ucd_mem, ucd_processes, ucd_disk: new checks for systems using UCD SNMP Daemon
These checks monitor the total and used memory, the number of processes and
the available und used space of mounted disks via SNMP on systems running
the UCD SNMP daemon.
---
.werks/2634 | 5 ++---
.werks/2636 | 11 +++++++++++
ChangeLog | 3 ++-
checkman/artec_load | 15 ---------------
checkman/artec_mem | 16 ----------------
checkman/artec_processes | 18 ------------------
checkman/{artec_disk => ucd_disk} | 8 +++++---
checkman/ucd_mem | 18 ++++++++++++++++++
checkman/ucd_processes | 20 ++++++++++++++++++++
checks/ucd_mem | 2 +-
10 files changed, 59 insertions(+), 57 deletions(-)
diff --git a/.werks/2634 b/.werks/2634
index e937d40..435e4ba 100644
--- a/.werks/2634
+++ b/.werks/2634
@@ -1,4 +1,4 @@
-Title: artec_disk, artec_documents, artec_load, artec_mem, artec_processes, artec_temp:
new checks for ARTEC Mail Archive Appliance
+Title: artec_documents, artec_temp: new checks for ARTEC Mail Archive Appliance
Level: 1
Component: checks
Compatible: compat
@@ -6,6 +6,5 @@ Version: 1.2.7i3
Date: 1443085698
Class: feature
-These checks monitor the used disk space of the mount points, the number of
-documents, the CPU load, the used memory, the number of processes and the
+These checks monitor the number of documents and the
temperature of the ARTEC Mail Archive Appliance.
diff --git a/.werks/2636 b/.werks/2636
new file mode 100644
index 0000000..5915bbc
--- /dev/null
+++ b/.werks/2636
@@ -0,0 +1,11 @@
+Title: ucd_mem, ucd_processes, ucd_disk: new checks for systems using UCD SNMP Daemon
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i3
+Date: 1444035440
+Class: feature
+
+These checks monitor the total and used memory, the number of processes and
+the available und used space of mounted disks via SNMP on systems running
+the UCD SNMP daemon.
diff --git a/ChangeLog b/ChangeLog
index a23c8e9..c7ff3fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -91,10 +91,11 @@
* 2626 ps check configurable to list state of individual processes in long output...
* 2628 check_bi_aggr service now also goes into downtime if the monitored BI
aggregation is in downtime...
* 2633 cisco_stackpower: new check which monitors the link status of stack ports of
Cisco Switches 3750-E Series
- * 2634 artec_disk, artec_documents, artec_load, artec_mem, artec_processes,
artec_temp: new checks for ARTEC Mail Archive Appliance...
+ * 2634 artec_documents, artec_temp: new checks for ARTEC Mail Archive Appliance...
* 2632 oracle_diva_csm, oracle_diva_csm.actor, oracle_diva_csm.archive,
oracle_diva_csm.drive: new checks for DIVA CSM devices
* 2635 pandacom_psu, pandacom_fan, pandacom_sys_temp, pandacom_10gm_temp,
pandacom_fc_temp: new checks for Pandacom SpeedCarrier Chassis 5u...
* 2433 interface checks: now able to configure the infotext shown in the check
output...
+ * 2636 ucd_mem, ucd_processes, ucd_disk: new checks for systems using UCD SNMP
Daemon...
* 2315 FIX: windows agent: BOM replacement, fixed incorrect byte offset...
* 2316 FIX: windows agent: fix garbled output of cached agent plugins...
* 2358 FIX: check_mk_agent.solaris: more correct computation of zfs used space...
diff --git a/checkman/artec_load b/checkman/artec_load
deleted file mode 100644
index c96f8ec..0000000
--- a/checkman/artec_load
+++ /dev/null
@@ -1,15 +0,0 @@
-title: ARTEC Mail Archive Appliance: CPU load
-agents: snmp
-catalog: hw/other
-license: GPL
-distribution: check_mk
-description:
- This check monitors the CPU load of the ARTEC Mail Archive Appliance.
-
- Upper default levels are set to 5, 8. These levels are configurable.
-
-perfdata:
- CPU load in percent.
-
-inventory:
- One service is created.
diff --git a/checkman/artec_mem b/checkman/artec_mem
deleted file mode 100644
index 6076910..0000000
--- a/checkman/artec_mem
+++ /dev/null
@@ -1,16 +0,0 @@
-title: ARTEC Mail Archive Appliance: Memory
-agents: snmp
-catalog: hw/other
-license: GPL
-distribution: check_mk
-description:
- This check monitors the available and total memory
- of the ARTEC Mail Archive Appliance.
-
- Upper default levels are set to 50, 90 %. These levels are configurable.
-
-perfdata:
- The used memory.
-
-inventory:
- One service is created.
diff --git a/checkman/artec_processes b/checkman/artec_processes
deleted file mode 100644
index 42f18c2..0000000
--- a/checkman/artec_processes
+++ /dev/null
@@ -1,18 +0,0 @@
-title: ARTEC Mail Archive Appliance: Processes
-agents: snmp
-catalog: hw/other
-license: GPL
-distribution: check_mk
-description:
- This check monitors the processes of the ARTEC Mail Archive Appliance.
-
- Upper default levels are set to 80, 90 %. These levels are configurable.
-
-item:
- The index and type of processes.
-
-perfdata:
- The number of processes.
-
-inventory:
- One service per process type is created.
diff --git a/checkman/artec_disk b/checkman/ucd_disk
similarity index 57%
rename from checkman/artec_disk
rename to checkman/ucd_disk
index a7586eb..70648fd 100644
--- a/checkman/artec_disk
+++ b/checkman/ucd_disk
@@ -1,11 +1,13 @@
-title: ARTEC Mail Archive Appliance: Disk
+title: Disk space of mounted disks on systems using UCD SNMP Daemon
agents: snmp
-catalog: hw/other
+catalog: os/kernel
license: GPL
distribution: check_mk
description:
This check monitors the available and used space of the mounted disks
- of the ARTEC Mail Archive Appliance.
+ via SNMP on systems running the UCD SNMP daemon.
+ This daemon is mostly found on Linux systems and used by some hardware
+ appliances (such as Riverbed Steelhead).
Upper default levels are set to 80, 90 %. These levels are configurable.
diff --git a/checkman/ucd_mem b/checkman/ucd_mem
new file mode 100644
index 0000000..cfc2b9a
--- /dev/null
+++ b/checkman/ucd_mem
@@ -0,0 +1,18 @@
+title: Total and used Memory on systems using UCD SNMP Daemon
+agents: snmp
+catalog: os/kernel
+license: GPL
+distribution: check_mk
+description:
+ This check monitors the available and total memory
+ via SNMP on systems running the UCD SNMP daemon.
+ This daemon is mostly found on Linux systems and used by some hardware
+ appliances (such as Riverbed Steelhead).
+
+ Upper default levels are set to 80, 90 %. These levels are configurable.
+
+perfdata:
+ The used memory.
+
+inventory:
+ One service is created.
diff --git a/checkman/ucd_processes b/checkman/ucd_processes
new file mode 100644
index 0000000..acf5785
--- /dev/null
+++ b/checkman/ucd_processes
@@ -0,0 +1,20 @@
+title: Processes on systems using UCD SNMP Daemon
+agents: snmp
+catalog: os/kernel
+license: GPL
+distribution: check_mk
+description:
+ This check monitors the processes via SNMP on systems running the UCD SNMP daemon.
+ This daemon is mostly found on Linux systems and used by some hardware
+ appliances (such as Riverbed Steelhead).
+
+ The upper and lower crit levels are sent by the device itself.
+
+item:
+ The index and type of processes.
+
+perfdata:
+ The number of processes.
+
+inventory:
+ One service per process type is created.
diff --git a/checks/ucd_mem b/checks/ucd_mem
index 4adb609..19d66fc 100644
--- a/checks/ucd_mem
+++ b/checks/ucd_mem
@@ -30,7 +30,7 @@
# suggested by cutomer
factory_settings["ucd_mem_default_levels"] = {
- "levels" : ("perc_used", (50.0, 90.0))
+ "levels" : ("perc_used", (80.0, 90.0))
}