I've got an installation where we have approx 500 citrix servers running the terminal server agent. The TS-agent has a log file located in the installation folder (debug.log), which I need to look at from time to time. To retrieve the log file I actually have to log on to each server.
From what I've been able to find out, it is not possible to get the agent to log to an external syslog server, or retrive the logs through the api.
Does anyone have a smart solution for gathering the log files for all agents in one location, so it's easier to retrieve them?
Solved! Go to Solution.
I am no Windows expert and can't help you with your idea of resolving the issue, but I was wondering - would you be able to pull such information from UserID logs on the device itself? By it's nature, it should aggregate most of the information from logs, maybe it is contained there?
You can review those logs from CLI by doing "less mp-log useridd.log" and you can also raise debugs on it by doing "debug user-id on debug" (remember to return it to defaults, "debug user-id on info" once you are done, and verify debug level by issuing "debug user-id get" to see what is set).
Sorry if I didn't help much :)
Thanks for your answer.
Unfortuneatelly, there is so much going on in the userid.log file, that the rotation time for the file is only approx 1 hour. So that doesn't give me enough history. It's a pretty large user-id deployment with approx 70k users.
What I'm interessing in is the actually port-mappings being done in the agent. That means which port blocks are allocated to which user. I do not believe the CLI or logs on firewall can give me history on this. It just give me the "running" info when I use the commands "show user ip-port-user-mapping ip/all".
Agent log file contains execatly what I need, but it's really annoying having to log on to the servers. To bad there is no support for sending theese logs with syslog.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!