Cron script to check Planning web app status

I was searching around for a way to monitor my Planning web servers, and I found the following post by Mike (https://grepular.com/Monitor_Your_Website_Automatically_From_Cron). I followed his advise, but customized his commands into the following script (which I croned) to both email and text me with any outages:

#!/bin/bash
if [[ `wget -q -O - http://myplanningserver.mydomain.com:8300/HyperionPlanning/LogOn.jsp | grep "Oracle Hyperion Planning, Fusion Edition"` == "" ]]; then echo "" | mail -s "MyPlanningServer-Check Planning" mycell@vtext.com,myemail@mydomain.com; fi

Thanks Mike for an awesome tip.

[ad#ad-post]

Add a Comment

Your email address will not be published. Required fields are marked *