Number of user connection monitoring on Citrix server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Number of user connection monitoring on Citrix server

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Number of user connection monitoring on Citrix server

Post by abrist »

Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Number of user connection monitoring on Citrix server

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Number of user connection monitoring on Citrix server

Post 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
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Number of user connection monitoring on Citrix server

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Number of user connection monitoring on Citrix server

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Number of user connection monitoring on Citrix server

Post 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=;;;
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Number of user connection monitoring on Citrix server

Post 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...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Number of user connection monitoring on Citrix server

Post 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;;;
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Number of user connection monitoring on Citrix server

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked