Gjon

Members
  • Posts

    7
  • Joined

  • Last visited

  • Days Won

    3

Reputation

5 Neutral

1 Follower

About Gjon

  • Rank
    Member
    Member

Recent Profile Visitors

158 profile views
  1. Thanks! I have access to the Cloud Integrations tab but don't see Citrix as an option. I will reach out to my CSM.
  2. I wasn't aware of any API changes. Do you have a link?
  3. Installation 1. Import the FSLogix Apps property source (L7K9XW) and create a new event source: Name: FSLogix Locks Applies to: hasCategory("FSLogixEnabled") Type: Script Event Script: Copy the code at the bottom of the post and save it as "fslogix.ps1". Upload this into LM and set these fields accordingly: Windows Script: fslogix.ps1 Parameters: ##HOSTNAME## Schedule: 5 minutes Add a filter: Type: Message Comparison: Contain Value: locked Clear after: 60 minutes (or however long you want) Alert Messge: Host: ##HOST## Message: ##MESSAGE## Detected on: ##START## Note: Your collector will need permissions to view the event logs of the remote servers! Result: Save below as fslogix.ps1: $hostname=$args[0] $date = (Get-Date).AddMinutes("-5") $eventlogs = Get-WinEvent -ComputerName $hostname -LogName "Microsoft-FSLogix-Apps/Operational" | ? { $_.timecreated -gt $date } $object = New-Object System.Object $object | Add-Member -MemberType NoteProperty events $events $object.events = @() foreach ($event in $eventlogs) { $obj = New-Object System.Object $obj | Add-Member -type NoteProperty -name happenedOn -Value $event.TimeCreated.ToString("yyyy-MM-ddTHH:mm:ss") $obj | Add-Member -type NoteProperty -name severity -Value $event.LevelDisplayName $obj | Add-Member -type NoteProperty -Name message -Value $event.Message $object.events += $obj } $output = $object | ConvertTo-Json return $output
  4. Installation 1. Install the package from LM Exchange "Citrix Cloud" 2. Install Cloud Connector property source: Locator JYW9D7 Configuration This datasource requires several properties to be set: 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. CITRIX.CLOUD.ID - Create a secure client, you can name it "LogicMonitor". The ID here will be used for this property. CITRIX.CLOUD.PASS - This is the secret when you created the secure client. CITRIXCLOUD.OAUTH.KEY - 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 - Create an API token in LogicMonitor with administrator privileges, copy the Access ID. LM.API.KEY - This is the API token access key that was created above. LM.API.ACCOUNT - 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. If you have any issues, feel free to private message me!
  5. Hey All, Is it possible to hide the Device Dead skull and bones icon? We have servers that power on/off based on load and its annoying to see that icon at the root of our folder structure..
  6. I created some modules and posted them to the exchange a while back. I'll have to document how to set it up but feel free to reach out if you need help in the meantime.