Project

General

Profile

Actions

Bug #4766

closed

check-rudder-agent does not adapt it's check rate to the agent frequency

Added by Vincent MEMBRÉ 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

check-rudder-agent verify that last_successful_inputs_update file has changed in the last 10 minutes.

But if the agent is executed in a lower frequency that will fail because the gaent will not update that file in the good period

That check should be adapted to agent frequency


Subtasks 1 (0 open1 closed)

Bug #4789: check-rudder-agent fails on rudder-agent install due to a syntax error when computing run intervalReleasedJonathan CLARKE2014-04-30Actions
Actions #1

Updated by Vincent MEMBRÉ over 10 years ago

  • Category changed from System techniques to System integration
Actions #2

Updated by Jonathan CLARKE over 10 years ago

This can be achieved by using something like this:

RUN_INTERVAL=`cat /var/rudder/cfengine-community/inputs/run_interval`
CHECK_INTERVAL=`expr ${RUN_INTERVAL} * 2`
Actions #3

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from New to 8
  • Assignee set to Vincent MEMBRÉ
Actions #4

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from 8 to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/306

Thanks Jon about that command!

Made a PR of it!

https://github.com/Normation/rudder-packages/pull/306
Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset packages:commit:acf625009f2e46d74cd30208d50bd941cddf3c5b.

Actions #6

Updated by Vincent MEMBRÉ over 10 years ago

Applied in changeset packages:commit:b725cf0118232555900bccf9d8f8b56e73a19117.

Actions #7

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.1, which was released today.
Check out:

Actions

Also available in: Atom PDF