Recent Discussions
Docker Container Dynamic Groups by type.
We have a fleet of ECS servers supporting our application containers. Each container type does a specific workload. The Dynamic Groups function in LM does not really offer, unless I am really doing this incorrectly, a way to take a string and build the group on that string. 20 containers over 12 ECS nodes run a container where the system.instanceDescription has a string of: ecs-nonprod-pcs1-platform-prod-webreport-cell-d-ecs-1-nonprod-webreport-cell-d-ecs-111222333444555666 Example: isCAS() && (isAppDev() || system.instanceDescription =~ "webreport") Right now we have to look at every ECS node (pcs1) and find each one. More ECS nodes and more containers this is not going to scale well.Solvedismolnar5 hours agoNeophyte75Views2likes2CommentsInstance discovery time
Hello, I was looking to is if anyone has created a module that would add the date and time a new instance is discovered for a module? I'm looking to determine when new interfaces are added to the network interfaces module on devices. I thought about changing the discovery script for that module to add the time but I cant determine where and how to add it so I tried creating a separate property source to do so but no luck. Any advice or insight is welcomed as well. // Assuming 'instance' refers to the current device instance within the PropertySource context def instance = context.device // Access the device object from the context, replace this with the actual method to access the device // Check if the 'discoveryTimestamp' property already exists def discoveryTimestamp = instance.getDynamicProperty("discoveryTimestamp") if (discoveryTimestamp == null) { // If the discovery timestamp doesn't exist, it's a new instance // Capture the current date and time in a readable format def currentDate = new Date() def formattedDate = currentDate.format("yyyy-MM-dd HH:mm:ss") // Add the discovery timestamp to the instance's dynamic properties instance.addDynamicProperty("discoveryTimestamp", formattedDate) // Output the discovery timestamp (This is logged in the script output) println "New instance discovered at: $formattedDate" } else { // If the property exists, it's not a new instance println "Instance already discovered. Timestamp: $discoveryTimestamp" }DanN2 days agoNeophyte60Views0likes1CommentCIM vs. WMI as native 'Source type
Has anyone heard if LM has any plans in place to make the move from WMI to CIM for metrics grabs in general and Windows in specific? https://thinkpowershell.com/powershell-and-common-information-model-cim-the-successor-to-wmi/Cole_McDonald3 days agoProfessor206Views4likes3CommentsLM Tokens can they be broken down
Hi, We have a ServiceNow integration and use the ##EXTERNALTICKETID## in our alerts views and dashboards. However I believe tokens are clunky and not particularly granular. For example ##EXTERNALTICKETID## also contains the integration name as part of the token. Something we do not want all we need is the TicketId as per the JSON payload. In addition it is not possible to rename the column header is alerts and dashboards. This makes look untidy. Would it be possible to have something like: ##EXTERNALTICKETID.TICKET## with the ability to have a DISPLAYNAME option ##EXTERNALTICKETID.INTEGRATION##with the ability to have a DISPLAYNAME optionphakesley3 days agoNeophyte67Views4likes7CommentsDoes anyone have a Module just to check if SNMP is working at all?
Hi, We have a lot of times where a server will stop responding to SNMP checks for whatever reason. That will generally turn CPU, File System, Uptime, etc all to No Data responses. We generally have No Datas set to Not generate alerts so we don't get spammed with things. However, if snmp really does stop working, we'd want to know that so we can go fix whatever the problem is. We currently have Host Uptime set to generate an alert on No Data, but it usually gets ignored because people think it's because something got rebooted recently or something. So, I want to setup a check that just does the most basic snmp check it can, something that every device should respond to, and can then alert if it doesn't get a response. I looked in the Repository and didn't see anything official from LM for this, but did see a community created Module that might work. It's called SNMP_Troubleshooter and there are two of them for some reason. The older one has a newer version # which is a bit odd. Anyway, all it does i: import com.santaba.agent.groovyapi.snmp.Snmp; def host = hostProps.get('system.hostname'); try{ oid_value = Snmp.get(host, ".1.3.6.1.2.1.1.2.0"); println "snmpStatus=0"; } catch (e){ println "snmpStatus=1" } return 0 Does anyone else this, or something similar, to find machine where snmp is dead? I see this person also has an WMI version as well which would be great for when WMI dies as well. Thanks.Kelemvor3 days agoExpert122Views1like6CommentsCollector Device Name should be a Hyperlink but isnt
I have a collector, that is up and functioning normally, on my Collectors page, and as we always do, it monitors itself. I can get to the resource by searching for it in the Resource tree, I can see the resource lists itself as the collector with the right collector number. The IP on the resource matches the IP of the collector when I log into the collector itself. So everything seems fine. BUT on the Collectors page (UIv3) where you have Status, ID, Device Name, Description, Version, Manage, Logs, SDT, Resoruces, etc .... the Device Name is supposed to be a blue Hyperlink, same as it is for every other collector we have. I cant figure out what little tricky thing is making this link not work. I feel like I may have asked here or somewhere before. What are the requirements for that collector to have the Device link to its own resource? It is for sure monitoring itself. Thanks!SolvedLewis_Beard3 days agoExpert126Views1like5CommentsMeraki Netscan Filters
Hi, We have an issue with Netscan for Meraki where the meraki.tags filter does not seem to be honoured If we have a device tagged "Production" and we add a filter for meraki.tags Production it appears to pick this up, however if it has multiple tags it no longer works. I cannot seem to figure out the correct filter to get this to work, has anyone had any joy with this and can point me in the right direction. I have tried equal, contain, regexmatch and none seem to work correctly. Many Thanks KieranSolvedKieran3 days agoNeophyte73Views1like4CommentsHalo PSA - Integration
Hi, we are currently moving away from AutoTask into HaloPSA. We've been given the instructions from the vendor however, if we follow these instructions the ticket information won't be passed back to LM and auto closing of alerts could potentially fail. Has anyone had success using JSON to integrate or do we need to fall back to XML despite instructions from Halo.zebedee5 days agoNeophyte63Views0likes0CommentsLogUsage data source
Hello, We are having all our devices sending syslog to LM collector. Via LogUsage data source, we can monitor if the device sends syslog data or no. But the threshold to alarm on that is only 60 minutes. We would like to make the threshold longer like 1 or 2 days because some devices are quieter than others, and we want to control if we missed to configure syslog on one of the devices or it doesn't send syslog anymore due to any reason. So, i contacted LM support, they said it would be custom datasource. Any help with how to achieve that?omarhegazy8 days agoNeophyte101Views0likes3Comments