Search found 4 matches

by redbob365
Thu Feb 21, 2019 1:31 pm
Forum: Open Source Nagios Projects
Topic: check_mysql_query user error
Replies: 7
Views: 2682

Re: check_mysql_query user error

Well, I did these: 1) I went to host and type this command at MYSQL: mysql> GRANT SELECT ON *.* TO 'fog'@'%' IDENTIFIED BY 'fog'; Query OK, 0 rows affected, 1 warning (0.00 sec) 2) I came back to monitoring computer and type this command ./check_mysql_query -H 172.24.3.144 -P 3306 -d fog -u fog -p f...
by redbob365
Thu Feb 21, 2019 12:38 pm
Forum: Open Source Nagios Projects
Topic: check_mysql_query user error
Replies: 7
Views: 2682

Re: check_mysql_query user error

I am not referencing Icinga anymore. I can test nagios plugins just typing commands at line command, like this: /usr/lib/nagios/plugins$ ./check_ping -H 172.24.3.1 -w 200,50% -c 1000,100% -p 5 -t 6 PING OK - Packet loss = 0%, RTA = 30.76 ms|rta=30.764000ms;200.000000;1000.000000;0.000000 pl=0%;50;10...
by redbob365
Thu Feb 21, 2019 12:30 pm
Forum: Open Source Nagios Projects
Topic: check_mysql_query user error
Replies: 7
Views: 2682

Re: check_mysql_query user error

Is there a Nagios plugin to do similar work to it?
by redbob365
Thu Feb 21, 2019 12:02 pm
Forum: Open Source Nagios Projects
Topic: check_mysql_query user error
Replies: 7
Views: 2682

check_mysql_query user error

Hi, i'm trying to use this plugin check_mysql_query , but I'm not lucky. I type it in my Monitoring Server (whose IP is 172.24.3.98): ./check_mysql_query -H 172.24.36.71 -P 3306 -d fog -u fog -p fog -q select * from images But I receive this kind of error: Access denied for user 'fog'@'172.24.3.98' ...