From d27dd185808d2318758d977235ef1d04ec876a66 Mon Sep 17 00:00:00 2001 From: jon Date: Fri, 1 Apr 2011 17:34:01 +0200 Subject: [PATCH] Initial version --- plugins/other/windows_domain | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 plugins/other/windows_domain diff --git a/plugins/other/windows_domain b/plugins/other/windows_domain new file mode 100755 index 00000000..3db357d0 --- /dev/null +++ b/plugins/other/windows_domain @@ -0,0 +1,24 @@ +#!/bin/sh +# munin plugin to monitor the number of logged in users +# and the number of hosts they're spread across on a windows domain. +# uses output dump of "net sess" from the domain controller. +# (c) 2011 jon@jon.bpa.nu +#%# family=manual + +SESSIONS="/srv/pub/kram/dud" + +case $1 in + config) + cat <