Recent Discussions
API best way to query a bunch of groups? Filter? Other?
I have a certain property on some devices, which can change from time to time. I'm identifying all devices that has it in ONE clean call with a filter for that property to get a device list. From the device list response, I'm snagging all of the unique hostGroupIds into a map. And so I've got a list of about 108 hostIds (group IDs) that I want to be instances in a custom datasource, in the Active Discovery section. I want to pull the name and fullPath and description from all of these groups, to use for instance name enrichment. I dont want my instances named 20321, etc. But they have no property on them that makes them all available to me in one clean call. Unless there is some group filter I can do where only groups come back that have direct members, where the members have a device property. :) I'm trying to avoid writing a propertySource to set a property on the groups. And propertySources dont even apply to groups, so I'd have to do something super ugly like make a "propertySource" or some fake configSource that ran against the portal object and pretended to do a thing, but would really find all my group folders and tag them. Nasty. But then again, my datasource is doing the same thing ... it runs on my portal object and generates a datasource there, and only there, that will have groups as instances. But its a bad idea to make 108 API calls (and it could be more) in my Active Discovery, to get some useful info to make the instances presentable. So I'm wondering, if I have a list of hostIds, is it crude to just build a filter that resembles 1023|23123|12|231231|3123..... etc? And then make a call to get all the groups with a filter that could be hundreds of groupIds long? Will GETs in the API even support that many characters? What do you think? I guess I've almost convinced myself to just do the "fake" propertySource or configSource against my portal object, and have it set customProperties on my groups for the clean pull. I really wish propertySources existed that could target resourceGroups. Oh well. :) What are your thoughts? How long can a filter be, anyway? :)Lewis_Beard7 hours agoExpert21Views0likes0CommentsHow do we create a non-2FA account for TV Use?
Hello, I opened a support case and still waiting but hopefully someone knows a way around this. We need to create an account in LM that a client can use to log in with that will just be for displaying their overall Health/Status Dashboard on a big TV screen. Obviously this user is a ReadOnly user and only will be accessing the dashboards section, but LM now mandated that all account must have 2FA enabled. Is there any way around this as the TV doesn't have a cellphone and the other users will be logging in with their own account elsewhere. What are our options now?DanB9 hours agoAdvisor31Views0likes0CommentsAPI v4
As per the REST API Change Log, API V4 exists and is REALLY powerful and efficient. We make a lot of heavy requests to the LogicMonitor API and want us (and the poor LogicMonitor servers) to benefit from these efficiency gains. As per the official docs, means of accessing the API v4 have been removed: https://www.logicmonitor.com/support/rest-api-change-log . A search for "V4" reveals: Block Access to LM REST API v4 using Bearer Token Starting with v198 release, you will not be able to use bearer token to authenticate yourself to use LogicMonitor REST API v4 external endpoints. We have already disabled Basic and LMv1 authentication to use API v4. Note that API v4 is not officially supported. We recommend you to use LogicMonitor REST API v3. Great, but the implication is that it there IS a way of authenticating. So.. UNOFFICIALLY... Has anyone successfully made an API V4 call in (e.g.) Postman?David_Bond13 hours agoProfessor38Views0likes0CommentsDark Theme?
Hello, We have recently bought the LM license and we set it up. Out monitoring screen is giant and the old system had a nice dark theme. Now the room is brighter than the sun. Is there any Dark theme planned or available? I don't want, and I can't, use an exernal, pesky, browser extension that we don't know for obvious reasons. Is there any valid reason why LM does not have a dark theme in 2025? This is not a cheap software, so I was expecting more? We are already considering another monitoring solution.Massi13 hours agoNeophyte172Views3likes9CommentsDashboard Graph Use Case: Tracking Incoming and Accumulated Data
I’m working on a dashboard graph that not only displays the measured incoming data for each time slot but also tracks the cumulative total over time. The goal is to provide both a real-time view of data flow and a broader perspective on total data volume. For example, consider the following data points: At 12:01, 100 bytes are received At 12:02, 150 bytes are received At 12:03, 200 bytes are received The graph would include two lines: Incoming Data – showing the raw data received at each time point: 100, 150, 200 Accumulated Data – showing the running total from the start of the graph (e.g., starting at 12:00 with 0): 0, 100, 250, 450 Initially, I didn’t think this would be a big deal to implement — just some basic math and data transformation. But once I started building the appropriate complex data points and logic to make this happen, I realized it was more involved than expected. The core challenge seems to stem from the inability to set initial variable conditions or reference data from previous time slots within the tooling I’m using. I have worked with LM support to no avail. This surprises me as I would have thought this would be a common use-case. Has anyone else encountered this kind of use case and found a clean solution? I’d love to hear how others have approached this — especially if you’ve managed to do it without relying on GROOVY scripting, which I’m not familiar with and would prefer to avoid. I apologize in advance if this has been covered before, but haven't seen any reference to this. Thanks to all!billbianco16 hours agoNeophyte41Views0likes0CommentsAll my collectors are going down every 24 hours.
Hi, Starting last week Thursday, all my collectors, across two different LM portals, are going down approximately every 24 hours. Apparently the Watchdog is telling the Agent to reset itself which causes everything to die for 5-10 minutes. It's happening on almost every collector we have. Some do it every day, some skip a day here and there. They ALL started this last week Thursday. We didn't make any global changes and have no idea what the heck happened. Is anyone else dealing with this? There are entries like this that show the Watchdog service told the main Agent server to restart itself. [2025-05-06 20:05:47.876 GMT] [MSG] [CRITICAL] [statusmonitor:::] [StatusListener$1.run:135] Peer request to shutdown, CONTEXT=CAUSE=shutdown cmd, ACTION=quit [2025-05-06 20:05:47.876 GMT] [MSG] [CRITICAL] [statusmonitor:::] [StatusListener$1.run:151] Shutting self down by quit with 0, CONTEXT=MSG=all sockets closed, System.exit(0) now [2025-05-06 20:05:47.882 GMT] [MSG] [INFO] [statusmonitor:::] [RestartUtil._reportEvent:236] Reported restart reason successfully, CONTEXT=type=ReceivedShutdown, reason=Collector receives shutdown command from watchdog. Agent will restart. [2025-05-06 20:05:47.883 GMT] [MSG] [INFO] [statusmonitor:::] [RestartUtil._saveRestartReason:292] Save restart reason successfully, CONTEXT=file=C:\Program Files (x86)\LogicMonitor\Agent\conf\restart.conf [ These are the tickets that they generated showing that it delays a few minutes each day, but is happening almost by clockwork. I opened a ticket via Chat but was told that something is overload the agent and we need to up the collectors sizes. This doesn't really tell what happened last Thursday that started causing the problem so I'm posting here wondering if anyone is having the same issue. Thanks.Kelemvor2 days agoExpert201Views0likes5CommentsBest Practices for Groovy Script Datasources that call the API?
In the past, any datasources I've written, where I use groovy to reach out to the API to collect data, they were datasources on our portal object. The appliesTo was only for that portal resource, and so we have the lmaccess.id and lmaccess.key and the account set on the portal object, and we use hostProps.get to grab those, and then I can reach out to the API to pull what I need and set my datapoints. But now, I actually want to write a datasource that runs against normal resources, where we dont have those API keys set. I'm looking to, for a bunch of resources, collect and roll up some info into a custom datasource. But we dont have those lmaccess values set anywhere other than the portal object. I dont want to hard code credentials in my groovy script. I also dont really want to have to set the lmaccess.key and lmaccess.id globally or anything. I looked at a few at random that are script-based and they often call underlying things like snippets or hidden packages like a vsphere sdk or something. What would be considered best practices for groovy datasources in this case? Where you need to call the API but you dont want portal passwords slammed all over your source, or even spamming up resources on your portal just to get at them with hostProps.get?Lewis_Beard2 days agoExpert68Views0likes1CommentSDT-current and upcoming report schedule
Hi Folks, i have a requirement to schedule a report or dashboard for current and upcoming SDT's. so that our NOC team see SDT details in their handover document. as of now they are taking screenshot manually from device by type. Note- i dont have access for REST API. Regards, Neeleshnchourasia2 days agoNeophyte54Views0likes0CommentsAverage and Max CPU and Memory utilization
Hi All, I am looking for a way to get a report (say in tabular format) which can help with Average and Max memory and CPU utilization for last 30/60 days. Unable to find any report which can help. Please assist Regards, VivekVivekP2 days agoNeophyte18Views0likes1Comment