Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
JR Dalrymple
/
check_citrix_user
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f7351c4c
authored
Oct 28, 2015
by
JR Dalrymple
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.1 release
parent
ed9a88ec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
Readme.md
+0
-5
check_citrix_user.ps1
+2
-1
No files found.
Readme.md
100644 → 100755
View file @
f7351c4c
...
@@ -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
check_citrix_user.ps1
View file @
f7351c4c
...
@@ -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
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment