Xymon mailman web
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

None

None

24 Jun 2026 24 Jun '26
8:22 a.m.

PROC processname minimumcount maximumcount color [TRACK=id] [TEXT=displaytext]

The "ps" listing sent by the client will be scanned for how many

processes containing "processname" are running, and this is then

matched against the min/max settings defined here. If the running

count is outside the thresholds, the color of the "procs" status

changes to "color".

To check for a process that must NOT be running: Set minimum and

maximum to 0.

"processname" can be a simple string, in which case this string must

show up in the "ps" listing as a command. The scanner will find

a ps-listing of e.g. "/usr/sbin/cron" if you only specify "processname"

as "cron".

"processname" can also be a Perl-compatiable regular expression, e.g.

"%java.*inst[0123]" can be used to find entries in the ps-listing for

"java -Xmx512m inst2" and "java -Xmx256 inst3". In that case,

"processname" must begin with "%" followed by the reg.expression.

If "processname" contains whitespace (blanks or TAB), you must enclose

the full string in double quotes - including the "%" if you use regular

expression matching. E.g.

PROC "%hobbitd_channel --channel=data.*hobbitd_rrd" 1 1 yellow

or

PROC "java -DCLASSPATH=/opt/java/lib" 2 5

Regards Vernon

On 10 December 2014 at 08:39, John D. Alexander <JAlexander at feeneywireless.com<mailto:JAlexander at feeneywireless.com>> wrote: All,

I’ve just installed Xyon onto CentOS 7 (x86_64). As usual, it’s working like a charm, except..

HOST= lines in analysis.cfg are not being evaluated. An example:

HOST=server.mydomain.com<http://server.mydomain.com> PROC=mysql

The server is defined in hosts.cfg and MariaDB is running on the server, but the procs remain clear saying “No process checks defined”

Anyone got any insight?

TIA.

John Alexander Network Administrator John.Alexander at feeneywireless.com<mailto:John.Alexander at feeneywireless.com> Feeney Wireless, LLC - PO Box 2549, Eugene, Oregon 97402 (Free) 800-683-4818<tel:800-683-4818> (P) 541-685-9045<tel:541-685-9045> (F) 541-284-0030<tel:541-284-0030> www.feeneywireless.com<http://www.feeneywireless.com/> [FW_Acronym_email]<http://feeneywireless.com/> This email transmission is intended only for the addressee shown above. It may contain information that is privileged, confidential or otherwise protected from disclosure. Any review, dissemination or use of this transmission or its contents by persons other than the addressee is strictly prohibited! If you have received this email transmission in error please notify us immediately.


Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon

-- "Accept the challenges so that you can feel the exhilaration of victory"

  • General George Patton
0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

HyperKitty Powered by HyperKitty version 1.3.12.