[Xymon] alerting on percentage of memory a process is using
Thomas Eckert
thomas.eckert at it-eckert.de
Fri Jan 3 08:10:15 CET 2014
Hi Paul,
have a look at `clientlog`, <http://xymon.com/xymon/help/manpages/man1/xymon.1.html>
You can use the `ps` or `top` section to grep-sed-awk-perl your data from it:
xymon 127.0.0.1 “clientlog your.host section=ps” | grep-sed-awk-perl-magic
Cheers
Thomas
—
http://www.it-eckert.com/
On 03 Jan 2014, at 05:24, Root, Paul T <Paul.Root at centurylink.com> wrote:
> Hi,
> We have a server that has some software that has a memory leak. Upgrading is a long and arduous task. In the meantime, we want to watch the processes so that when they hit 15% or something, we can get alerted. The PROC line in analysis.cfg is just for quantity. So I was thinking I could pull the data out of xymon, and check the process table on the server. I was thinking it was something with xymondboard, but that doesn’t seem to be it. Can someone point me in the right direction for this?
>
> Or maybe it would be better to just have an external script run the ps directly?
>
> Paul Root
> Lead Engineer
> CenturyLink Network Reliability Operations Center
>
> 600 Stinson Blvd, N.E.
> Flr 2N
> Minneapolis, MN 55413
> Direct: (651)312-5207
> Paul.Root at centurylink.com
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140103/d64b5e24/attachment.html>
More information about the Xymon
mailing list