Module: check_mk
Branch: master
Commit: 8fea0b424d30386faeb27194529a8774009fd89c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8fea0b424d3038…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jan 28 16:44:24 2011 +0100
New windows plugins, not yet working
---
agents/windows/win_mpio.cmd | 10 ++++++++++
agents/windows/win_time.cmd | 19 +++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/agents/windows/win_mpio.cmd b/agents/windows/win_mpio.cmd
new file mode 100644
index 0000000..1f2eb74
--- /dev/null
+++ b/agents/windows/win_mpio.cmd
@@ -0,0 +1,10 @@
+# DO NOT USE YET!
+
+@echo off
+echo ^<^<^<win_mpio:sep^(44^)^>^>^>
+#wmic process get
name,pagefileusage,virtualsize,workingsetsize,usermodetime,kernelmodetime /format:csv
+# MPIO_DSM_Path
+# wmuc MPIO_DSM_Path_V2 LIST
+
+
+# REM state speed
diff --git a/agents/windows/win_time.cmd b/agents/windows/win_time.cmd
new file mode 100644
index 0000000..f7c37dd
--- /dev/null
+++ b/agents/windows/win_time.cmd
@@ -0,0 +1,19 @@
+# DO NOT USE YET!
+
+@echo off
+
+REM ***
+REM Query Windows Time daemons
+REM Only Windows 2008 can give a useful status of the current win32time status.
+REM ***
+
+echo ^<^<^<win_time^>^>^>
+REM read in windows version
+ver
+
+REM by standard, just query the timeserver.
+net time /querysntp | findstr SNTP
+
+REM if we're on W2K8 it is possible to query the timeserver status
+REM otherwise this will fail.
+w32tm /query /status