Forum Discussion
Anonymous
2 years agoFWIW: After I get my automation scripts working, I build them into datasources so that they run on the collector as collector tasks. I usually apply the DS to the <portalname>.logicmonitor.com resource and I usually have a primary/backup collector pair or ABCG monitoring that resource so that if something happens, the task just moves over to another collector. The output of the script is just a return code in its most simple. In more complicated ones, I have the script output the final value of various variables in the script (sort of like a watch). I do my script logging through LM Logs, so that the logs are in one place no matter which collector gets the task.
Related Content
- 2 years ago
- 7 months ago