[Xymon] Patch - no-cpu-listing - cpu column
Japheth Cleaver
cleaver at terabithia.org
Mon Apr 29 19:28:38 CEST 2019
On 4/29/2019 9:04 AM, John Horne wrote:
> Hi,
>
> Using the Terabithia 4.3.28 RPMS, the 'cpu' column typically shows the output
> from the 'top' command received from the client. While we have no problem with
> users knowing if a server has a problem, we do not necessarily want them seeing
> the processes running on the server. (A bit of security by obscurity I
> suppose.)
>
> The attached patches implement a 'xymond_client' option named '--no-cpu-
> listing'. This is basically similar to the current '--no-ps-listing' and '--no-
> port-listing' options (both of which we already use). The default for the new
> option is to be disabled - that is, as before, the 'top' listing is shown. If
> the option is used (in the tasks.cfg file, under the 'clientdata' section),
> then no 'top' output is included in the 'cpu' column, and just the uptime
> output and CPU load graph are shown.
>
> Both patches are only a few lines long. We have used this patch for a long time
> without any problems.
Looks good! Applied.
-jc
More information about the Xymon
mailing list