Search found 7 matches
- Tue Oct 13, 2015 7:14 am
- Forum: Open Source Nagios Projects
- Topic: check_mysql_query
- Replies: 13
- Views: 5325
Re: check_mysql_query
Retyped all manually, the same problem.
- Mon Oct 12, 2015 11:57 am
- Forum: Open Source Nagios Projects
- Topic: check_mysql_query
- Replies: 13
- Views: 5325
Re: check_mysql_query
Can you run a 'pre flight check?' /usr/lib64/nagios/bin/nagios -v /usr/lib64/nagios/etc/nagios.cfg If that doesn't work, my paths may be slightly off. I am not used to that directory structure. How did you install Nagios? What OS is it running on? Preflight has only 10 warnings about default contac...
- Mon Oct 12, 2015 11:40 am
- Forum: Open Source Nagios Projects
- Topic: check_mysql_query
- Replies: 13
- Views: 5325
Re: check_mysql_query
$USER1$=/usr/lib64/nagios/pluginshsmith wrote:What is the output of a grep '$USER1' /usr/local/nagios/etc/resource.cfg command?
- Mon Oct 12, 2015 9:44 am
- Forum: Open Source Nagios Projects
- Topic: check_mysql_query
- Replies: 13
- Views: 5325
Re: check_mysql_query
I had, but now changed the password, and nothing happens. In cli `ok`, nagios has 'null'hsmith wrote:By chance do you have any special characters in your password?
- Thu Oct 01, 2015 7:23 am
- Forum: Open Source Nagios Projects
- Topic: check_mysql_query
- Replies: 13
- Views: 5325
Re: check_mysql_query
-bash-4.1$ /usr/lib64/nagios/plugins/check_mysql_query -H a.b.c.d -P 3306 -d database -u user -p password -q 'SELECT COUNT(`post_name`) FROM wp_posts;' -w 10 -c 20 QUERY CRITICAL: 'SELECT COUNT(`post_name`) FROM wp_posts;' returned 36,000000 When it run from the cli while logged as the nagios user e...
- Wed Sep 30, 2015 12:02 pm
- Forum: Open Source Nagios Projects
- Topic: check_mysql_query
- Replies: 13
- Views: 5325
Re: check_mysql_query
Not. I use mc, and <--> appear when I insert code there.I need to ask the obvious question here, but are you actually putting <-----> in your configs?
- Tue Sep 29, 2015 11:46 am
- Forum: Open Source Nagios Projects
- Topic: check_mysql_query
- Replies: 13
- Views: 5325
check_mysql_query
Hi all! Does anybody use subj? I get NULL everytime from that plugin. Here are my configs define command{. command_name<-->check_mysql_query command_line<-->$USER1$/check_mysql_query -H a.b.c.d -P 3306 -d database -u user -p password -q 'SELECT COUNT(`post_name`) FROM wp_posts;' -w $ARG1$ -c $ARG2$ ...