Forum Discussion
I'm looking at the same problem here. I have a SQL query I am running, and if there is a result I want the output to be included in the alert. The output consists of multiple strings.
I have currently done this via a configsource module, but it requires the user to login to LM to actually see the output.
If I use LM logs, and the issue occurs again at each collection (which is currently at 60 mins) it would mean another alert would be raised. (Unless someone has any ideas on how to NOT raise the same alert in LM logs? ie. only raise once)
If I use a datasource module, I could potentially have the instance name contain the details (like the SQL troubleshooter), but it is quite a bit of information in the output.
If I use an eventsource module, that would also probably work fine, but I read in the LM documentation that eventsources will be deprecated in favour of LM logs, and the last thing I want to do is create an eventsource that will need to be rewritten as another module at some point.
Anyone have any suggestions?
Thanks
Do you have a link to where it says EventSources will be deprecated? I haven't seen that (but I'm not on top of all the news). Especially since LM Logs is a paid add-on and therefor removing EventSources would then be removing base functionality.