[Nagiosplug-help] i need help with check_mysql?

The Sinner littlesinner at gmail.com
Thu May 5 00:16:44 CEST 2011


hi all,

i receive *access denied for user 'nagios'@'localhost' (using password
no)*error.

what i did so far:

logged in to mysql and selected mysql database then:
> grant all privileges on *.* to 'nagios'@'localhost' identified by
'mypass';
> flush privileges;

then wrote a service to run the check_mysql command.

the service is like:

...
...                 *check_mysql!-H localhost -d mysql -u nagios -p mypass*
...

how should i modify the bold part in my service definition not to receive
the error above? do i miss something or write a wrong check_mysql service
command?

thanks in advance.

-- 
The Sinner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20110505/7e5d02f2/attachment.html>


More information about the Help mailing list