Hi,

Change passwords in  used service checks (CONFIGURATION menu -> Service checks).
For exaple the one you've mentioned:
Edit: MySQL DB Performance int he Arguments line!

Bye.

From: [email protected] 
[mailto:[email protected]] On Behalf Of Yitzhak Bar Geva
Sent: Monday, May 31, 2010 5:34 PM
To: opsview-users
Subject: [opsview-users] MySQL connect errors

No one have any idea how I can debug this?
I could not find any information in the logs
On Sun, May 30, 2010 at 6:05 PM, Yitzhak Bar Geva 
<[email protected]<mailto:[email protected]>> wrote:
Going batty!
I have diligently followed the instructions in the FAQ for changing passwords, 
as per:
How do I change MySQL passwords post installation?

1. Stop opsview and opsview-web daemons

2. Edit passwords in opsview.conf





3. Change passwords in MySQL

mysql -p -u <root user>

USE mysql;

UPDATE user SET password=PASSWORD("newpass") WHERE user="opsview";

UPDATE user SET password=PASSWORD("newpass") WHERE user="odw";







UPDATE user SET password=PASSWORD("newpass") WHERE user="nagios";

FLUSH PRIVILEGES;

4. Run ''/etc/init.d/rc.opsview gen_config'' (which will regenerate the Opsview 
configuration files and then restart opsview daemons automatically)





5. Restart the opsview-web daemon
Fine and dandy.
When I manually run one of the MySQL polling scripts as user nagios and place 
the correct password in the command line, such as:
/usr/local/nagios/libexec/check_mysql_performance -H localhost -u opsview -p 
xxxx  --perfdata Connections,Max_used_connections
it works fine and I get:
MYSQL_PERFORMANCE OK - All parameters OK | Connections=0.213004484304933;; 
Max_used_connections=24;;

but when I run it through the web interface, I get things like:
Access denied for user 'opsview'@'localhost' (using password: YES)
or
(Return code of 255 is out of bounds)

I think it's using the word PASSWORD as in the script and not overriding it 
with the paswords I gave in opsview.conf

How can I debug this???
Thanks

____________________________________________________________________________________________________
Ez az e-mail és az összes hozzá tartozó csatolt melléklet titkos és/vagy 
jogilag, szakmailag vagy más módon védett információt tartalmazhat. Amennyiben 
nem Ön a levél címzettje akkor a levél tartalmának közlése, reprodukálása, 
másolása, vagy egyéb más úton történő terjesztése, felhasználása szigorúan 
tilos. Amennyiben tévedésből kapta meg ezt az üzenetet kérjük azonnal értesítse 
az üzenet küldőjét. Az Erste Bank Hungary Nyrt. (EBH) nem vállal felelősséget 
az információ teljes és pontos - címzett(ek)hez történő - eljuttatásáért, 
valamint semmilyen késésért, kapcsolat megszakadásból eredő hibáért, vagy az 
információ felhasználásából vagy annak megbízhatatlanságából eredő kárért.

Az üzenetek EBH-n kívüli küldője vagy címzettje tudomásul veszi és hozzájárul, 
hogy az üzenetekhez más banki alkalmazott is hozzáférhet az EBH folytonos 
munkamenetének biztosítása érdekében.


This e-mail and any attached files are confidential and/or covered by legal, 
professional or other privilege. If you are not the addressee, any disclosure, 
reproduction, copying, distribution, or other dissemination or use of this 
communication is strictly prohibited. If you have received this transmission in 
error please notify Erste Bank Hungary Nyrt. (EBH) immediately. EBH does not 
accept liability for the correct and complete transmission of the information, 
nor for any delay or interruption of the transmission, nor for damages arising 
from the use of or reliance on the information.

The sender or recipient of these messages agrees that they may be read by other 
EBH employees than the official recipient or sender in order to ensure the 
continuity of work-related activities and allow supervision thereof.

____________________________________________________________________________________________________
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to