Citrix Cloud Monitoring


Gjon
 Share

Recommended Posts

Installation

  1. 1. Install the package from LM Exchange "Citrix Cloud"
  2. image.thumb.png.7e526043c57b90520792c04e4b2d834b.png
  3. 2. Install Cloud Connector property source: Locator JYW9D7

Configuration

This datasource requires several properties to be set:

  1. CITRIX.CLOUD.CUSTOMER
      - This is found in the Citrix Cloud Portal: Identity and Access Management > API Access > Secure Clients. Copy the bolded customer ID on the page.
  2. CITRIX.CLOUD.ID
  3.   - Create a secure client, you can name it "LogicMonitor". The ID here will be used for this property.
    CITRIX.CLOUD.PASS
  4.   - This is the secret when you created the secure client.
    CITRIXCLOUD.OAUTH.KEY
  5.   - This will be autogenerated and populated by LogicMonitor using the above credentials. There is a Citrix Cloud OAuth datasource that will generate a bearer token and save it as a property on the device.
    LM.API.ID
  6.   - Create an API token in LogicMonitor with administrator privileges, copy the Access ID.
    LM.API.KEY
  7.   - This is the API token access key that was created above.
    LM.API.ACCOUNT
  8.   - This is your LogicMonitor account name, you can probably copy the subdomain of your LM portal. https://yourco.logicmonitor.com

1. Set the properties above (except CITRIXCLOUD.OAUTH.KEY) wherever you'd like depending on your folder structure. I like to set the LM API properties at the root and the Citrix Cloud properties per client (folder).
2. Find your cloud connector device in LM and add the category "PrimaryCC". Make sure you have the Cloud Connector property source installed as well!
3. The OAuth datasource should run, generating a token that the other datasources will use to query Citrix Cloud's API. You can also do a manual "poll now" to speed up the process. You should now see the CITRIXCLOUD.OAUTH.KEY property on the device.
image.thumb.png.1b264c8fb4a1ee8e062517bce15bdfe4.png
image.png.59d29e78f0bb37a871336b2896af61ff.png

If you have any issues, feel free to private message me!

Edited by Gjon
  • Like 5
Link to comment
Share on other sites

  • 2 months later...

Hi,

Thanks so much for this awesome data source. I'm aware that Citrix is changing the API's for the Cloud monitoring in July and I believe these data sources will be affected. 

Do you happen to be working on any updates to support the new method?

Thanks!

Link to comment
Share on other sites

11 minutes ago, Brian Wagner said:

Hi,

Thanks so much for this awesome data source. I'm aware that Citrix is changing the API's for the Cloud monitoring in July and I believe these data sources will be affected. 

Do you happen to be working on any updates to support the new method?

Thanks!

I wasn't aware of any API changes. Do you have a link?

Link to comment
Share on other sites

It was on my Citrix Cloud logon for the last few months. Of course now it seems to have disappeared. Wondering if they decided to hold off. 

At a high level things were moving from customer.xendesktop.net to https://api-us.cloud.com/monitorodata with different references. I see mention of it all here:

Accessing Monitor Service Data in Citrix Cloud

  • The "https://{Customer_Id}.xendesktop.net/Citrix/monitor/odata/v4/data" URL is replaced with "https://{ApiGatewayEndpoint}". The HTTP header "Customer" is now replaced with "Citrix-CustomerId".

 

  • Like 1
Link to comment
Share on other sites

  • Administrators

Complete speculation here, but Citrix may be one of the new SaaS monitored apps. SaaS monitored apps can be monitored via the cloud collector instead of running from an on-prem collector in your environment. Go to the exchange and look for the "Cloud Integrations" tab. If you don't have it, reach out to your CSM.

Link to comment
Share on other sites

22 minutes ago, Stuart Weenig said:

Complete speculation here, but Citrix may be one of the new SaaS monitored apps. SaaS monitored apps can be monitored via the cloud collector instead of running from an on-prem collector in your environment. Go to the exchange and look for the "Cloud Integrations" tab. If you don't have it, reach out to your CSM.


Thanks! I have access to the Cloud Integrations tab but don't see Citrix as an option. I will reach out to my CSM.

Link to comment
Share on other sites

  • 4 weeks later...
  • 5 weeks later...
  • 5 weeks later...

Hi All,

Would love to get this script working, added all the api elements but still getting this error:

image.png.3a4effcfbd98b227b287f55be410c608.png

Does the groovy script need updated to reflect any Change to API from Citrix side?

Has anyone out there still got this working?

Cheers

Jav

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share