Recent Discussions
Complex datapoint - groovy script to calculate the value from the device property
Hi All, I have a case where I need to take AWS device property called ##system.aws.bandwidth## that can have values 1Gbps, 10Gbps or 50Gbps, convert it to bytes and return the value to the datapoint. I'm trying to use groovy script for complex datapoint but can't get it to work even with the most simple scripts: "Error Invalid enum value, must be EXPRESSION". Example script: if ('##system.aws.bandwidth##' == '1Gbps') { return 1000000000 } else if ('##system.aws.bandwidth##' == '10Gbps') { return 10000000000 } else if ('##system.aws.bandwidth##' == '50Gbps') { return 50000000000 } else { return 0 } Has anyone tried to create something similar? What I'm doing wrong? Thanks.Egis11 minutes agoNeophyte23Views0likes4CommentsSelenium IDE extension not available on Chrome
Hi Team, We have synthetics monitoring in place and I could see today that selenium IDE extension in removed from Chrome browser and even I am unable to download the extension now. Getting a message 'This extension is no longer available because it doesn't follow best practices for Chrome Extensions'. I am not sure if LM has any other plan for this. I have even raised a case with LM support. For now, we are unable to test any existing checks or even can't create new website checks.sayalirevalkar2 hours agoNeophyte80Views0likes4CommentsEscalation Chains for bank holidays vs standard weeks
Hi LogicMonitor community, We are fairly new to the product, just looking to see if anyone had any advice for handling Escalation Chains when it comes to Bank Holiday weekends. We currently have escalation chains created for our teams to handle automated call-outs for our critical devices/checks during standard weekends and outside of core hours. However with Bank Holiday weekends requiring the need to operate the same process on Friday/Monday's depending on the specific weekend, we'd need to ensure those additional days does are covered too. The obvious solution we've come up with is to create a Bank Holiday On-call escalation chain for each of the teams where we can be flexible and amend the days we'd want to be called out on, then swap out that escalation chain to any alert rules which required it. This would work, although considering we've got multiple teams configured with on-call escalation chains within LogicMonitor as well as many alert rules using them, this is a manual process we'd need to keep on top of before/after every bank holiday, which leaves some room for human error of course. Has anyone implemented something similar and have any advice they would be willing to share? I can't imagine we would be the first customers to come across this scenario. Thanks in advance!47Views2likes2CommentsGroovy 4 timeline and Collector question
https://www.logicmonitor.com/release-notes/collector-release-notes-timelinecollector Right now, because we have a lot of custom things that use groovy, we are still working on making sure all of our custom modules are groovy4 compliant. All the out-of-box ones are upgraded. But in order to do that, I paused our portal updates by ONLY having the checkbox set for REQUIRED. So our version is in the 35.xxx range because I paused it in November or December. One item I'm having a bug with is jsonslurper giving a faststring service error, but i found out its been fixed since 36.200 by setting a parameter ( groovy.v4.classloader.enable ) to true. But the collector version we have doesnt even have that in the Agent.conf. So in order to test properly, and make sure its working, I want to upgrade to a version PRIOR to EA 37.100. EA 37.100 will absolutely force us onto Groovy4. But if I briefly toggle the schedule to also include Optional General, it looks like I will get 37.002. So I'm just hoping someone can sanity check me ..... I assume 37.002 is BEFORE the forced 37.200? And that 37.002 still supports both groovy2 and groovy4? So I may have a short window where I could upgrade our collectors. I'm just confused because the URL I posted lists the date for EA 37.100 as coming BEFORE GD 37.002, and now of course the latest EA is 37.200. If I take advantage of my short window, which shows that Optional General will gove me 37.002, will that version still support groovy2 AND groovy4? I expect to be done with my testing within 1-2 weeks but I'm stuck on this faststring bug. Thanks!SolvedLewis_Beard16 hours agoExpert61Views2likes2CommentsReporting Improvements
I've been waiting for improvements to the reports section of LM for about two years now. Everytime I have asked about it, I've been told there's stuff coming but only after a bunch of other things get done first. I need to be able to design a report and have it sent with the information I need in it attached in a file. The capabilities in the current report templates are lacking and I don't understand why the graphs don't look like the ones on the dashboards. I can't even control what order the data is listed in. I've had several folks look at reports with me and they were very capable people and we just couldn't get the reports to do what I wanted. Other than making UIv4 permanent, are there any actual improvements coming to the reporting section?58Views3likes1CommentGroovy4, FastStringService, V.206, etc
I noticed in the detailed release notes for V.206 some discussion of Groovy2 vs Groovy4, because apparently at some point in the future Groovy2 may go away and so Groovy4 will be required. There is some info on mitigation, including updating official modules (with its usual issues, IMO) but also updating custom modules. But it looks like the latest collector doesnt force this now, but just supports both Groovy2 and Groovy4. But I want to move on this as soon as I can. So I did some testing on one of my custom groovy configsources and discovered that when I force the script to use Groovy4 (//!/lib-groovy/v4 on the 1st line) I get one of the errors mentioned in the release notes for V.206 ( https://www.logicmonitor.com/release-notes/v-206-release-notes ). Specifically "Unable to load FastStringService". But unlike some of the other known issues, no workaround or example was given. import groovy.json.*; def JsonSlurper jsonSlurper = new JsonSlurper(); def jsonParsed = jsonSlurper.parseText(responseBody) The first 2 lines are fine, so I believe there is nothing to be changed with how I'm importing it. The docs I see for latest groovy still show I'd use groovy.json.jsonSlurper. But the 3rd line in the code throws the "Unable to load FastStringService" error. So I guess I'm just wondering if the community has dealt with this specific issue, or if there is a document that contains a workaround for this case and others. I know LM will be updating their modules, or maybe they already have (I havent looked; their new Modules UI hurts my brain a bit, not looking forward to the old version under settings going away). But updating all our custom code is going to be painful. Somehow I didnt realize this conversion from Groovy2 to Groovy4 was coming, so I'm trying to figure out when that will be a hard line in the sand. But in the meantime, I'm just wondering if anyone has found a way around this issue? Thanks!Solved250Views14likes7CommentsLogicMonitor Custom HTTP Integrations
In a little bit of a low profile announcement, we released the ability to import and export Custom HTTP integrations in LogicMonitor v.118! Using the collective available knowledge, I've sanitized and exported a handful of them as examples and/or starting points for anyone looking to utilize these solutions. See my 'LogicMonitor Integrations' Github repository to review and download the .JSON files for import to your LogicMonitor portal. Currently published integrations include: - Big Panda (Two Parts) - Freshdesk - Hipchat Server - Microsoft Teams - Neptune IO - OpsGenie - Status.IO - VictorOps - Zendesk451Views5likes17CommentsDisplaying Dashboards on a TV
Hello community, We have a client that would to display Dashboards on TVs at remote sites. Is there a method to display these without authentication? I am aware that the widget tokens have a API Embedded URL Link that can be used but this doesn't appear to work with the current solution as the refreshing between custom made widget dashboards takes too long and scaling appears to be an issue. Just wondering if anyone has their own solution they found to work for them. Thanks,Justin_Lanoue2 days agoAdvisor73Views1like2CommentsHow is Escalation Chain throttling supposed to work?
Hi, We had a power outage at a data center yesterday which obviously caused a whole bunch of alerts. We have our settings set with 20 alerts over 10 minutes causes the Chains to throttle. The throttling seems to kick in just fine, but with one big problem. Instead of LM sending us 100+ tickets about all the things that were down, it decided to send us 100+ tickets telling us the Chain was throttled and it wasn't going to send us ticket any more. That doesn't seem like it's working how it's supposed to work. I'd rather get 100 tickets that were for actual alerts than 100 tickets telling me I'm not going to get any more tickets. Anyone run into this before?52Views0likes2Comments