Cron script to check Planning web app status
December 3, 2013 CentOS 5, CentOS6, Hyperion Planning, Hyperion Planning 220.127.116.11, mail command, Oracle Hyperion EPM 18.104.22.168, Oracle Hyperion EPM 22.214.171.124, Oracle Hyperion EPM 126.96.36.199, Planning, Red Hat Enterprise Linux 5 (RHEL5), Red Hat Enterprise Linux 6, Remote Administration, Sendmail 0 Comments
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:
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" email@example.com,firstname.lastname@example.org; fi
Thanks Mike for an awesome tip.