[Xymon] alerting on percentage of memory a process is using

Root, Paul T Paul.Root at centurylink.com
Fri Jan 3 15:15:04 CET 2014


That's the one. Thanks.

I probably would have found it this morning. The end of a maintenance hour gone bad is not the time to try to read a man page.

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Thomas Eckert
Sent: Friday, January 03, 2014 1:10 AM
To: xymon at xymon.com
Subject: Re: [Xymon] alerting on percentage of memory a process is using

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<mailto: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<mailto:Paul.Root at centurylink.com>

_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto: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/e75961eb/attachment.html>


More information about the Xymon mailing list