Page 1 of 2
Restart Nagios Xi core down
Posted: Fri Oct 28, 2011 1:47 pm
by HDSRetail
Hi, we have problems with Nagiosxi R1.7. Will not boot after restart Nagios core. In Nagios is 516 guests and 4240 services. MySQL is on the second server. In the log DB is no error. I do not know what to focus and where do I find a bug? The Nagios we have come and now we have no control of our guests. Thanks for any advice.
Re: Restart Nagios Xi core down
Posted: Fri Oct 28, 2011 1:51 pm
by agriffin
Can you include a screenshot or the error message you're getting, and perhaps clarify what the issue is? I'm not really sure what exactly you're asking.
Re: Restart Nagios Xi core down
Posted: Fri Oct 28, 2011 2:14 pm
by HDSRetail
The screenshot shows that all services are running and still do not see any guest. If I turn off services manually stop the
Code: Select all
service nagiosxi service npcd & & & & stop service ndo2db stop & & service nagios stop
and run a
to see the server load and on the Anag get to Android as well as information on guests and services. After starting the remaining server services server load is reduced to a minimum and Anaga to get any information.

Re: Restart Nagios Xi core down
Posted: Fri Oct 28, 2011 3:26 pm
by lmiltchev
I am not sure that I understand what you are trying to explain. What exactly is the problem you are facing? Can you see the status of your hosts or services if you click on "Host Detail" or "Service Detail" under "Details" from the left panel menu?
Re: Restart Nagios Xi core down
Posted: Sun Oct 30, 2011 11:47 pm
by HDSRetail
Yes, it is precisely the problem that even guests at the service of nothing. And if not use the GUI Nagiosxi and just look at
http://nagios.hds.cz/nagios/cgi-bin/ results of the checks I get. But this occurs only when I turn off services
Code: Select all
service nagiosxi stop & & service npcd stop & & service ndo2db stop & & service nagios stop
and turn on
If I turn on all the services nagiosxi or not running nagios core. Nagiosxi runs at
http://nagios.hds.cz Can I send a password?
Re: Restart Nagios Xi core down
Posted: Tue Nov 01, 2011 1:00 pm
by mguthrie
MySQL is on the second server.
Can you verify that the XI machine can connect to the offloaded mysql server to retrieve the data?
Code: Select all
mysql -u nagios -p'nagios' -h <IP_ADDRESS_OF_MYSQL_SERVER>
mysql -u nagiosql -p'nagiosql' -h <IP_ADDRESS_OF_MYSQL_SERVER>
Can you verify that mysql is running ok on the remote machine?
Re: Restart Nagios Xi core down
Posted: Tue Nov 01, 2011 5:01 pm
by HDSRetail
Scren attached to the SQL server will connect without any problems. The SQL Server logs there is no error. Core Nagios is running as not letting the following services:
service npcd
service ndo2db
service nagiosxi

The problem is somewhere in nagiosxi or servis or graphs? Or the problem in PostgreSQL?
Re: Restart Nagios Xi core down
Posted: Wed Nov 02, 2011 12:42 pm
by mguthrie
Can you snoop around in XI and see if there's data missing anywhere else?
Also, can you post the output from:
Code: Select all
cd /usr/local/nagiosxi/cron
rm -f ../var/dbmaint.lock
./dbmaint.php
Re: Restart Nagios Xi core down
Posted: Thu Nov 03, 2011 5:49 am
by HDSRetail
SQL Complet rapair, but unfortunately my problem is not solved. How does control postgreSQL? Thanks for the advice. The problem is when I run the service crashes and then ndo2db nagios core. This service reinstalled?
Re: Restart Nagios Xi core down
Posted: Thu Nov 03, 2011 11:04 am
by HDSRetail
It would be better do restore from backup to the new NagiosXI server?