Tag: monitoring

  • Copying Yesterday’s Exceptions with Stack Traces from Logs, Then Emailing To Administrators

    When you have a java application server which generates a great deal of logs, it can be tricky to find the most important information, especially if you have detailed logging. Fortunately grep is capable of doing this very well. The following command will gather all WARN, ERROR, FATAL, and Exception stack traces. This command can…

  • Monitoring Process Counts and Alerting Via Email

    Below is a simple script called monitor_jboss, which checks to see if jboss is running and whether or not too many instances are currently running. I found a need to write this script because we have some cron scripts which automatically restart JBoss each day and the JBoss shutdown script itself sometimes fails to properly…