This update is for all GroundWork customers running GroundWork Monitor Core or Enterprise 7.2.1 who want to ensure that all NoMa logfiles are properly rotated and are not subject to infinite growth.
This Technical Bulletin provides a documented and scripted method of applying the log-rotation recommendations in internal ticket GWMON-13520, which covers several NoMa logfiles that were previously overlooked.
The following NoMa-generated logfiles have not historically been under logrotate control:
The noma_downtime.log logfile in particular has been seen to grow huge in production.
To repair, a new /etc/logrotate.d/groundwork-noma-extras config file for logrotate is supplied that handles these files. Other logfiles generated by operation of NoMa were already handled by existing configuration, and are not dealt with by this patch.
The install script will test that you are on a GroundWork system running a version between 7.1.0 and 7.2.1 inclusive, that you have not already installed this patch, and that you want to go ahead.
Once this is installed, the additional NoMa logfiles will eventually be rotated once they exceed a reasonable size.
The administrator might wish to look at the files listed above, a day after this patch is installed. If the initial pass of log rotation caused some of those files to be rotated, and the old copies are huge and no longer needed, manual pruning of those rotated-out copies may be desired, to recover the space. Otherwise, the space will be recovered automatically over the log run, after a sufficient number of additional logfile rotations are triggered by continued growth of the logfiles.
No further administrator action is generally needed.
Reversal of this patch will remove the changes made to the GW server by removing the one added logrotate config file.