Restart Nagios Xi core down

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
HDSRetail
Posts: 16
Joined: Fri Oct 28, 2011 1:40 pm
Location: Prag
Contact:

Restart Nagios Xi core down

Post 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.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Restart Nagios Xi core down

Post 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.
HDSRetail
Posts: 16
Joined: Fri Oct 28, 2011 1:40 pm
Location: Prag
Contact:

Re: Restart Nagios Xi core down

Post 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

Code: Select all

 service nagios start
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.
Image
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Restart Nagios Xi core down

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
HDSRetail
Posts: 16
Joined: Fri Oct 28, 2011 1:40 pm
Location: Prag
Contact:

Re: Restart Nagios Xi core down

Post 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

Code: Select all

 service nagios start
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?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Restart Nagios Xi core down

Post 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?
HDSRetail
Posts: 16
Joined: Fri Oct 28, 2011 1:40 pm
Location: Prag
Contact:

Re: Restart Nagios Xi core down

Post 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
Image
The problem is somewhere in nagiosxi or servis or graphs? Or the problem in PostgreSQL?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Restart Nagios Xi core down

Post 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
HDSRetail
Posts: 16
Joined: Fri Oct 28, 2011 1:40 pm
Location: Prag
Contact:

Re: Restart Nagios Xi core down

Post 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?
HDSRetail
Posts: 16
Joined: Fri Oct 28, 2011 1:40 pm
Location: Prag
Contact:

Re: Restart Nagios Xi core down

Post by HDSRetail »

It would be better do restore from backup to the new NagiosXI server?
Last edited by HDSRetail on Tue Nov 08, 2011 12:29 am, edited 1 time in total.
Locked