Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
jamess
fyi: afaik for tomcat7 you must grant your authorized tomcat user the "manager-script" role and then modify the script to add the /text/ to the url.
wget -o /dev/null -O - http://$USER:$PASSWORD@$HOST:$PORT/manager/list | grep -q "^/$APP:running"
wget -o /dev/null -O - http://$USER:$PASSWORD@$HOST:$PORT/manager/text/list | grep -q "^/$APP:running"
wget -o /dev/null -O - http://$USER:$PASSWORD@$HOST:$PORT/manager/list | grep -q "^/$APP:running"
wget -o /dev/null -O - http://$USER:$PASSWORD@$HOST:$PORT/manager/text/list | grep -q "^/$APP:running"