At my work and in private I work a lot on monitoring. I use Nagios, Icinga(1) and Icinga2. So I have to write some check scripts for new monitoring requests. I will use this repo for publishing my written check scripts
At the end you will find a list of the current check scripts.
If you have any questions feel free to contact me.
With this script you can monitor if an Microsoft IIS Application Pool is "Started" or "Stopped".
Using: .\check_iis_apppool.bat Apppoolname
Example: .\check_iis_apppool.bat WsusPool