Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.
Posted: by rtrouton
Product: Tomcat
Downloads: 547
Download

Synopsis

This script monitors Tomcat on your Linux JSS server by checking to see if port 8080 on localhost is active. If not, Tomcat is then stopped and started using the startup scripts for your Tomcat installation.

The Tomcat installation being monitored is JAMF Software's Casper JSS server running on Red Hat Enterprise Linux 6.0. You will need to edit the stop and start commands in tomcat_check.sh and the log monitoring in tomcat_report.sh if you are monitoring a different Tomcat installation.

Description

The tomcat_check.sh script monitors Tomcat by checking to see if port 8080 on localhost is active. If not, Tomcat is then stopped and started using the startup scripts for your Tomcat installation (edit the stop and start commands as appropriate for your Tomcat installation.) The Tomcat installation being monitored is JAMF Software's Casper JSS server running on Red Hat Enterprise Linux 6.0. You will need to edit the stop and start commands in tomcat_check.sh if you are monitoring a different Tomcat installation.

Preview

Generating Preview...