Saturday 11 May 2019

Patched Nagios scripts to monitor top 5 processes using CPU / memory

Overview

Unfortunately the Nagios scripts (plugins) provided in https://exchange.nagios.org/directory/Plugins/System-Metrics/CPU-Usage-and-Load/CPU-Stats-2FMemory-Used-Plugin--2D-Top-5-CPU-2FMemory-Consuming-Processes-for-Unix-Servers/details are not maintained since 2012 and do not work in Linux (tried with CentOS 7.x). I provide later on this page their patched versions for Linux (tried with CentOS 7.x but it should be OK for any Linux version - please confirm / or not).

Prerequisites

Install the following:
# yum install bc ksh sysstat


Patched Nagios scripts

Patched files working on CentOS 7.x:

No comments:

Post a Comment