‘Create Log Deletion Job’ is a Management Pack that contains two SCOM – Agent Tasks to tame logfile growth.
- Create Log Deletion Job creates a scheduled task that deletes log files older than N days on the monitored computer.
- Create Log Compress ( + Deletion ) Job creates a scheduled task that compresses files older than N days and optionally also deletes the compressed files older than M days on the monitored computer.
It works on SCOM 2012 R2 and later.
Many applications and services which run on a server are creating logs. Some are doing it by default and some others are configured to do so by an Administrator or Developer. To prevent that the logs, occupy the complete disk space either the concerned developer implemented a smart log handling which rotates the files or the Administrator added a scheduled script to do so. This Management Pack provides a convenient way to create a log deletion job directly out of the SCOM console
Log Compress Task in the SCOM Console:
Log Deletion Task in the SCOM Console:
Keep this and many other management packs automatically up to date by installing the Community Management Pack
Windows.Computer.AgentTasks.CreateLogDeletionJob Copyright (C) 2018 Ruben Zimmermann (Juanito99)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.