-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kaushal Shriyan wrote:
| I have set it like the below in the nrpe.cfg file
|
| command[check_mysql_query]=/usr/nagios/libexec/check_mysql_query -q
| "Select count(*) from table" -w1:5 -H localhost -P 3306 -d test -u test
| -p example
| command[check_mysql_query]=/usr/nagios/libexec/check_mysql_query -q
| "Select count(*) from table" -c200000 -H localhost -P 3306 -d test -u
| test -p example

What happens if you execute the command by hand?

But you should not use duplicate entries. I think NRPE should actually
reject it and/or fail to startup.

Hugo.

- --
[EMAIL PROTECTED]               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

        A: Yes.
        >Q: Are you sure?
        >>A: Because it reverses the logical flow of conversation.
        >>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIU4g6BvzDRVjxmYERArKeAJ4vd+KJTYlW5DlS7uzcKyDOjWo6kQCgngfX
Vv5Fp5je2Ka2O2yVchfLnds=
=Nt2c
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to