Cron script to check Planning web app status
December 3, 2013
CentOS 5, CentOS6, Hyperion Planning, Hyperion Planning 11.1.2.2, mail command, Oracle Hyperion EPM 11.1.1.3, Oracle Hyperion EPM 11.1.2.1, Oracle Hyperion EPM 11.1.2.2, 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:
#!/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]