I use the Windows Powershell Script component heavily to extend the reach of Solarwinds. As an example, I monitor scheduled tasks with a powershell script. I would like to create an application template that contains multiple instances of my Windows-Powershell-Script-component-based component instead of copying the Powershell script from it into each instance. Doing it this way means that I have to modify each component by pasting the same script any time I update the logic. My solution thus far has been to create an application template that contains a single instance of my homebrewed scheduled task monitor and then assign that template to a node multiple times, overriding the script argument with the Scheduled Task name. This works, but doesn't provide the appropriate logical grouping of multiple scheduled tasks as components of the same application.
Top Comments