Ruby on Rails Monitoring Help ~ Pingdom Server Monitor

Pingdom Server Monitor PluginsSimple server and application monitoring that's powered by plugins like this.

Plugins » Ruby on Rails Monitoring » Help » Entry

Pingdom Server Monitor::Server::PluginTimeoutError: execution expired

The Rails Plugin is given 10 minutes to execute. If it fails to complete its run during this time the Pingdom Server Monitor Agent stops execution of the plugin.

This error most commonly occurs when generating the daily report using the Request Log Analyzer gem. It’s more likely to happen with large log files. Ensure you are using logrotate on your log files.

If the error persists (it may happen once per-day), try the following:

1. Create a cron job that runs once per-day and emails you the daily report. Make sure it runs before logrotate:

0 * * * * USER /usr/bin/request-log-analyzer PATH_TO_LOG —mail YOUR_EMAIL_ADDRESS -o HTML

2. Disable the daily report generation in the Pingdom Server Monitor Plugin by editing the plugin code and commenting out the following line (around line number 130):