Project

General

Profile

Actions

User story #3985

closed

User story #3984: New Technique added: Partition monitoring

Technique implementation: Partition monitoring technique

Added by Olivier Mauras over 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Linked to issue #3984

PR: https://github.com/Normation/rudder-techniques/pull/200

Result of the technique:

!! Free disk space is under 90% for volume containing /var/log/rudder (82% free)
I: Made in version 'not specified' of '/var/rudder/cfengine-community/inputs/partitionSizeMonitoring/1.0/monitorPartitionSize.cf' near line 26
I: Comment: Check free space available on /var/log/rudder

R: @@monitorPartitionSize@@result_error@@53ce4a09-fe82-4952-a2d5-a4fc1409341c@@08b64550-504d-4fe7-8a80-b67a978071f1@@3@@Partition@@/var/log/rudder@@2013-10-02 11:40:34+02:00##root@#The partition /var/log/rudder has not enough free space
R: @@monitorPartitionSize@@result_repaired@@53ce4a09-fe82-4952-a2d5-a4fc1409341c@@08b64550-504d-4fe7-8a80-b67a978071f1@@3@@Command execution on threshold@@/var/log/rudder@@2013-10-02 11:40:34+02:00##root@#Under threshold command executed - /bin/find /var/log/rudder -type f -mtime +0 -exec rm -f {} \;

Actions #1

Updated by Nicolas PERRON over 10 years ago

  • Parent task set to #3984

Thanks for you proposal. I add the parent task (#3984) to this issue.

Interesting idea ! We'll need to test it and see with our product owner if this could be added into Rudder.

Actions #2

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from New to Pending technical review
  • Assignee set to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/200

I've read throught this and approve it from a functional point of view - thanks Olivier!

Nicolas, can you do a Tech Review please?

Actions #3

Updated by Jonathan CLARKE over 10 years ago

  • Category set to Techniques
Actions #4

Updated by Nicolas CHARLES over 10 years ago

I tech-reviewed it, but I really believe this PR should be against rudder/2.4 rather than master.
We strive on having the same promises (when possible) on all versions of rudder, and provide backward and forward compatibility. This should be the case here as well, as there is nothing specific to a given version of Rudder

Actions #5

Updated by Nicolas CHARLES over 10 years ago

Olivier, do you want me to create a new PR to branch 2.4 ?

Actions #6

Updated by Olivier Mauras over 10 years ago

Nicolas, give me 5mn to do it

Actions #8

Updated by Nicolas CHARLES over 10 years ago

  • Target version set to 2.4.12
  • Pull Request changed from https://github.com/Normation/rudder-techniques/pull/200 to https://github.com/Normation/rudder-techniques/pull/226

Looks awesome to me !
Thank you

Actions #9

Updated by Nicolas CHARLES over 10 years ago

  • Status changed from Pending technical review to 12

commit:0b8c46f91572f8176e0c15a1740e130b5f1ecd49

Actions #10

Updated by Nicolas CHARLES over 10 years ago

  • Status changed from 12 to Pending release
Actions #11

Updated by Nicolas PERRON over 10 years ago

  • Status changed from Pending release to Released

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

Actions #12

Updated by Benoît PECCATTE about 9 years ago

  • Tracker changed from Enhancement to User story
Actions

Also available in: Atom PDF