Xymon say "No port checks defined", but it configure to check in analysis
Hello
On my x-www-browser i have xymon-cgi/svcstatus.sh?HOST=totomysql02&SERVICE=ports
says : "No port checks defined" and "WARNING: Flapping status"
On xymon server's analysis.cfg HOST=totomysql02 PROC /usr/sbin/mysqld 1 1 PORT "LOCAL=%([.:]3306)$" state=LISTEN TEXT=mysql3306$
My conf seem ok (still in xymon server) /usr/lib/xymon/server/bin/xymond_client --dump-config | grep vdmztoptmysql02 | grep 3306
PORT local=%([.:]3306)$ state=LISTEN min=1 color=red HOST=totomysql02 TEXT=mysql3306 (line: 390)
on xymon server's /var/log/xymon/xymond.log 2020-01-23 15:45:59.822981 Flapping detected for totomysql02:ports - 5 changes in 600 seconds
1/ why "Flapping detected" 2/ why still "No port checks defined"
--
Mail non conforme ? la netiquette (https://fr.wikipedia.org/wiki/Netiquette)
Cordialement, Gr?gory Bulot Coaxis Hosting 0825 82 82 57
Is your port check above the DEFAULT? Can you share your config file?
Flapping means it's gone up/down a handful of times in a finite amount of time (I can't remember the numbers). Not sure how that would apply with a lack of port check though.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Thu, Jan 23, 2020 at 10:38 AM <diffusion at bulot-fr.com> wrote:
Hello
On my x-www-browser i have xymon-cgi/svcstatus.sh?HOST=totomysql02&SERVICE=ports
says : "No port checks defined" and "WARNING: Flapping status"
On xymon server's analysis.cfg HOST=totomysql02 PROC /usr/sbin/mysqld 1 1 PORT "LOCAL=%([.:]3306)$" state=LISTEN TEXT=mysql3306$
My conf seem ok (still in xymon server) /usr/lib/xymon/server/bin/xymond_client --dump-config | grep vdmztoptmysql02 | grep 3306
PORT local=%([.:]3306)$ state=LISTEN min=1 color=red HOST=totomysql02 TEXT=mysql3306 (line: 390)
on xymon server's /var/log/xymon/xymond.log 2020-01-23 15:45:59.822981 Flapping detected for totomysql02:ports - 5 changes in 600 seconds
1/ why "Flapping detected" 2/ why still "No port checks defined"
--
Mail non conforme ? la netiquette (https://fr.wikipedia.org/wiki/Netiquette)
Cordialement, Gr?gory Bulot Coaxis Hosting 0825 82 82 57
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Le Thu, 23 Jan 2020 11:58:32 -0500, Josh Luthman <josh at imaginenetworksllc.com> a ?crit :
Is your port check above the DEFAULT? Can you share your config file?
Yes, i'm using includedir analysis.d at the end of analysis.cfg
tail -2 analysis.cfg ; cat analysis.d/xxxxx-prod-pool1.cfg | grep -v -e "^$" -e "#"
directory analysis.d
HOST=zzzredis01 PORT "LOCAL=%([.:]6379)$" state=LISTEN TEXT=redis02 PROC /usr/bin/redis-server HOST=zzzmysql02 PROC mysqld 1 1 PORT LOCAL=%[\.:]3306 STATE=LISTEN min=1 TEXT=mysql3306
Flapping means it's gone up/down a handful of times in a finite amount of time (I can't remember the numbers). Not sure how that would apply with a lack of port check though.
On Thu, 2020-01-23 at 16:31 +0100, diffusion at bulot-fr.com wrote:
On xymon server's analysis.cfg HOST=totomysql02 PROC /usr/sbin/mysqld 1 1 PORT "LOCAL=%([.:]3306)$" state=LISTEN TEXT=mysql3306$
Hi,
If Xymon is processing the client data netstat output, then I suspect the '$' in your regex above is causing the problem. The netstat output includes other info after the port number, but your regex is saying it should be the end of the line.
John.
-- John Horne | Senior Operations Analyst | Technology and Information Services University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>
This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, University of Plymouth accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. University of Plymouth does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.
Le Fri, 24 Jan 2020 12:48:06 +0000, John Horne <john.horne at plymouth.ac.uk> a ?crit :
If Xymon is processing the client data netstat output, then I suspect the '$' in your regex above is causing the problem. The netstat output includes other info after the port number, but your regex is saying it should be the end of the line.
I've already try a simple check, but nothing better, this one not more :
PORT LOCAL=%[\.:]3306 STATE=LISTEN min=1 TEXT=mysql3306
By the way, i'll try procs also, and it's the same trouble :
PROC mysqld 1 1 WARNING: Flapping status "clear" No process checks defined
strange !
participants (4)
-
diffusion@bulot-fr.com
-
gregory@bulot-fr.com
-
john.horne@plymouth.ac.uk
-
josh@imaginenetworksllc.com