Home » edgesight

Tag: edgesight

Move the Citrix Edgesight SSRS report path

We recently had to move the Citrix Edgesight SSRS report server for a client for their Citrix Edgesight services.

Worth noting the following caveats when moving the SSRS report server location from edgesight

  1. All Custom reports are deleted
  2. All existing report subscriptions are deleted
  3. The standard edgesight reports will be uploaded to the new server under http://%server%/%reports%/Citrix/Edgesight/GUID/*
  4. Only the default edgesight schedules are created

NOTE: This does not affect any alerts / alert rules you have configured – these are left intact. (which is great!)

Citrix edgesight SSRS move alert

Also permissions for the service account need to be set as follows

  • Administrator role under Site-wide Security to allow uploading of schedules.
  • Administrator role in the root folder of the SSRS site to allow uploading of reports.
  • “Log on Locally” user right on the SSRS server.

Note the report services path can changed from within the edgesight console

  1. login as someone with edgesight admin rights (manage server settings)
  2. Configure Tab
  3. Reporting Services
  4. Report server

Citrix edgesight SSRS Configuration page

Reference: How to move the Citrix Edgesight SSRS report path

 

Citrix Edgesight email test works but Edgesight alert emails not sending

Problem:

After the setup of a new Edgesight server it was noticed that the notifications settings of the Citrix Edgesight server were correct and when testing them would get an instant email from the edgesight server (Server Configuration > Settings > Notifications > Test Email button)

edgesight_email_Test_working

However when testing an Edgesight alert the ‘Alert’ emails weren’t coming through, even though we had successfully tested above!

 

Solution:

After checking the usual thing slike can Edgesight talk to the exchange server, is relay allowed for the IP address of the Edgesight server in the exchange server etc the following steps were performed:

  1. Check core_zalertq_actions and cote_zalertq_recv were listed as running under Server Status > Server script host and if no start them or reboot the server and check they have startedcitrix_edgesight_alerts
  2. If they are ok Check that the server name matches the FQDN of the SSL certificate on the Edgesight server under ‘Server Configuration > Settings > Notifications’ By default Edgesight will only fill in the HOSTNAME which wont work with the SSL settings on the Edgesight servercitrix_edgesight_notificationsettings

Working!

edgesight_email_alert_Test_working

 

References:

And after writing all this I found the official Citrix article – http://support.citrix.com/article/CTX126701 .. so could have saved myself repeating it all! Grrr ūüôā

Edgesight some devices not updating

Edgesight 5.4 Devices not all updating

 

Errors:

EventID: 1309

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 21/11/2012 05:09:03
Event time (UTC): 21/11/2012 05:09:03
Event ID: 253f40dc21e443718a8b4ae7da0f3f58
Event sequence: 19
Event occurrence: 4
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT/edgesight-1-129979474088414087
Trust level: Full
Application Virtual Path: /edgesight
Application Path: C:Program Files (x86)CitrixSystem MonitoringServerEdgeSightPages

Edgesight 5.4 ASP.net eventlog erro 1309

 

Solution: http://support.citrix.com/article/CTX132116

Overview of fix

Open the %ProgramFiles(x86)%CitrixSystem MonitoringServerEdgeSightPages folder on the EdgeSight server. Open the web.config file in Notepad

If the web.config file already contains the <appSettings> tag, then you have to insert the <add> tag under the existing <appSettings> tag.

</system.web> </location>

MaxHttpCollectionKeys” value=”50000″ />

</configuration>

5000-10000 typical config¬†– we raised ours¬†to 50000 for teh backlog of info where the agents hadn’t updated in 2-3 days

Edgesight SSRS Permissions Configuration

Situation: when creating the new Edgesight SSRS solution the following changes had to be made to the SSRS server to allow the Edgesight to create folder, and upoad all its Reports etc

Solution:

Log into SSRS as Administrator
Click on site settings
choose security
add the necessary user (edgesiht admin account) as a system administrator…
Test link
Got to SSRS page
http://SERVER/Reports/Pages/Settings.aspx?SelectedSubTabId=SecurityLinkID
Log into SSRS as Administrator
Click on folder settings
choose security
add the necessary user as a Browser, Content Manager, My Reports, Publisher, Report Builder

Edgesight 5.4 report subscription error

Situation: When creating a new subscription report in edgesight you may get

Error Message:

edgesight_ssrs_reports_subscriptionerror

An error occurred creating the ¬† subscription: An attempt has been made to use a delivery extension that is ¬† not registered for this report server. —> Microsoft.ReportingServices.Diagnostics.Utilities.DeliveryExtensionNotFoundException: ¬† An attempt has been made to use a delivery extension that is not registered ¬† for this report server.

Solution:

Open the SQL Server Reporting services configuration manager for the edgesight database instance and edit the configure the ‘Email settings’ section.

In our instance the below settings below were blank

 

XenApp 6.5 PVS Generalise Script 2012

Copy of script used to further ‘generalize’ our XenApp¬†servers before cloning via PVS

__ BEGIN SCRIPT ___

REM clear event logs

wevtutil cl System

wevtutil cl Security

wevtutil cl Application

wevtutil cl Setup

wevtutil cl “Forwarded Events”

 

REM Stop Edgesight and Delete database

net stop RsCorSvc

net stop FirebirdServerCSMInstance

del “C:ProgramDataCitrixSystem MonitoringDataRSDATR.FDB” /q

del “D:ProgramDataCitrixSystem MonitoringDataRSDATR.FDB” /q

 

REM stop Appsense Services and delete JUST the machine ID

net stop “AppSense Application Manager Agent”

net stop “AppSense Client Communications Agent”

net stop “AppSense¬†EmCoreService”

net stop “AppSense Watchdog Service”

reg delete “HKEY_LOCAL_MACHINESOFTWAREAppSense TechnologiesCommunications Agent” /v “Group ID”

reg delete “HKEY_LOCAL_MACHINESOFTWAREAppSense TechnologiesCommunications Agent” /v “Machine ID”

 

REM Change EnableSecuritySignature value to 0 for drive mappings to modified down level clients (Win 2000) Рthis setting didnt work in just GPO.

reg delete “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesLanmanWorkstationParameters” /v “EnableSecuritySignature” /f

reg add “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesLanmanWorkstationParameters” /v “EnableSecuritySignature” /t REG_DWORD /d 0 /f

Edgesight 5 not working on Xenapp 6.5 in Private mode with Provisioning Services 5.0

Scenario: Edgesight 5.6 not working on Xenapp 6.5 in Private mode with Provisioning Services 5.0

The edgesight agent would run locally without issue Рbut little to no data would be uploaded for each the server for users logons when running reports etc etc

The edgesight server would report a duplicate entry for registered servers after every reboot of any of the PVS servers.

Steps:

the following steps have to be taken to install the Edgesight Agent properly on a privatte PVS Image solution

  1. The registry key must be set to ignore PVS Private mode (so the agent will actually run)
  2. the edgesight database must have a consistent disk to write its database too

FIX 1) (if its a x64 bit server remember to use syswow64)

HKEY_LOCAL_MACHINESOFTWARECitrixSystem MonitoringAgentCore4.00 “IgnorePVSMode”=dword:00000001

(allow the edgesight agent to run even in private PVS mode)

FIX 2)

IF AGENT IS NOT INSTALLED ALREADY

msiexec.exe /i EdgeSightXAAgent.msi /l logfile.log /q SERVER_NAME=EDGESIGHTSERVER COMPANY=Mycompany DATA_DIR=‚ÄĚd:CitrixSystem MonitoringMydata‚ÄĚ

IF AGENT IS INSTALLED ALREADY

  1. Within the registry, navigate to the key HKLMSoftwareCitrixSystem MonitoringAgentCore4.00 and change the DataPath to the appropriate location on the physical disk of the target devices.
  2. Within the file system, navigate to %ProgramFiles%CitrixSystem MonitoringAgentCoreFirebird and locate aliases.conf.
  3. Open aliases.conf in a text editor and change the RSDatr entry to match the location of the data folder on the physical disk of the target devices. For example: RSDatr = D:CitrixSystem MonitoringDataRSDatr.fdb

References:

http://support.citrix.com/proddocs/topic/edgesight54/es-agent-install-streamed.html http://support.citrix.com/article/CTX127327

James's Super Amazing Hotfix Post

Windows 2008 x64 SP1 Р(NON R2)

http://support.microsoft.com/kb/2379016¬†– A computer that is running Windows Vista or Windows Server 2008 stops responding and hangs at the “Applying User Settings” stage of the logon process (Fix Stuck at Welcome screen)

http://support.microsoft.com/kb/974878 РPhysicalDisk counters contain invalid and duplicate entries when you use Microsoft Multipath I/O (MPIO) to control one or more storage devices (Fix for Oracle EM to graph disk access)

Windows 2008 x64 R2 SP1 (Terminal Services, Remote Desktop Services)

http://support.microsoft.com/kb/2617858 РUnexpectedly slow startup or logon process in Windows Server 2008 R2 or in Windows 7*
http://support.microsoft.com/kb/2620656 РInvalid redirected printers may be available in a Remote Desktop Services session that connects to a RD Session Host server that is running Windows Server 2008 or Windows Server 2008 R2*
http://support.microsoft.com/kb/2578159 РThe logon process stops responding in Windows Server 2008 R2 or in Windows 7
http://support.microsoft.com/kb/2551503 РA mapped drive that has the non-persistent flag set is displayed as a disconnected drive in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2444328 РYou cannot access shared files or shared printers in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/917607 РI cannot open Help that was created in the Windows Help format (WinHlp32.exe)
http://support.microsoft.com/kb/2465772 РAn application or service that uses Winsock API or Winsock Kernel API may randomly stop responding in Windows Server 2008 R2 or in Windows 7
http://support.microsoft.com/kb/2661001¬†– “Please wait for Local Session Manager” message remains for several minutes when you disconnect from a computer that is running Windows Server 2008 R2 during the logon process
http://support.microsoft.com/kb/2590550 РThe desktop does not load and only displays a black or blue background after you log on to a computer that is running Windows 7 or Windows Server 2008 R2

Windows 2008 x64 R2 POST SP1 (Terminal Services, Remote Desktop Services)

http://support.microsoft.com/kb/941158 – In an Active Directory service domain environment, you configure the Internet Explorer Maintenance Group Policy settings. A user logs on to the domain from a Windows XP-based, a Windows Server 2003-based, or Windows Vista-based client computer that has Internet Explorer 7 or Internet Explorer 8 installed. ever, the user experiences a 20-second logon delay compared with a client computer that has Internet Explorer 6 installed.
http://support.microsoft.com/kb/2571388 – You install the Remote Desktop Session Host role service on a computer that is running Windows Server 2008 or Windows Server 2008 R2. You try to log off a Remote Desktop Services session on the computer. In this scenario, the Remote Desktop Services session stops responding. After some time, the computer stops accepting incoming Remote Desktop Protocol (RDP) or Independent Computing Architecture (ICA) connections. You must turn off and then restart the computer to recover from this issue.
http://support.microsoft.com/kb/2661001 – On Servers running Windows 2008 R2, the following error messages are displayed during the logon process: ‚ÄúPlease wait for Local Session Manager‚ÄĚ, ‚ÄúThe task you are trying to do cannot be completed because remote desktop services is currently busy‚ÄĚ.
http://support.microsoft.com/kb/2465772 – An application or service that uses Winsock API or Winsock Kernel API might randomly stop responding in Windows Server 2008 R2.
http://support.microsoft.com/kb/2444328 – You cannot access shared files or shared printers in Windows 7 or in Windows Server 2008 R2.
http://support.microsoft.com/kb/2551503 – A mapped drive that has the non-persistent flag set is displayed as a disconnected drive in Windows 7 or in Windows Server 2008 R2.
http://support.microsoft.com/kb/2578159 – The logon process stops responding in Windows Server 2008 R2 or in Windows 7.
http://support.microsoft.com/kb/2620656 – Invalid redirected printers may be available in a Remote Desktop Services session that connects to a RD Session Host server that is running Windows Server 2008 R2.
http://support.microsoft.com/kb/2617858 – Unexpectedly slow start-up or logon process in Windows Server 2008 R2 or in Windows 7.
http://support.microsoft.com/kb/917607 – When you try to use Help in some programs on a computer that is running Windows 7 or Windows Server 2008 R2, you may receive an error.
http://support.microsoft.com/kb/977346 – The Welcome screen may be displayed for 30 seconds during the logon process after you set a solid colour as the desktop background in Windows 7 or in Windows Server 2008 R2.
http://support.microsoft.com/kb/2551503 – A mapped drive that has the non-persistent flag set is displayed as a disconnected drive in Windows 7 or in Windows Server 2008 R2.
http://support.microsoft.com/kb/2775511 – An enterprise hotfix rollup is available for Windows 7 SP1 and Windows Server 2008 R2 SP1.
http://support.microsoft.com/kb/2647753 – Update rollup: Fix printing problems in Windows 7 and Windows Server 2008 R2.
http://support.microsoft.com/kb/2661332 – You cannot re-establish a Remote Desktop Services session to a Windows Server 2008 R2-based server.

Citrix XenAPp 6.5 on Windows 2008 R2 x64

http://support.citrix.com/article/CTX132912 – XA650W2K8R2X64025*

http://support.citrix.com/article/CTX132392 – XA650W2K8R2X64019*

http://support.citrix.com/article/CTX130794 – XA650W2K8R2X64001*

http://support.citrix.com/article/CTX131486 – XA650W2K8R2X64011*

http://support.citrix.com/article/CTX132789 – XA650W2K8R2X64023
http://support.citrix.com/article/CTX130989 – XA650W2K8R2X64004
http://support.citrix.com/article/CTX131221 – HDXWMIPROV620W2K8R2X64001
http://support.citrix.com/article/CTX130971 – Hotfix XA650W2K8R2X64002
http://support.citrix.com/article/CTX131837 – Hotfix XA650W2K8R2X64014
http://support.citrix.com/article/CTX131456 – Hotfix GPMx150WX64002

Microsoft Updates on Citrix XenApp 6.5 on Windows 2008 R2 x64 Post RO4
KB2647753

KB2775511

KB917607

KB2620656

KB2465772

KB2661332

Citrix Webinterface 5.4

http://support.citrix.com/article/CTX130660 – Hotfix WI540MSI002 – For Citrix Web Interface 5.4 for Windows ‚Äď Issues with WI load balancing

http://support.citrix.com/article/CTX117273 РKB Article to Fix ASP.net Slow Web Interface Initial Load times

Citrix Edgesight 5.4

http://support.citrix.com/article/CTX131261 РES540XA6AgentWX64001

http://support.citrix.com/article/CTX131172 РES540ServerWX64001

http://support.citrix.com/article/CTX131171 РES540ServerWX86001

Windows 2003

Terminal Services http://support.microsoft.com/kb/977629

RDBSS http://support.microsoft.com/kb/983169

WMI Stability http://support.microsoft.com/kb/2257980

TCP/IP http://support.microsoft.com/kb/2909312

SMB http://support.microsoft.com/kb/961799

NTFS http://support.microsoft.com/kb/981166

RDP Client http://support.microsoft.com/KB/925876 http://support.microsoft.com/KB/2481109

Citrix Edgesight Server Script Errors

Errors:
After stopping the Citrix RSSH services the following error is received when viewing the Server Status > Server Script Host > Scripts

“Retrieving the COM class factory for component with CLSID¬†x failed due to the following error: 800703fa”

Resolution:
Restart IIS

or

Stop IIS AND Stop the Edgesight RSSH Services (both)
Start IIS; Start RSSH Services

Citrix Edgesight 5.4 reports are one hour out

Citrix Edgesight supports automatic daylight savings for US only (apparently) all other unlucky countries need to manually turn it on and off. ūüôā

Solution:

Edgesight 5.1: Company Configuration > Agent Settings > Daylight savings > Off / On

Edgesight 5.4: Company Configuration > Settings > Daylight Savings Off / On

Daylight Savings change for Edgesight
Daylight Savings change for Edgesight

http://support.citrix.com/article/CTX124463