Recent Discussions
Issue 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.Naveenkumar2 days agoNeophyte3Views0likes0CommentsBug 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_Bond2 days agoProfessor9Views0likes0CommentsDynamic 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?billbianco2 days agoNeophyte16Views0likes0Commentsdell hosts and idrac combined
tie idrac monitoring to its host, not a separate device | LogicMonitor - 5620 saw this old post and have a similar ask. i'm trying to figure out how to the get idrac alerts combined to the host. from what i can tell dell OME monitoring is simply accepting idrac SNMP traps. i can probably copy those same SNMP traps to logicmonitor collectors. for the tieing it together with the host, i'm wondering if there is a way to add the idrac IP as an additional IP to the host itself? will that mess up other things logicmonitor is trying to do? will that provide enough info for logicmonitor to tie an idrac SNMP trap for hardware failures to the host itself?gdavid163 days agoNeophyte14Views0likes0CommentsFeature Request: Alerts Page Deep Links
On the Alerts page, in order to communicate a filter to another user, I would like to simply pick up a deep link from the browser navigation bar and send it to a colleague in Teams / email. This should be pretty easy to implement and would provide significant value to Operations Teams. Example implementation:David_Bond4 days agoProfessor14Views1like0CommentsLogicMonitor.Api nuget (C#/.NET library) v211 support and breaking changes
The LogicMonitor.Api nuget package for C#/.NET developers now has v211 support and some breaking changes. Don't worry, we're still open source (contributions welcome) and the project team is here (and on Github) to help you transition your code. We (the authors) have made the decision to lean fully into the renaming of "Device" to "Resource" throughout the library. This includes classes like DeviceDataSource, which now becomes ResourceDataSource. This work is mostly complete, though there will be a long tail of obscure Properties which may take us a little longer to get through. We have made good use of the well-IDE-supported [Obsolete] attribute to help your migration. For example, the Device class now looks like this, with all the POCO code moved to Resource.cs: namespace LogicMonitor.Api.Devices; /// <summary> /// Obsolete /// </summary> [Obsolete("Use Resource instead", true)] public class Device : Resource; Note the use of error=true. We have made the decision to force the upgrade, ensuring a clean and EARLY migration experience, with Visual Studio giving you hints with strikethrough and Intellisense hints like this: This concept extends to properties: ...and methods: We understand that there is some refactoring to do. Our flagship Magic Suite systems of products only took an hour to migrate, and we made thousands of changes. A combination of the Obsolete hints and good IDE-fu should make your project a breeze to upgrade also. Shout here if you need help.David_Bond5 days agoProfessor18Views1like0CommentsGrouping name in graph title
I have a module that creates instances via Active Discovery, and groups them based on an instance level property, "auto.host", which is being assigned via Active Discovery. When applied to a resource, the module name shows up below the resource, the groups appear as children of the module, and then the individual instances show up as children of the groups. The module also has overview graphs that can be viewed by clicking on the group name. But you also get to see all of those graphs when you click on the module name inside the resource. But all of these graphs have the same title, which makes it very hard to figure out which group the graph is for. Is there a way to apply the group name (or some other group-level information) to the graph titles? I've tried adding tokens, but very few seem to work. In particular, I've tried to use the same property that's being used to create the group, and it just shows up as the literal string "##AUTO.HOST##". The only other way I can think of to identify these graphs is to change the actual instance names to include the group names, but that would require hovering over the graph to see.wfaulk12 days agoNeophyte10Views1like0CommentsBug Report: Cisco_NTP DS lacks proper error handling output
If you're getting no data on Cisco NTP and you can't tell why, even after running poll now or running the script in debug, it's because there's some helpful information that wasn't included in the catch block of the script (at least for NX OS). Today I was trying to troubleshoot why we were getting no data on Cisco NTP for a Nexus device. That device happens to have 10+ peers (this is important later on). Running the script in poll now/debug would only result in this: Something went wrong: java.io.IOException: End of stream reached, no match found This is a common thing with expect scripts. The script issued a command and is waiting for a response from the device that matches the prompt. If we were to get a response matching the prompt, it means the device has received the command, executed it, put the output to stdout, and returned to the prompt; the device is ready for the next command. However, this error means that the device responded with something that doesn't eventually match the prompt; the device is not waiting for the next command, it's waiting for something else. The script is waiting for the prompt and the device is waiting for something else. The script waited an appropriate amount of time then executed the catch block, outputing the helpful message above. It would be nice if the catch block output more so we could tell what's going on. How about it outputs the entirety of the SSH session? That would be helpful. Go to line 438 and insert the following in the catch block: println("==================== SSH SESSION TRANSCRIPT ====================") println(ssh.stdout()) println("==================== END SESSION TRANSCRIPT ====================") After adding this, when I executed the script in the debug console, i got this output: $ !groovy agent has fetched the task, waiting for response agent has fetched the task, waiting for response agent has fetched the task, waiting for response agent has fetched the task, waiting for response agent has fetched the task, waiting for response agent has fetched the task, waiting for response returns 0 output: Something went wrong: java.io.IOException: End of stream reached, no match found [MOTD Omitted] sxxxxxxxxxxxxx1# show ntp peer-status Total peers : 11 * - selected for sync, + - peer mode(active), - - peer mode(passive), = - polled in client mode remote local st poll reach delay vrf -------------------------------------------------------------------------------- --------------------------------------- =xxxx:xx:xxxx::x :: 16 64 0 0.00000 =xxx.xxx.xxx.xx x.x.x.x 2 64 0 0.07820default =x.x.x.x x.x.x.x 2 64 0 0.04123default =x.x.x.x x.x.x.x 2 64 377 0.07166default =x.x.x.x x.x.x.x 2 64 377 0.07191default *x.x.x.x x.x.x.x 1 64 377 0.05200default =x.x.x.x x.x.x.x 4 64 337 0.01245default +x.x.x.x x.x.x.x 16 64 0 0.00000default .[7m--More--.[m In this case, the device was waiting for me to press the enter or space keys because the last line of the output was " --More-- ". It took overly long to find this out because the module needs that one thing in the catch block to help troubleshoot.Anonymous13 days ago24Views5likes0Comments