Mike Moniz

  • Content Count

  • Joined

  • Last visited

  • Days Won


Community Reputation

10 Good

About Mike Moniz

  • Rank
    Community Whiz Kid

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Mike Moniz

    SQL Transactions (No Data)

    Might be a sign that the collector is unable to communicate with the SQL server software. I would attempt to talk with the SQL server (via some client software) from the collector server. Type of SQL server? MSSQL? MySQL? What is the name of the DataSource with No Data? Do any other related SQL DataSources work?
  2. Mike Moniz

    Disk space modules

    There are several but it would depend on the type of device you are monitoring. Most of the time LogicMonitor will automatically add those checks if you check the Resources pag. What type of device are you attempting to monitor? Windows Server? Linux server? Isilion? Netapp? VNXe? etc. Also they may use different terms for disk space like "volumes", "logical volumes", "pools", etc. depending on the type of device. When you start first using dashboards, it might be useful to review the various devices on the Resources page and look at the Graph tab. Any of these graphs can added to a dashboard directly from there and tweaked as needed after on the dashboard. Makes it a bit easier to start building out a new dashboards and see what kind of data is available.
  3. I can't speak for Connectwise in particular (not familiar with it) but LogicMonitor recently added a Log tab to the Integration section that is very useful for troubleshooting. You may want to check that log for Active Status of "clear" and see the API calls being made by LM and the results. Generally REST calls would get a 200 status if successful and 4xx/5xx if there is a problem. With either status you can look at the response back from Connectwise which might give you a clue on the issue. Also I'm pretty sure there are various situations where LM will not send clear notifications to integrations, like a resource in SDT or when it's deleted.
  4. Mike Moniz

    allow propertysources to set any property

    I agree this is one as I have also run into this one with the same workaround from support. In my case to auto create location properties for AWS. I suggest anyone with this problem send LM Feedback if you haven't already, they do track those. I know they already deal with "system.categories" which PropertySources does allow to be modified, but everything else gets "auto." as far as I know. I like the dot prefix idea.
  5. Mike Moniz

    LogicMonitor Feature

    You are correct that it's not currently a feature in LogicMonitor (LM) to take an action on an alert. There are "tricks" to do something like this where you use the DataSource script (which normally just runs to provide performance data) to also take action at the same time, but at that point you are just using LM as a task scheduler and are not using the thresholds or SDT features. You can also use the Integration feature to kick off a REST API call on alerts, but it's really designed for ticketing/alerting systems and not for actions. Mike Suding's Blog (worth reading!) has a hack (http://blog.mikesuding.com/2018/12/03/automatic-action-triggered-by-an-alert/) where you have LM monitor it's own alerts via API to kick off a process; which I think is getting rather complex/silly but it should technically work. I much prefer to have an official feature to do this. One thing to keep in mind if you attempt this is to remember that all checks are run on the Collector server(s), not on the device you are monitoring because LM is agentless. So if you are monitoring an IIS server, you will need to recycle the AppPool by running a remote command to IIS from the collector. There are a few topics on the forums that discuss this further: https://communities.logicmonitor.com/topic/1816-lm-actions/ https://communities.logicmonitor.com/topic/2053-self-healing-actions/ https://communities.logicmonitor.com/topic/2265-taking-automated-actions-on-alerts/ I also suggest submitting Feedback on the portal (under support) if you feel this would be a nice feature to have.
  6. Yeah, I expected as much. There are a few situations, typically when an alert clears by removal of the source of the alert or if the device/instance is in SDT. You might have to code the AppliesTo equivalent into a script that returns 0 or 1 for example. Are you using the official LogicMonitor ServiceNow store app for your integration? We don't since it didn't exist at the time of our implementation, but I was wondering if it worked around the revoked clear issues. Thanks!
  7. Mike Moniz

    SQL Mirror DB alerting

    Great to hear!
  8. I'm not 100% but I do believe that removing a DataSource will clear the alert as revoked which will not send a clear to ticketing (really annoying). I'm not sure and suggest you test that. If that is the case then you can likely code equivalent AppliesTo functionality into custom script code with a bit more work and have it return different values instead. Ah, I've forgotten how minimal monitoring originally worked. I think I ended up making it into a DataSource a while back using the process we are talking about. I only use it when onboarding new customers which has ticket creation blocked so I don't run into the revoke thing.
  9. Hiya, I've been thinking about having LogicMonitor take corrective actions on some tasks. For example archiving files if a drive is getting close to full. I know that LogicMonitor does not have any event action abilities based on alerts, where you can run something when an alert occurs. I know that you can write scripts for DataSources, and you can do anything in a script so in theory you can have a DataSource do the cleanup during a check. I just feel there is little reason to do that as you are basically just using LogicMonitor as a glorified centralized Task Scheduler. - Thresholds are checked AFTER the script is run, so you can't use LogicMonitor's thresholds, SDTs or other functionality. The script would need to hard code threshold or have them placed in properties. - DataSource scripts have a limited time to run (default 2min I think), so it needs to complete fast or kick off a separate process. - Might be possible to implement Custom HTTP Integration, but that would require some endpoint to receive and act on it. I also think there is a limit on how many integrations you have and might be too limited to have one generic integration. I'm just talking out loud here and wondering if anyone else has thought about or implemented something like this. Thanks!
  10. Sounds doable with a custom DataSource, even sounds like a modification of the Minimal Monitoring check. My first thought would be to take the AppliesTo from your dynamic groups and put that in to the AppliesTo for a custom DataSource. You can then make that DataSource ALWAYS cause an alert. So if a resource matches the AppliesTo it will cause an alert. If the problem is fixed, then the alert goes away. P.S. Have you look at minimal monitoring itself? It's kinda designed to help cover your concern by checking for resources missing a classification.
  11. Mike Moniz

    Alert Count in Big Number widget

    The Big Number can only display a current Datapoint value or a count of Resources/Devices. It doesn't count up alerts or other items but what you can do is collect this information as a Datapoint which you can use Big Number widget on, along with tables and graphs and such. The trick is is to "monitor" LogicMonitor portal itself via the LM API. So LogicMonitor is kinda calling itself to collect information. This may require custom DataSources (coding) so it can get a bit complex. The closest example I can find quickly is on Mike Suding's Blog (useful resource) at http://blog.mikesuding.com/2016/11/25/monitor-quantity-of-devices-in-a-logicmonitor-account/ . This actual example is dated since device quantity is now built in, but it shows code example of having LM query it's own API. I would suggest looking over the "LM Exchange" forum here to see if someone else has written this previously or perhaps ask LM Support if they have something like this. This might be jumping in the deep-end if you're new to LM.
  12. Mike Moniz

    Collector 27.005 breaks MySQL v5 monitoring

    Just to throw it out there, the error kinda looks like a known bug in MySQL pre 5.0.24. Although I wouldn't expect a collector upgrade to trigger it. I don't monitor MySQL to test myself. https://bugs.mysql.com/bug.php?id=15455
  13. Mike Moniz

    No SNMP data is being reported....

    There is two main types of SNMP checks. There is your SNMP Get/Walk and there is SNMP Traps. They work very differently. SNMP Get/Walk is where LogicMonitor will directly query your device for state/performance data, this is what most of LogicMonitor wants to use, is the best option and what !snmpwalk does. There is also SNMP Traps where you setup the device to send out alerts to the monitoring system. The setup for each of these are completely different. Many devices support both but some devices only support SNMP Traps (looking at you EMC). If the device supports SNMP Get/Walk, there is likely a section for this on the device config separate from the SNMP Trap section. Also you may need to white-list the IP address of the collector on the device. If the device only supports SNMP Trap, you can still set it up in LogicMonitor but it's far more limited: https://www.logicmonitor.com/support/eventsources/types-of-events/snmp-trap-monitoring/
  14. Mike Moniz

    SQL Mirror DB alerting

    Thanks, unsure why I couldn't find it previously. I might have misread your original request as not wanting to see mirrored databases at all, so ignore the whole modify AD thing I mentioned before. Yeah, changing the threshold for State to be "> 1" sounds like it would cover your needs. To not generate an alert if the State is Oneline (0) or Restoring (1).
  15. Sorry, I'm not setup to test this to verify how it works exactly. I would suggest reaching out to LogicMonitor Support so they can review your particular situation and settings.