Page 1 of 2

Number of user connection monitoring on Citrix server

Posted: Mon Dec 03, 2012 5:14 am
by lafargeuser
I have new requirement of monitoring Number of user connection on Citrix server.

Is there any plugin available for achieving this ? Its Windows server.

Re: Number of user connection monitoring on Citrix server

Posted: Mon Dec 03, 2012 11:16 am
by abrist

Re: Number of user connection monitoring on Citrix server

Posted: Thu Dec 06, 2012 6:38 am
by lafargeuser
i am using Check_ SNMP_ Citrix plugin.

I have placed this plugin in /usr/local/nagios/libexec/ (NagiosXI Server)

Using NagiosXI, how can i call from XI to remote server (windows). Where i have to look & do the necessary changes or command definition. I am not sure.

Re: Number of user connection monitoring on Citrix server

Posted: Thu Dec 06, 2012 10:14 am
by mguthrie
Take a look at the Managing Plugins doc in our admin manual, that should cover how to turn a new plugin into a service check:
http://assets.nagios.com/downloads/nagi ... hp#plugins

Re: Number of user connection monitoring on Citrix server

Posted: Tue Dec 11, 2012 9:25 am
by lafargeuser
do i need to installed this snmp4tpc on client machine ? its zip file & after extracting i am getting MIB file.

http://www.wtcs.org/snmp4tpc/snmp4ctx.htm

Re: Number of user connection monitoring on Citrix server

Posted: Tue Dec 11, 2012 11:59 am
by scottwilkerson
Looking at this specific plugin it does look like you will need to install the MIB on the Nagios server Admin -> Manage MIBs, as well as follow the install documentation in the ZIP.

I don't have a system to test this on, if you are just looking for the count only you may want to look at one of the other plugins abrist mentioned.

Re: Number of user connection monitoring on Citrix server

Posted: Wed Dec 12, 2012 5:41 am
by lafargeuser
Upload MIB files in nagios. Also followed document.

but when i am trying to run below commnad under /usr/local/nagios/libexec
Got this message
./check_snmp_citrix 10.105.32.96 public WFActive
Timeout: No Response from 10.105.32.96.
USERS OK - users currently logged in |User=;;;

Re: Number of user connection monitoring on Citrix server

Posted: Wed Dec 12, 2012 1:07 pm
by scottwilkerson
From the XI server can you run

Code: Select all

snmpget -v 1 -c public 10.105.32.96 sysUpTime.0
If not I would guess that either there is a firewall blocking access to SNMP on 10.105.32.96 or the SNMP service isn't running on 10.105.32.96 or finally, public isn't the SNMP community string...

Re: Number of user connection monitoring on Citrix server

Posted: Thu Dec 13, 2012 4:54 am
by lafargeuser
Done the necessary changes. Now able to communicate with the server & below is output.

# snmpget -v 1 -c public 10.105.32.96 sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (778) 0:00:07.78

But when i run below command under libexec, i am not getting count of users logged in

# ./check_snmp_citrix 10.105.32.96 public WFActive
USERS OK - Such users currently logged in |User=Such;;;

Re: Number of user connection monitoring on Citrix server

Posted: Thu Dec 13, 2012 5:57 pm
by scottwilkerson
I just looked at the Exchange page for the plugin you are using and there is a review that says the same thing.

You will need to contact the plugin author dudleyperkins_AT_gmail.com this is likely a bug.