Project

General

Profile

Actions

Bug #4686

closed

Typo in /opt/rudder/bin/check-rudder-agent, prevent cleaning of cf-lock and floods with cron mails

Added by Dennis Cabooter over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

For some reason, I often get cron mails from various servers at various times with the following content:

WARNING: The file /var/rudder/cfengine-community/last_successful_inputs_update is older than 10 minutes, the agent is probably stuck. Purging the TokyoCabinet lock file... Done

In the past if a server was in NoAnswer state, I did a manual "find /var/rudder -name '*tcdb*' -delete". That was annoying, but the cron implementation is even more annoying. If i'm awafor the weekend, I will have 1000+ mails on monday. Disable cron mail is no option, cause then /var/spool/mail will grow very fast and I don't know what's happening on nodes. Please find another solution! Thanks in advance.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #4752: cf_lock.tcdb is not cleaned by check-rudder-agent script when update file is older than 10 minutesReleasedJonathan CLARKE2014-04-11Actions
Related to Rudder - Bug #4769: rudder-agent may be stucked by tokyo cabinet database bloatingReleasedJonathan CLARKE2014-04-23Actions
Actions

Also available in: Atom PDF