Module: check_mk
Branch: master
Commit: 3e8cc2dc822b4b041aa934d8978328748cc1435c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3e8cc2dc822b4b…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Feb 26 16:27:38 2015 +0100
Added manpages for sansymphony checks
---
agents/windows/plugins/sansymphony.ps1 | 24 ++++++++++++++++++++++++
checkman/sansymphony_alerts | 13 +++++++++++++
checkman/sansymphony_pool | 19 +++++++++++++++++++
checkman/sansymphony_ports | 14 ++++++++++++++
checkman/sansymphony_serverstatus | 15 +++++++++++++++
checkman/sansymphony_virtualdiskstatus | 14 ++++++++++++++
modules/catalog.py | 1 +
7 files changed, 100 insertions(+)
diff --git a/agents/windows/plugins/sansymphony.ps1
b/agents/windows/plugins/sansymphony.ps1
index e697b50..388d314 100644
--- a/agents/windows/plugins/sansymphony.ps1
+++ b/agents/windows/plugins/sansymphony.ps1
@@ -1,6 +1,30 @@
# check_datacore.ps1
# Version 0.2
# Author : Andre Eckstein, Andre.Eckstein(a)Bechtle.com
+# Prerequisites
+# -------------
+# 1. Datacore SANsymphony V8 or V9 must be installed
+# SANmelody and Sansymphony are not supported.
+#
+# 2. The SANsymphony CMDlets need to be installed on the monitored Datacore Server
+# If not installed you need to install the CMDlets with the SANsymphony V installation
routine.
+# - Enabling of .net 4 Framwork support in PowerShell
+# Support for .net 4 must be enabled. To achieve this, create a file with the name
powershell.exe.config with the following content:
+#
+# <?xml version="1.0" encoding="utf-8" ?>
+# <configuration>
+# <startup useLegacyV2RuntimeActivationPolicy="true">
+# <supportedRuntime version="v4.0"/>
+# <supportedRuntime version="v2.0.50727" />
+# </startup>
+# </configuration>
+#
+# And just put that file into the following directories:
+# c:\windows\system32\WindowsPowerShell\v1.0\ and
c:\windows\sysWOW64\WindowsPowerShell\v1.0\
+#
+# 3. A working Check_MK agent on the monitored host
+# Be sure that the Check_MK agent is working without the sansymphony.ps1 plugin. You can
verify this by calling telnet <servername or ip> 6556.
+# There should be a lot text output showing the different sections.
#configuration:
diff --git a/checkman/sansymphony_alerts b/checkman/sansymphony_alerts
new file mode 100644
index 0000000..ea2a8e3
--- /dev/null
+++ b/checkman/sansymphony_alerts
@@ -0,0 +1,13 @@
+title: Sansymphony: Alerts
+agents: windows
+catalog: app/sansymphony
+license: GPL
+distribution: check_mk
+description:
+ This check measures the current amount of unacknowlegded alerts reported by the
sansymphony management.
+ Levels for {WARN} and {CRIT} can be specified for the number of alerts.
+
+ The windows agent needs to be extended with the sansymphony.ps1 provided in
agents/windows/plugins.
+
+inventory:
+ One service will be created
diff --git a/checkman/sansymphony_pool b/checkman/sansymphony_pool
new file mode 100644
index 0000000..fc664cf
--- /dev/null
+++ b/checkman/sansymphony_pool
@@ -0,0 +1,19 @@
+title: Sansymphony: Pool
+catalog: app/sansymphony
+agents: windows
+distribution: check_mk
+license: GPL
+description:
+
+ This check measures if the dynamic pool is running, if the cache is in ReadWrite mode
and the filling rate of the reported pool allocation.
+ If the dynamic pool not running, {CRIT} will be reported.
+ If the cache is not in ReadWrite mode, also {CRIT} will be reported.
+ Also it is possible to set levels to the measured filling rate of the disk pool
allocation.
+
+ The windows agent needs to be extended with the sansymphony.ps1 provided in
agents/windows/plugins.
+
+Performance data:
+ The check outputs the disk pool allocation in percent.
+
+Inventory:
+ One service will be created
diff --git a/checkman/sansymphony_ports b/checkman/sansymphony_ports
new file mode 100644
index 0000000..fca81f0
--- /dev/null
+++ b/checkman/sansymphony_ports
@@ -0,0 +1,14 @@
+title: Sansymphony: Ports
+agents: windows
+catalog: app/sansymphony
+distribution: check_mk
+license: GPL
+description:
+ This check measures the port status of the reported port states by the sansymphony
management.
+ If the port state is up, {OK} will be reported.
+ If the port state is down, {CRIT} will be reported.
+
+ The windows agent needs to be extended with the sansymphony.ps1 provided in
agents/windows/plugins.
+
+Inventory:
+ One service will be created
diff --git a/checkman/sansymphony_serverstatus b/checkman/sansymphony_serverstatus
new file mode 100644
index 0000000..810e126
--- /dev/null
+++ b/checkman/sansymphony_serverstatus
@@ -0,0 +1,15 @@
+title: Sansymphony: Serverstatus
+agents: windows
+catalog: app/sansymphony
+distribution: check_mk
+license: GPL
+description:
+
+ This check measures the status of the server and cache state reported by the sansymphony
management.
+ If the serverstatus is Online, {OK} will be reported. Offline will lead to a {CRIT}
state.
+ If the cache not is in WritebackGlobal mode, {CRIT} will be reported.
+
+ The windows agent needs to be extended with the sansymphony.ps1 provided in
agents/windows/plugins.
+
+Inventory:
+ One service will be created
diff --git a/checkman/sansymphony_virtualdiskstatus
b/checkman/sansymphony_virtualdiskstatus
new file mode 100644
index 0000000..d6718cd
--- /dev/null
+++ b/checkman/sansymphony_virtualdiskstatus
@@ -0,0 +1,14 @@
+title: Sansymphony: Virtualdiskstatus
+agents: windows
+catalog: app/sansymphony
+distribution: check_mk
+license: GPL
+description:
+
+ This check measures the state of the virtualdiskstatus reported by the sansymphony
management.
+ If the virtualdiskstatus is Online, {OK} will be reported. Otherwise the check reports a
{CRIT} state.
+
+ The windows agent needs to be extended with the sansymphony.ps1 provided in
agents/windows/plugins.
+
+Inventory:
+ One service will be created
diff --git a/modules/catalog.py b/modules/catalog.py
index 8db56f1..c9e52e9 100644
--- a/modules/catalog.py
+++ b/modules/catalog.py
@@ -106,6 +106,7 @@ manpage_catalog_titles = {
"sap" : "SAP R/3",
"tsm" : "IBM Tivoli Storage Manager (TSM)",
"unitrends" : "Unitrends",
+ "sansymphony" : "Datacore SANsymphony",
"os" : "Operating Systems",
"aix" : "AIX",