MySQL Threads-connected Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mindspring
Posts: 117
Joined: Thu Jul 19, 2012 10:24 am

MySQL Threads-connected Issue

Post by mindspring »

Hi there,

I seem to have a problem with this monitor where it says critical even though I set --warning and --critical to higher than the actual number

Please see attached.

My command in core config manager looks like this:

--hostname=sql-new.servers.chat2brand.com --port=3306 --username=nagios --password="xxxx" --database=information_schema --mode threads-connected --warning 450--critical 600
Last edited by mindspring on Fri Jul 26, 2019 5:40 am, edited 1 time in total.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MySQL Threads-connected Issue

Post by scottwilkerson »

You are missing a space after the 450

Code: Select all

--hostname=sql-new.servers.chat2brand.com --port=3306 --username=nagios --password="xxxx" --database=information_schema --mode threads-connected --warning 450--critical 600l
should be

Code: Select all

--hostname=sql-new.servers.chat2brand.com --port=3306 --username=nagios --password="xxxx" --database=information_schema --mode threads-connected --warning 450 --critical 600l
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked