Recent Discussions
Import/Export datasources between production and sandbox
Hi All, We’ve created / altered a ton of datasources through time. After all this time, we would like to sync our datasources from production to the sandbox environment. After a short chat with Support, there is no easy solution for this if i don’t want to publish all datasources. Does anyone have an idea to resolve this? If not, it seems this feature would be great to have.Solved53Views5likes2CommentsPublic DNS resolution monitoring
Newbie to LM and have been asked for a method to monitor Public DNS A,MX,PTR record monitoring for a number of DNS Zones e.g. customer1.domain.com, customer2.domain.co.uk. I know I do a powershell command resolve-DnsName <domain> -Server <Target DNS Server> -Type <A etc> and get the correct output. What I do not know is how to turn this into a datasoure and use properties to pass in the domains and record types. Has anyone got some scripts and examples I can use to create a datasource in LM please. Much appreciated if you could helpSolved78Views11likes4CommentsFeature request - Use CustomProperty instead of ##RESOURCENAME## or ##RESOURCEGROUP##
A new feature request to use a CustomProperty as opposed to the limited##RESOURCENAME## or##RESOURCEGROUP## when building dashboards and widgets. Its been tested by Tech Support in the Lab environment and is not possible, with this feature would greatly improve the possibilities when building dashboards and reports etc.Solved83Views27likes2CommentsFeature request - new Aruba datasource - Aruba 6100 switches
Hello community - recently I had a case open with support around some new Aruba switches not polling properly in LM. Their response was the following: “I tested some of the Aruba datasources but it appears that your device - Aruba JL679A 6100 12G CL4 2SFP+ 139W Swch PL.10.06.0110 - may need new datasources which we do not have. You can submit a request for new datasource with the MIB file and the specific oids you'd want to see. You can do a feature request from our community website - https://community.logicmonitor.com/product-hub-4” I suppose my question is - how would I go about submitting MIBs and getting this ball rolling? Thanks!Solved23Views6likes3CommentsLogicModule development: script editor line numbers
Great news! LogicMonitor is finally adding line numbers to the groovyscript editor. Only joking. It’s STILL rubbish and there are no plans to fix it. When pairing LogicModule development I STILL have to say “up about 6 lines”, “no not that line”and “down a bit” every few seconds.Solved86Views14likes10CommentsAlert Thresholds - Changing units Free Space datapoint on Volume Capacity
Hi All, I wanted to put a question to you all to see if you have any recommendations. We have several drives that we are monitoring where it doesn’t make sense to track the % used datapoint due to the very large (or in a couple of cases, very small) total capacity of the drive. As such, we configured the Free Space datapoint for alerts instead. This is working well, however because the Free Space datapoint tracks “available storage capacity of the volume in bytes” it is difficult to quickly understand the potential impact of the alert when it triggers and error for < 268435456000 bytes remaining. Is there any way to change this datapoint so that it reports in a larger unit? GB would be preferred, but even MB would be helpful.Solved35Views8likes4Comments[Feature request] Custom PowerShell script: increase timeout
Hello, I was advised to go here after chatting with support. I have run into an issue where our custom PowerShell script runs into the hardcoded 120 second timeout. We're initially testing it first via the Test button. The error after exactly 120 seconds is: “"Test script failed - no response was received from the Collector"”. The script runs okay in PowerShell 5.1, but it averages around 2,6 minutes. We have already cut the runtime down from around 4 minutes to 2,6 minutes and that's the best we can do. It starts generating “Write-Host” data within 50 seconds for each object. We are pulling data from public API endpoints and perform some logic for 2 large arrays. The script will run against a dedicated collector. Issue is in the sandbox as well as in the production environment.Solved71Views13likes7CommentsCIENA MCP - API Datasource
Hello, Has anyone built a datasource to pull in Alarms data from CIENA MCP? I see that Ciena has a well-defined API page for the MCP. I only see references to the Ciena Wave Server and an SNMP OID identifier. Nothing specific to MCP. Please let me know if someone has something or is working on. Figured I ask before we start to dig into this. Thanks! in advance. /DanSolved29Views8likes3CommentsPython SDK - modify a datasource
I am looking for a way to programmatically change a number of datasources. I searched through the API v3. documentation but couldn’t find any way. There are some calls to get information from datasources, but none to change them. I was expecting to find something like “patch_datasource_by_id”. Any ideas?Solved52Views5likes5CommentsScripted Alert Thresholds
It should be possible to groovyscript Alert Thresholds, based on (for example) ILPs and hostProperties. I need to modify the SNMP_Network_Interfaces to vary the InDiscardPercent threshold depending on whether this is a radioMAC interface type and whether it is a given customer. Something along the lines of: def isRadio = instanceProps.get('auto.interface.type') == 'radioMAC'; def customerCode = hostProps.get('customer.code'); if(isRadio && customerCode == 'ACME') { // No threshold return ''; } // The default return '> 10';Solved150Views17likes26Comments