Citrix Terminal Server and Host Mib - Logged in Users

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Ghandi
Cacti User
Posts: 73
Joined: Tue May 04, 2004 5:09 am
Location: Graz / Austria

Citrix Terminal Server and Host Mib - Logged in Users

Post by Ghandi »

Hi,

in my company, we have 5 citrix server, interessting is, on which time, how many users are logged in.

when i add the graph template "Host MIB - Logged in Useres" he show me aboute 254 Users, this isn't true, about 48 user was it.

i think the oid is wrong, does any body know how i can get the right id? I have checked the program "getif" but i can't find the oids for logged in users, i hope anybody can help me, and again sorry for my bad english! ;)

lg ghandi
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Get the utility GetIF. It will provide good information for you.

TheWitness
Ghandi
Cacti User
Posts: 73
Joined: Tue May 04, 2004 5:09 am
Location: Graz / Austria

Post by Ghandi »

i have GetIf, but i don't know how i get the right id, ok iam a newbie at all this things about MIBs, OIDs, and also cacti.. is there a rule how i can find an id what iam looking for?

greetings :)
Ghandi
Cacti User
Posts: 73
Joined: Tue May 04, 2004 5:09 am
Location: Graz / Austria

Post by Ghandi »

ok, i think i get the right id, when i browse the cacti mib in getif, i get follong information in the descripten field
--------------------------------

The number of user sessions for which this host is
storing state information. A session is a collection
of processes requiring a single act of user
authentication and possibly subject to collective job
control.

--------------------------------

ok, everything looks nice, but when i use this oid in cacti, i get a constat number of users who's not the right user number :cry:

i use this oid .1.3.6.1.2.1.25.1.5.0.

i hope anyone can help me :)

thanks a lot!
User avatar
Burke
Posts: 42
Joined: Tue Nov 05, 2002 7:22 am
Location: Virginia, USA
Contact:

Post by Burke »

Ghandi, take a look at this post. We have 4 Citrix servers here at my client site. They only use the Citrix ICA client so I simply query the 1494 port on a regular basis to see the number of connections. It has produced satisfactory results here.

Hope this helps ;)
Burke - MCP+I, MCSE, MCSD, CNE, CCA, CCNA, LPIC-1
[url=http://www.technicalvalues.com]My Website[/url] ::[url=http://www.technicalvalues.net]Domain Registrations, SSL Certs, and Hosting[/url]
Guest

Post by Guest »

Hello,

Here is my oid for retrieving the numbers of users on my citrix boxes :

.1.3.6.1.4.1.9827.1.1.1.1.0

Let me know if it's work as goof as for me :wink:
Guest

Post by Guest »

hi,

first of all, sorry for my long time to post, but i was on holiday ;)

thanks for your tipps and informations.

@guest

i have used the generic snmp oid template to check your posted oid, but the stats will show nothing :( (-1.#J is shown)

@Burke

thanks for the link to the post, this script seems to be very interessting, because if its functionally i can list the connection on webserver as well, but i think i need this script for windows otherwise i have no chance to make this run :(


have anybody citrix oids that can i import to my getif or otherwise helping features? :)

thanks a lot for help!

greetings
User avatar
skaminski
Cacti User
Posts: 92
Joined: Tue May 11, 2004 1:42 pm

Post by skaminski »

What version of Citrix are you looking for? MetaFrame 1.8 doesn't expose the counters to SNMP. On Metaframe XP you have to enable SNMP within the Management console for Citrix (disabled by default).

Under your Farm Properties, there is an SNMP option. You have to make sure that's enabled. Or it can be done at the Server Properties.

The other option is to look at Terminal Services users (also works for MF1.8). I'm currently using that for my concurrent user count but the OID requires an agent installed on each server which we bought for a small fee.
Ghandi
Cacti User
Posts: 73
Joined: Tue May 04, 2004 5:09 am
Location: Graz / Austria

Post by Ghandi »

hi,

we use MetaFrame XP with Feature Realease 3 (in the about task i see all versions on 1.3) the snmp agent wasn't activeted, i have done this yet.

i have search my Getif again, but i can't find a number or a description that seems to be the logged in useres *grmpf*

is there a chance to test, when cacti is using snmpget and when cacti uses snmpwalk?
User avatar
skaminski
Cacti User
Posts: 92
Joined: Tue May 11, 2004 1:42 pm

Post by skaminski »

If you've now enabled SNMP for your Citrix Servers, I would try the OID Earlier in the Post. It should work. In my experience with Cacti, I normally get the #1-#J thing until the poller has cycled a couple of times. Be patient.

You can also try that OID in GetIf to see if it returns the value you are expecting. It should from what I can see.

Good Luck!
Ghandi
Cacti User
Posts: 73
Joined: Tue May 04, 2004 5:09 am
Location: Graz / Austria

Post by Ghandi »

bad news... :(

i have copied the Host MIB - Logged in Users Data Tamplate and have change the id to

.1.3.6.1.4.1.9827.1.1.1.1.0

but no data will be stored, when i use Mib Browser from Getif i will get to the following data when i copy the MIB (attachment)

i think i havn't all citrix mibs....

when i use the mib in command line and make a snmpwalk command.. nothing will shown..

when i use the snmpget command, following will show in command line

Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: enterprises.9827.1.1.1.1.0

i hope you can spend a little bit more time to solve my problem :)

thanks a lot to this point..

ghandi
Attachments
getif.JPG
getif.JPG (55.08 KiB) Viewed 12516 times
Guest

Post by Guest »

Try this OID for Metaframe Active Sessions
.1.3.6.1.4.1.3845.3.1.1.1.0


It's from the Citrx and MF MIB's that I found at

http://www.somix.com/support/mib_resources.php

I verified it on my one of my Citrix server and it was pretty close to the Value I'm seeing looking at a different OID. Those MIB's also expose some other good Citrix counters if you choose to look at them.
User avatar
skaminski
Cacti User
Posts: 92
Joined: Tue May 11, 2004 1:42 pm

Post by skaminski »

Oops...I thought I was logged in. I didn't want this to come from a Guest ID

Try this OID for Metaframe Active Sessions
.1.3.6.1.4.1.3845.3.1.1.1.0


It's from the Citrx and MF MIB's that I found at

http://www.somix.com/support/mib_resources.php

I verified it on my one of my Citrix server and it was pretty close to the Value I'm seeing looking at a different OID. Those MIB's also expose some other good Citrix counters if you choose to look at them.[/url]
Ghandi
Cacti User
Posts: 73
Joined: Tue May 04, 2004 5:09 am
Location: Graz / Austria

Post by Ghandi »

hi,

its running.. :) this oid is really pretty close... i know which oid that is..

its the OID of the Meetings in Citrix Management Console.. i hope i will find the oid for the Users.. i search and search... because in meetings there are 3 or 4 more informations stored like

Console
ica listen
rdp listen
and the idle time

please post if anyone have found the right id, who listens the users!

and skaminski thanks a lot for your help! ;)
User avatar
skaminski
Cacti User
Posts: 92
Joined: Tue May 11, 2004 1:42 pm

Post by skaminski »

I'm not sure what you're meaning by OID of the Meetings in Citrix Management Console.

the OID .1.3.6.1.4.1.3845.3.1.1.1.0

is for enterprises.citrix.product.server.metaframe.activesessions.0
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest