Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone program with the Citrix SDK?

Status
Not open for further replies.

Ogi

Technical User
Nov 9, 2001
896
GB
Hi,

I'm stuck on a programming issue with the Citrix SDK, I need to use the CTXQuerySessionInformation to get the logon time and idle time BUT I can't work out how it's done, can anyone help?

Cheers,
Carl.
 
Hey Carl,
Hate to tell you this but the SDK was covered in my CTX 1240 class but it was so useless that we talked about it and that was it!!

Sorry,
Brandon
 
Hi,

Well it would help you if you had an instructor that new something!

I've used the SDK kit to allow me to do all sorts of logging without having to install Resource Manager and slow the servers down with all sorts of systems applications.

I've managed to write utilities that compare the Published Application name and if it is one that shouldn't map drives for a particular published application, it doesn't.

I log each user that logs onto the server, with their username, full name, client IP address, which Published App they are running, date, time, client version. This enables me to show logging in trends over each day/month.

My next logging system will log the users and their idle times (which is why I asked the question) so I can highlight those users that sit there and do nothing.

One I've been asked for is to log what they do all day.

Now I must admit that the last two would be covered by Resource Manager, but I don't want to install it and have to administer it!

Unless someone has spent the time thoroughly looking at it, and in my eyes, prove it! I tend to take these comments with a pinch of salt!

But thanks for your input!

Cheers,
Carl.
 
If you did have RM installed, you could use the summary database and extract the information from there - I've never used the SDK, but I've had to dig into some of the database tables.

The SDB produces reports on exactly what you are doing - that is, users, applications (sorry, executables) and CPU/memory/idle times. I'm not at a Citrix server right now, but I think this is all stored in LU_METRICS (don't quote me!)

I don't understand what you mean by "have to administer it" - it pretty much looks after itself, from my experience - and it's not hard to configure. The Crystal Reports Templates provided me with a way to link the SDB to web pages, so managers can check up on this sort of thing without bothering me :)

If you want to carry on with the SDK, have you considered joining the Citrix Developer Network? CitrixEngineer@yahoo.co.uk
 
Hi,

Thanks for the info, I've already joined CDN and am someway to fixing the problem/issue!

I can't be bothered installing RMS on my servers and having space on a database to store this information is not available to me (at the moment)!!!!

May be one day, I'll take a look at it!

Cheers,
Carl.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top