Recent Discussions
How to create a Powershell Datasource? Getting Commands not recognized
Hi, I don't know how to create my own datasources so I'm trying to figure this out. I'm running a script on a Hyper-V Host server but get errors that the commands are not found. The script works fine when I run it directly on the host. It just doesn't run when I run it from testing within my DataSource. When LM runs the PowerShell script, does it run it on the end-host computer or does it run it from its own collector? Maybe I need to install the Hyper-V Module onto the collectors and then have them run the command specifying the hostname in the command? Thanks.17Views0likes3CommentsHow to create a DataSource to return 2 values via PowerShell?
Hi, I'm trying to write a DS to return how many Hyper-V Snapshots I have that are more than 3 days old. The script works but I'm having trouble returning the data. Here's the script and the output it's showing: What I want to get is the number 1 in the result column and the name of the VMs with Old Snapshots in the OldSnapshots column. I've tried various options for the Interpret output with and other settings but can't get it to work. Sometimes it looks like it works, but still shows an error. Then it will have NoData in the Raw Data area. Is it because it's text and not a number? I'm just spinning my wheels at this point so any help would be great. Thanks.Kelemvor7 hours agoExpert16Views0likes2CommentsDo Static and Dynamic thresholds work together?
Hi, I don't understand Dynamic thresholds and the weird UI to set them up. The whole thing about band factors and things make no sense to me. Here's my specific scenario and maybe someone can tell me the best way to handle this. We have a server that spikes it's CPU up pretty high every weekday morning. Generally starts around 5AM and ends around 9-10AM. Some days (Fridays) it seems to go longer. We don't want to get any alerts when it does this. Here's the graph for December (even though it looks like the spikes only go to 60, they actually all go to 99 or 100 when zoomed in more): We tried setting a daily, recurring SDT, but that still shows the errors, it just doesn't notify us about them. We want LM to consider the morning Spikes as "normal" and to ignore them. We setup a Dynamic Threshold to see if that would help. Here's a screenshot of what that looks like: As you can see by the arrow, this doesn't seem to have "Learned" what normal is. It seems like it just waits for the CPU to spike and then adjusts the "Expected Range" to compensate. If it was actually Learning, it should have expected the spike, since it happens every weekday, and adjusted BEFORE it happened. Right? Also, we have the standard Static Thresholds also enabled so we alert at 90/95/98 for this server. We get alerts for it all the time and aren't sure how to properly set this up. If we use the Dynamic alerts, should we turn off the Static ones since one doesn't seem to override the other? Should the Dynamic expected range know that the morning spike is going to happen or is that not how dynamic thresholds work? We rarely use them because we just don't get how to use them properly even after reading all the KBs and such. Any ideas, opinions, etc would be great.56Views1like4CommentsLogicMonitor 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 - Zendesk325Views2likes11CommentsCSV Import devices
HI Gurus. I would like to import a bulk device list , including username and password, can someone that has done this before help me with the format of the csv please, I have tried ip,displayname,properties but the properties is not working properly, its taking the entire properties as a value Thanks for any helpGuaro555513 days agoNeophyte14Views0likes0Commentscomplex Datapoint that shows max Value
Hi all I'd like to create a complex Datapoint that shows the maximum value of a simple Datapoint of the last 24h. Example: Simple datapoint x polls data every 2 min. I now want a complex datapoint that shows the max value of datapoint x from the last 24h. Is there a way to achieve this? Regardsprolannic3 days agoNeophyte188Views1like5CommentsHow can I import a bunch of websites?
Hi, The documentation just says to import a JSON file, but I don't see anything about how to format said JSON file. Does anyone have any more information on how I can format a file to import a bunch of Internal URLs? https://www.logicmonitor.com/support/websites-management#h-importing-a-website-check-from-file https://www.logicmonitor.com/support/services/adding-managing-services/editing-an-existing-service#importing If anyone from LM sees this, please add an Example file or something to the above pages. :)Kelemvor3 days agoExpert115Views4likes2CommentsResource Type Documentation
The Resource Documentation is missing information for the "deviceType" (Resource Type) enum. I'm trying to update the LogicMonitor.Api nuget package (free, open source, MIT) for C# / .NET developers. Ask of LogicMonitor: Please could someone with access to the Santaba source code review the deviceType enum and provide feedback on this file: ResourceType.cs I'm interested in: Missing members (what are 1, 3 etc.?) Reviewing existing members (are 8 and 10 correct, for example?) Because it's not present anywhere on the Internet (that I can find), here is what we have so far, in case it's helpful for others: 0: Regular device 2: AWS IaaS 4: Azure IaaS 6: Service 8: PaaS 10: SaaS Also, we assume that this is what is used for LogicMonitor Pricing. Please could someone confirm? If so, we are missing an enum member for Wireless Access Point. Ask of the Community: If there is anyone with such devices in their portal, please could you look at the info tab? You should see something like this, but the number will be different, and I would like to know what that number is:David_Bond3 days agoProfessor19Views1like0Comments