6 years ago
LogicMonitor Feature
Greetings All,
I'm new to LogicMonitor; and had just started working within the SaaS portal for about an hour now; so far it's been fairly straightforward. I'm curious if there is a 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:
I also suggest submitting Feedback on the portal (under support) if you feel this would be a nice feature to have.