Recent Discussions
SDTing via API, one source work the other does not
So I've been working on an LM/Jira JSM integration lately.. the native functions did not work for us. And to be quite honest I cannot remember the details but suffice to say that I have a working Custom HTTP Delivery with three URLs for Active, ACK, and Clear alert functions. Now the goal is an automation action on the Jira side to SDT a specific host. So I began by building and testing the call in Postman. Works like a champ.. I can add a DeviceSDT, with a comment using the deviceDisplayName for a period of 1 hour. Exactly what I want in Jira. Build out the automation rule, it's a manual action with no user input. It should add a DeviceSDT to a variable {{deviceHostname}} with variables that are defining epoch time in MS for {{now}}, and an endDateTime of 1 hour.. again in epoch MS format. I test it and nothing happens. Jira reports back an HTTP400. Odd.. so I run the same thing in Postman and it works. Ok remove the variables and replace them with static content, mirroring exactly whats in the Postman payload. Still, 400 error. Stumble across https://webhook.site (which is fabulous for this sort of thing BTW) Nope.. the call/payload from Jira is 100% identical to Postman. Same Bearer token, and mostly the same headers; content-type, accept-encoding, Accept, Connection and User-Agent. Postman does add a couple that are unique to it but I have not found any doc on what (if any) headers other than Authorization, are required for this SDT call. So does anyone here have any suggestions? I do have a case open with LM support as well as Atlassian. Thanks!91Views0likes39CommentsCustomizing Alert Message for Integrations - Question.
Hi. Did anyone figured out a way to build you own alert message for a datapoint? I know you can use 'Customized' option in DataPoint's Alert Messsage or modify a message template but those do not affect ##MESSAGE## tag being used in Integrations. My walkaround was to create separate integrations for specific DataSources I care about and dropping ##MESSAGE## tag all together. Am I stupid or there is no easy way to do it?34Views0likes9CommentsCollectors: Open Telemetry vs. LM Collector
Hi, We're looking to create a networking "appliance" that we can send to small locations, like a retail store. Among other things, this appliance will allow us to do some gateway to gateway tunneling allowing for user support, but in addition, we want to include key devices in monitoring as well. Originally, we were thinking that we would do a LM Collector install in a container on the device (in this case, we were experimenting with a MikrtoTik). The problem is that LM Collector supports Linux on 64-Bit AMD installs, but not 64-bit ARM installs which many (most?) appliance types would use. Open Telemetry, however, can be used in a 64-bit ARM container. On the surface, it appeared that we could maybe use an Open Telemetry collector for basic stuff instead of LM Collector. But, the closest I get to a comparison of what Open Telemetry collector can do, compared to LM Collector is that Open Telemetry collects "telemetry" and LM Collector collects "metrics" ... which are, of course, entirely useless descriptions if you don't know already what they are doing. :) I understand that they are not interchangeable, but in the end, I'm trying to determine a few things: if not interchangeable, what to use each for? can Open Telemetry collector be used for the most basic monitoring? any other ideas for Linux 64-bit ARM based collector? Since every time I ask anything close to this question to support, I get pointed to the links about Open Telemetry collector, let me pre-empt that (to avoid that in the answer) and say that we've looked at these links: https://www.logicmonitor.com/support/adding-an-opentelemetry-collector https://www.logicmonitor.com/support/configurations-for-opentelemetry-collector-container-installation https://www.logicmonitor.com/support/opentelemetry-collector-for-logicmonitor-overview https://www.logicmonitor.com/support/opentelemetry-collector-installation-from-contrib-distribution https://www.logicmonitor.com/support/opentelemetry-collector-installation-from-logicmonitor-wizard and they don't answer the questions above, far as we can tell. :)Solved45Views0likes7CommentsWebsite Downtimes via API
Hi I'd like to use the API to gather information about the availability of my websites. I will have to gather data for monthly and yearly SLA calculation which features the exact downtimes of the website. With these requirements, I don't think the graph data can deliver accurate data enough. So I'm looking into the /website/websites/{webservice_id}/checkpoints/{checkpoint_id}/data API. Getting Data | LogicMonitor The API works fine, but obviously getting all the statuscodes for every check (every minute) for a whole Month, or even year takes a long time and produces a lot of data that I have to crunch. For me, it would be sufficient to get only the data for downtimes, so every status report which is not 1.0. Does anyone know if the API has such a feature? I already ask for only the datapoints, but this would need some additional filtering. params = {'start': start, 'end': end, 'format': 'json', 'datapoints': 'overallStatus' }15Views0likes1CommentMonitoring Top 10 processes on Windows and Linux platforms
I'm exploring monitoring the top 10 processes by resource usage on Linux and Windows systems. I'm aware there are modules available to monitor specific processes - but was curious as to whether anyone has had the same requirement and created a module. My thinking is to create instances for each process of the top 10 - but right now I am still busy brainstorming...13Views0likes3CommentsCorrectly adding one-time SDT via API?
So I'm trying to add a one-time device sdt in Postman.. I get getting an error return of: endDateTime should be a future time I've tried incrementing the end time value by 100ms, by a few thousand then lastly I jumped probably a year ahead, nothing works. Here is the payload: { "type": "DeviceSDT", "sdtType": "1", "comment": "test sdt from Postman", "deviceDisplayName": "host1.domain.net", "startDateTime": "1714753638", "endDateTime": "1724755900" } The example payloads, while is in a Python script, are the same as mine, I just don't get it.Solved14Views0likes2CommentsREST API 503 errors
Hello everyone We have been using various PowerShell scripts for years and have never had any problems with them. Now, since last week Monday, we are getting random 503 “server is busy” HTTP errors on some GET queries such as Devices, Device DataSources, Dashboards, etc. There is no recognizable pattern to the errors. Does this problem also occur for others using script automation via the REST API (occurs in V2 and V3)? I have submitted a support request to LM, but progress is slow... Have a nice day everyone Dorian109Views1like15CommentsTraining
Guys there is training option once we login to logic mon account. When I click on it , it says to create new training account for my email id. I wanted to know whether training account is free or chargeable. We have enterprise package with Logic monitor. We just want to go through various training videos. We don't want to appear for certifications. So will there be any cost ? Thanks.20Views0likes1CommentNice little hint! with LM Config
In light of the recent Palo CVE and the meed to check logs and monitor for IOC's we used LM Config with an expect script (Grep is not avail over API). That would only pull the logs if it matched a IOC and alert us! Simple task but a handy use case for LM Config. Palo will not let you send those logs to a remote syslog otherwise we would of gone the siem path37Views0likes2Comments