[Xymon] analysis.cfg checks failing
John D. Alexander
JAlexander at feeneywireless.com
Wed Dec 10 02:02:30 CET 2014
Vernon,
Right you are! Gahh.. It was staring at me the whole time as I was comparing the file between a working server and this one.
Thanks much. It’s those little details.
John Alexander
From: Vernon Everett [mailto:everett.vernon at gmail.com]
Sent: Tuesday, December 09, 2014 4:59 PM
To: John D. Alexander
Cc: xymon at xymon.com
Subject: Re: [Xymon] analysis.cfg checks failing
Hi John
HOST=foo
PROC /usr/bin/mysql 1 -1 red
No = in the PROC line.
From the top comments in analysis.cfg
# 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141210/900e9998/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1719 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141210/900e9998/attachment.jpg>
More information about the Xymon
mailing list