Hello,
I have only (for the moment) a host monitored with several services, but all views and tables are empty: All service problems, all host problems, host detail, service detail, latest alerts,...
I have already executed "repairmysql.sh" script, but the problem go on.
Whats happens??
Thanks
Empty Views
Re: Empty Views
Is MySQL running?
service mysqld status
If that says its off, do a
service mysqld start
And check to see if that fixed it.
Next make sure, that youre credentials are good with Nagios XI. Run the following
grep '"ndoutils" => array(' /usr/local/nagiosxi/html/config.inc.php -A 5
And use the user and pwd given as follows
mysql -u <user given> -p'<password given>' nagios
Does that successfully work? If it doesn't you need to set the proper credentials in the config.inc.php.
service mysqld status
If that says its off, do a
service mysqld start
And check to see if that fixed it.
Next make sure, that youre credentials are good with Nagios XI. Run the following
grep '"ndoutils" => array(' /usr/local/nagiosxi/html/config.inc.php -A 5
And use the user and pwd given as follows
mysql -u <user given> -p'<password given>' nagios
Does that successfully work? If it doesn't you need to set the proper credentials in the config.inc.php.
Nicholas Scott
Former Nagios employee
Former Nagios employee