User story #3985
closed
User story #3984: New Technique added: Partition monitoring
Technique implementation: Partition monitoring technique
Added by Olivier Mauras about 11 years ago.
Updated over 9 years ago.
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 {} \;
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.
- 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?
- Category set to Techniques
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
Olivier, do you want me to create a new PR to branch 2.4 ?
Nicolas, give me 5mn to do it
- 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
- Status changed from Pending technical review to 12
commit:0b8c46f91572f8176e0c15a1740e130b5f1ecd49
- Status changed from 12 to Pending release
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.4.12 which was released today.
Check out:
- Tracker changed from Enhancement to User story
Also available in: Atom
PDF