Joe Tran

Members
  • Content Count

    125
  • Joined

  • Last visited

  • Days Won

    16

Community Reputation

24 Excellent

1 Follower

About Joe Tran

  • Rank
    Community All Star

Recent Profile Visitors

789 profile views
  1. 🤔 ... LogicMonitor's StatusPage allows for webhook integrations. Something can be designed to consume (or scrape) those events . This would necessitate LM to post their planned maintenances, which they do not do. @LogicMonitor --- is there a reason why planned maintenances and portal upgrades are not announced on StatusPage?
  2. Looking at the innards of the service-detector.jar, which is where I think the canonical LMRequest class is defined, you won't be able to do this with an internal web check (scripted or out-of-box) as documented. You would be able to do this with a scripted Datasource though--something similar to this: https://stackoverflow.com/questions/21223084/how-do-i-use-an-ssl-client-certificate-with-apache-httpclient. The libraries listed in the SO thread solution (except for junit, which isn't necessary) are available to the current GA collector. I have not attempted to use the apache httpclient libraries in a scripted internal web check... yet. So if you feel adventurous 😉...
  3. I had DIY'd a scripted Groovy datasource ages. Not sure if this was exactly what PortMulti- did, but the results should be similar. (host, port) = "##WILDVALUE##".split(':') try { s = new Socket(host, port.toInteger()) s.close() return 0 } catch (ConnectException ce) { println ce.toString() return 1 } catch (BindException be) { println be.toString() return 4 } catch (NoRouteToHostException re) { println re.toString() return 2 } catch (PortUnreachableException pe) { println pe.toString() return 3 } catch (Exception e) { println e.toString() return 5 } You would just then setup a datapoint to capture the exitCode and alert if it was > 0.
  4. ... or Jenkins Shared Library.
  5. Assuming you leverage and consume custom alert messaging, you can define the KB article at the datasource template level. Taking your CPU utilization example, go to your CPU datasource LogicModule, and add the URL to the custom alert messaging for the desired datapoint triggering alerts. If the KB is different for different subset of resources, then the alert messaging should be updated to reference a custom property that would be assigned to or inherited by the resource. Example ##CPU_KB_URL##, then you would assign/inherit the cpu_kb_url property to your different subsets of resources. This does mean you will have to maintain these properties in LM.
  6. It looks like someone in my org had enabled "Enhanced Monitoring" for several AWS RDS instances--a surprise, to be sure, but a welcome one . I would love Cloud Collector method that can consume this data and display it along side all other metrics we are collecting in LogicMonitor. Implementation should be relatively simple. In the discovery, presumably using describe-db-instances, we would just need a system.aws* property for the "dbiresourceid" which can be used to get-log-events.
  7. We have website-Overall trigger critical alerts and individual test locations trigger errors. I have toyed with the idea of a script that scrapes our ticketing system's API (ServiceNow) for website alerts, query the LM REST API for the alert message from the one/all error level alerts for that monitor object, and add that "context" to the ticket. We're pretty heavy in AWS so this would be all done via one or more Lambda Functions. Biggest downside--this is asynchronous.
  8. Saw this article from Ars Technica pop up in my news feed 😶
  9. I was able to recently use the v2 REST API to clone dashboards. 1. HTTP GET your "template" dashboard via /dashboard/dashboards/{id} 2. Modify the "template" to suit your need for the new clone, and deleting the following keys: id, template, userPermission, shareable, (and maybe groupName and groupFullPath, I was cloning private dashboards, so these keys don't apply to my immediate use case) 3. HTTP POST your modified "template" at /dashboard/dashboards/{id}/clone *insert disclaimer about undocumented REST API features*
  10. Assuming this is for the website-Overall instance--I'll just leave these other posts about improving and providing better context for Website (formerly Services) alerting: I am guessing the issue is one of scoping. Both website-Overall and the individual test locations are treated as separate instances. LogicMonitor doesn't have a good mechanism for instances to share data and metadata. I have contemplated creating a job/script/function that crawls our ticketing system for Website alert tickets, polls the LM API for the message from the individual test location (which we populated with the ##WEBSITERESPONSE## token), and insert that into the ticket. 🤷‍♂️
  11. ... with exceptionStatus ORA-01013: user requested cancel of current operation That is all. 😅
  12. As I am sitting here, trying to explain to one of our internal partners, for what seems like the umpteenth time, on how to read an alert threshold expression from a ##THRESHOLD## token--it would be great if there were individual message tokens for each of the thresholds. Something like ##WARNINGTHRESHOLD##, ##ERRORTHRESHOLD##, and ##CRITICALTHRESHOLD## that should render the comparison operator and that respective threshold value, example--- This way, I can be more clear as to what this string of numbers actually mean in this type of fashion
  13. Our DevOps team is developing a Grafana solution and having a LogicMonitor plug-in would be great to have!
  14. It looks like without instances, the Alert Threshold report does not list the datasource at all.
  15. So it looks like while the UI hides datasources without instances and the API will not list the datasource when querying for /device/groups/{groupId}/datasources, the API will still accept PUT/PATCH operations for that datasource id /device/groups/{groupId}/datasources/{datasourceId}/alertsettings Hopefully that persists when the datasource finds a blocking session!