Solved Citrix Logon Simulator – Configuration error
I have created a SquaredUp Dashboard to view the State of the Citrix Logon Simulator. Now if i want to execute the task “View last logon result” i receive the following error:
1 2 3 |
Get-Content : Der Pfad "C:\Monitoring\Citrix\Log\CITRIX-DESKTOP (Citrix Simulated Login)\sflauncher.log" kann nicht gefunden werden, da er nicht vorhanden ist. |
In fact the path “C:\Monitoring\Citrix\Log\CITRIX-DESKTOP (Citrix Simulated Login)\sflauncher.log” does not exist because it is C:\Monitoring\Citrix\LOGS\….. This is the default path that is created by the script.
So the configuration of the task is not correct as it refers to Log instead of Logs. Is there a way to solve this? Maybe an update of the MP?
Best answer
This MP is hosted on Github. I would raise an issue there for it to be resolved by the developer:
https://github.com/squaredup/Community.Citrix.LogonSim.MP
Open Community.Citrix.LogonSimulator.mpb with MP Author – editor. Save as XML file. Open XML file with Notepad and modify line:
Get-Content $ConfigurationPath\Log\$TestName\sflauncher.log</ScriptBody>
to
Get-Content $ConfigurationPath\Logs\$TestName\sflauncher.log</ScriptBody>
Import as new management pack (before this delete the original MP).
Now the task works fine.
Answer this question
To reply or comment, use the 'Comment' link on the relevant answer or question.