Xymon Mailing List Archive search

Intelligent CPU Load Settings

list Bill Howe
Mon, 30 May 2016 15:28:41 -0500
Message-Id: <user-8036b3c73890@xymon.invalid>

JC,

Awesome, glad its on its way!

Is the nproc collection currently available in a xymon variable?

That way, it can be worked around with a server side cron for now.

Thank you,

Bill Howe
user-851eeb93eef8@xymon.invalid

On 05/30/2016 01:42 AM, J.C. Cleaver wrote:
On Sat, May 28, 2016 2:11 pm, Bill wrote:
Xymon'ers,

Is there any planned functionality to be able to dynamically set a xymon
client's LOAD alert settings based upon how many processors it has?

The current static defaults are not too helpful, and hand editing an
entry in /etc/xymon/analysis/*.cfg for every server just shouldn't have
to be done.

_*Ideally*_
It would be best if along with the "top" view that is reported by
clients, they also reported their CPU count (either with "nproc" or
"grep -c proc /proc/cpuinfo")

Then the CPU count could be shown on client's "cpu" service page. <=
Critical information when determining if load is a problem or not.

Since the count would then be reported to and available on the xymon
server, it could then be possible to set warnings and criticals based
off of CPU count. (IE Warn at a load number equal to CPU count, Critical
at a number equal to CPU count x 1.5)
Hi Bill,

It's definitely planned, but not quite in there yet. It'll likely need to
be an additional (distinct) RRD file with a separate set of (normalized)
thresholds.

The collection of number of processes for some OS's went in in
https://sourceforge.net/p/xymon/code/7707


HTH,
-jc