Recent Discussions
UIv4 instances when there are none?
Perhaps I just wasn't paying attention previously, but does the new UI show everything has an instance even when it's not a multi-instance DataSource now? Is that a recent change? It automatically jumps to the "instance" when you click on the DataSource entry so not really causing an issue but kinda threw me for a loop when I thought a DataSource I was working on was somehow creating instances when it shouldn't. Seems kinda odd and perhaps confusing when training on what instances are if everything looks like it has one.2Views0likes0CommentsIs LM capable to monitor Synergy Frame hardware devices?
Hello, Can anyone tell me as i am trying to configure HPE Synergy frame hardware(Chasiss and blades) but there is no module present in LM for to monitor data like power, temp, fan, CPU etc. Can anyone help me if they know the process and available module? Thank you, SuyashSuyash_085 days agoNeophyte13Views1like0CommentsLogicMonitor Datamart (Free / Open Source)
We have created a free (as in beer), open source LogicMonitor Datamart. It creates a Postgres or SQL Server LogicMonitor Datamart for all common LogicMonitor data types, meaning you can now just use SQL to query all your LogicMonitor data. There are certain limitations around time series data. If you are a .NET developer, check out the nuget here: LogicMonitor.Datamart and the source code on Github . We use this as the basis of our flagship Reporting system for our larger MSP customers. The codebase is mature, and up-to-date to LogicMonitor v211. We don't have a simple deployment wrapper yet, but we want to get community feedback, so we mature the deployment process, some (free) assistance will be provided to set this up for the first five takers. DM me if you are interested. First come first served. If you are not ready to deploy, but generally interested in the concept, please provide feature requests or ask questions in reply to this post.David_Bond6 days agoProfessor28Views3likes1CommentConfigSource for Linux Files.
I'm having trouble figuring this out. How would I create a ConfigSource to cat the output of an ubuntu file and store that into ConfigSource? I've been able to get the output if I specify just cat the command and expect the last line in the config buttheir examples don't work when the my shell prompt is "user@hostname~$". https://www.logicmonitor.com/support/logicmodules/articles/creating-a-configsource#general https://www.logicmonitor.com/support/terminology-syntax/scripting-support/groovy-or-expect-text-based-interaction# import com.santaba.agent.groovyapi.expect.Expect; host = hostProps.get("system.hostname") user = hostProps.get("test.user") pass = hostProps.get("test.pass") cli=Expect.open(host, user, pass) cli.send("clear\n") cli.send("cat test.conf\n") cli.expect('~\$') config=cli.before() println config; I've tried many combinations and I'm also not sure on how to remove the shell text information before the command such as the MOTD and system information.Justin_Lanoue7 days agoNeophyte15Views1like0CommentsCustomer Support a Dumpster Fire
Went to create a support ticket, which has to be done on a different website and portal login. Clicking the "GET SUPPORT" button opens an AI chat with the intelligence of a toddler who just drank a red bull and fell down the stairs trying to fly. Is this a joke? Locking support tickets behind a cheap low effort AI chatbot is not how you should be implementing AI. AI needs to be looking at alert trends and datasource outputs for anomalies that might not trigger an alert but should be investigated further. Not for gatekeeping your support people from the customers.Drew_Hawkins8 days agoNeophyte80Views2likes5CommentsExtract Instance Level Alert Expression
Hello, I am making massive number of API calls due to the high number of devices and instances in LogicMonitor to Extract Instance Level Expression for each device (VM type). I have all Global alerts but there many devices where we have Instance level alerting. Currently I am using following API to extract instance level alert expression. /device/devices/device_id/devicedatasources/devicedatasources_id/instances/instance_id/alertsettings?size=1000&filter=alertExpr!:"" I have over 26000 devices, to iterate all the devices followed by data sources and eventually instances takes millions of API calls is there any other way we can pull this information. I would need this data every month. I do not think there is something like bulk API endpoints where I can pull larger datasets in a single call. Nor there is Webhooks/Alerting Data Streams where instead of pulling it pushes updates about alert configuration at instance level. I cannot query just Device Groups as instance level alert expression are found only at Device level. Has anyone had this requirement before, any solution or alternative? Thanks Ashishasikarwar9 days agoNeophyte29Views0likes4CommentsIssue in auto refreshing EC2 properties
I’m encountering an issue with my Windows ASG group EC2 instances. Whenever a new instance is added, certain properties from a dynamic group—most notably “wmi.user” and “wmi.pass”—are applied. However, by the time the instance is registered in LogicMonitor, WMI isn’t immediately available because some automations are still configuring the WMI credentials on the host. A few minutes later, WMI starts working on the host, and I can successfully test it using wbemtest from the local collector. However, the LogicMonitor portal still shows that WMI is not responding. Interestingly, when I use the collector’s debug console and explicitly specify the WMI credentials, it pulls the information successfully. But if I don’t specify the credentials manually, it fails to work. The only way to resolve this is by manually running “refresh properties,” after which WMI starts working without making any changes. I’m trying to figure out if there’s a way to automatically force a properties refresh every 15 minutes to ensure everything works as expected without manual intervention.Naveenkumar12 days agoNeophyte21Views0likes3CommentsBug Report: Editing Alert Rules broken
To reproduce: Create an alert rule at priority 1 that ONLY filters on a resource property: "change.me" = "true", sending to NoEscalationChain Edit it, and change thename of the filtered property to "i.am.changed", again with the value "true". Observe that the UI message lets you know that the change has succeeded Expected behaviour: Editing the Alert Rule again, the property name should be "i.am.changed" Actual behaviour: The property name is still "change.me"David_Bond12 days agoProfessor13Views0likes0CommentsDynamic Dashboard Filters for Text Widget
My apologies if this has been covered already, but I have been search forum and haven't seen this topic. I am building a text widget that performs an API call to display data from another system. This is important as I am attempting to put all information for a facility to a single pane of glass. Is there a way, to pass the Filter value at the top of the dashboard to the text widget for me to use in my java script call?billbianco12 days agoNeophyte22Views1like0CommentsAPI v3 Python Patch on user 403 forbidden
I have some old python code (that I didnt write) that uses v1 of the API that does a patch with a super minimal patch data block, just the value needed. Personally, I have Groovy code that does some patching using the retrieved user in a Map object and I make a minimal map with just the stuff v3 requires that I set (which v1 didnt) like roles and password and etc, and I managed to get code working with Groovy v3. But I'm in a circumstance where I have to use python and patch on a user, and for the life of me, I keep getting a 403 forbidden error. I've found several examples online, and basically I believe I've got everything set up correctly, the code is mostly similar to the old working v1 code except it has the changes that v3 needs. But I get a 403 error (forbidden). But I know the API token has rights to update the user (tho it is still attached to a user with an administrator role, but I dont think thats the issue, I have groovy code using the same API token). I hate to ask people to look at code but is there anything obviously wrong here that I'm missing for python and v3? http_verb ='PATCH'; resource_path = '/setting/admins/' + str(user_id); patch_data = '{"roles":[{"name":"myrole"}],"email":"what@whatever.what","username":"blah","password":"meh","apionly": true}'; queryParam = '?changePassword=false&validationOnly=false' url = 'https://'+ Company +'.logicmonitor.com/santaba/rest' + resource_path + queryParam; epoch = str(int(time.time() * 1000)); requestVars = http_verb + epoch + patch_data + resource_path; hmac1 = hmac.new(AccessKey.encode(),msg=requestVars.encode(),digestmod=hashlib.sha256).hexdigest(); signature = base64.b64encode(hmac1.encode()); auth = 'LMv1 ' + AccessId + ':' + signature.decode() + ':' + epoch; headers = {'Content-Type':'application/json','Authorization':auth,'X-Version': '3'} response_patch = lm_session.patch(url, data=patch_data, headers=headers) return response_patch; Thanks!SolvedLewis_Beard13 days agoExpert34Views0likes2Comments