Commit f7351c4c by JR Dalrymple

0.1 release

parent ed9a88ec
...@@ -3,8 +3,3 @@ Powershell script used for passive logging of Citrix user sessions ...@@ -3,8 +3,3 @@ Powershell script used for passive logging of Citrix user sessions
Requires XenApp SDK installed on XenApp server doing the monitoring Requires XenApp SDK installed on XenApp server doing the monitoring
Will also require a service on the nagios host for each user you wish to have monitored Will also require a service on the nagios host for each user you wish to have monitored
The command that does the gett'n: Get-XASession -full | where-object { ($_.ApplicationState -eq 'Active') }
Get-XASession -full | where-object { ($_.ApplicationState -eq 'Active') } | select Acco
untName, BrowserName
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
# #
# Release Hitory: # Release Hitory:
# #
# 10/28/2015 - Initial Release. It works. Could use a usage or something.
################################################################################# #################################################################################
$nscpBinary = "c:\program files\NSClient++\nscp.exe" $nscpBinary = "c:\program files\NSClient++\nscp.exe"
...@@ -52,7 +53,7 @@ foreach ($user in $userStringArray) { ...@@ -52,7 +53,7 @@ foreach ($user in $userStringArray) {
"host=$nagiosHost", "host=$nagiosHost",
"command=$user", "command=$user",
"message=user $user is currently online", "message=user $user is currently online",
"result=OK", "result=0",
"encryption=$encryption", "encryption=$encryption",
"payload-length=$payloadLength", "payload-length=$payloadLength",
"password=$nscaPassword", "password=$nscaPassword",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment