Skip Menu |

This queue is for tickets about the Nagios-Plugin-Beanstalk CPAN distribution.

Report information
The Basics
Id: 80387
Status: new
Priority: 0/
Queue: Nagios-Plugin-Beanstalk

People
Owner: Nobody in particular
Requestors: ari [...] diablomedia.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.04
Fixed in: (no value)



Subject: Reported age does not take delay into account
Currently this nagios plugin alarms based on the date that a job was created, rather than how long the job has been in a "ready" state. When working with delayed jobs, it seems to make more sense to take the delay into account when determining the age of the job. This would prevent the alert from triggering as soon as a delayed job is moved into the ready queue. My suggested fix is a one-liner: Line 157: $age = $stats->age - $stats->delay;