The check_mysql_query Plugin

Никита Тарасов <[email protected]> Wed, 28 Mar 2018 11:36:47 +0300
Newsgroups gmane.network.nagios.plugins
Message-ID <CAO=HzoHaSLrMuxNdL2SJOmYb9x5cEzRZsdbPjKTUPD9Nqrt0Mg__39836.5293666304$1522251000$gmane$org@mail.gmail.com>
--001a113f93dc697624056874e81e
Content-Type: text/plain; charset="UTF-8"

Hello there!

I don't quite understand what exactly mysql_query checks?

" checks a query result against threshold levels " - I don't understand
what is this about. Running query command to my MySQL server via monitoring
feature seems nonsence. I tested via API that I can drop my databases.
However the output result should be numeric.

Please explain in more details as it is not clear for me what numeric
result goes from the drop database query?

Regards,
Nikita.

--001a113f93dc697624056874e81e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello there!<div><br></div><div>I don&#39;t quite understa=
nd what exactly mysql_query checks?</div><div><br></div><div>&quot;

<span style=3D"color:rgba(0,0,0,0.87);font-family:&quot;Open Sans&quot;;fon=
t-size:17.6px;font-style:normal;font-variant-ligatures:normal;font-variant-=
caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-ind=
ent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decora=
tion-style:initial;text-decoration-color:initial;float:none;display:inline"=
>checks a query result against threshold levels</span>

&quot; - I don&#39;t understand what is this about. Running query command t=
o my MySQL server via monitoring feature seems nonsence. I tested via API t=
hat I can drop my databases. However the output result should be numeric.</=
div><div><br></div><div>Please explain in more details as it is not clear f=
or me what numeric result goes from the drop database query?</div><div><br>=
</div><div>Regards,</div><div>Nikita.</div></div>

--001a113f93dc697624056874e81e--