Page 1 of 1

Nagios Virtual Machine

Posted: Sat Sep 17, 2011 9:48 pm
by yctsai1
Just downloaded the VM and created a Hyper-V VM.

Following the Nagio's installation procedure, I've logged in, changed root password but when I try to change the mysqladmin password, I get an error, Access Denied. I've used the command as described,

mysqladmin -u root -p'nagiosxi' password mypass1

Re: Nagios Virtual Machine

Posted: Mon Sep 19, 2011 10:43 am
by nscott
Can you access the nagiosxi database with nagiosxi?

mysql -u root -pnagiosxi nagios

Does that return ok?

Re: Nagios Virtual Machine

Posted: Sun Oct 02, 2011 10:52 am
by yctsai1
> my sql -u root -pnagiosxi nagios

Error 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Re: Nagios Virtual Machine

Posted: Mon Oct 03, 2011 6:51 am
by yctsai1
Access Denied

Re: Nagios Virtual Machine

Posted: Mon Oct 03, 2011 10:51 am
by nscott
yctsai1,

Would you mind posting a screenshot of what you see when you attempt to login? I'm a bit confused about which error you're getting and it would be quickest to rectify it if you just posted a screenshot.

Re: Nagios Virtual Machine

Posted: Mon Oct 03, 2011 11:51 am
by yctsai1
Looks like it must have something to do with MySQL not running.

Now after creating a Web check and a ping check for google.com, Service Status gives the same errors on both checks...

SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_programstatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_programstatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_programstatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_programstatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_programstatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_programstatus'

Re: Nagios Virtual Machine

Posted: Mon Oct 03, 2011 4:52 pm
by lmiltchev
If you need to setup your mysql password or you lost it and need to recover it, you may try using the following two links (at your own risk!):

http://www.cyberciti.biz/faq/mysql-chan ... -password/

http://www.cyberciti.biz/tips/recover-m ... sword.html