Restart Nagios xi core down
-
- Posts: 16
- Joined: Fri Oct 28, 2011 1:40 pm
- Location: Prag
Restart Nagios xi core down
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.
-
- Posts: 876
- Joined: Mon May 09, 2011 9:36 am
Re: Restart Nagios xi core down
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.
-
- Posts: 16
- Joined: Fri Oct 28, 2011 1:40 pm
- Location: Prag
Re: Restart Nagios xi core down
The screenshot shows that all services are running and still do not see any guest. If I turn off services manually stop the 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.

Code: Select all
service nagiosxi service npcd & & & & stop service ndo2db stop & & service nagios stop
Code: Select all
service nagios start

-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Restart Nagios xi core down
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!
-
- Posts: 16
- Joined: Fri Oct 28, 2011 1:40 pm
- Location: Prag
Re: Restart Nagios xi core down
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
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?
Code: Select all
service nagiosxi stop & & service npcd stop & & service ndo2db stop & & service nagios stop
Code: Select all
service nagios start
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Restart Nagios xi core down
Can you verify that the xi machine can connect to the offloaded mysql server to retrieve the data?MySQL is on the second server.
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>
-
- Posts: 16
- Joined: Fri Oct 28, 2011 1:40 pm
- Location: Prag
Re: Restart Nagios xi core down
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?
service npcd
service ndo2db
service nagiosxi

The problem is somewhere in nagiosxi or servis or graphs? Or the problem in PostgreSQL?
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Restart Nagios xi core down
Can you snoop around in xi and see if there's data missing anywhere else?
Also, can you post the output from:
Also, can you post the output from:
Code: Select all
cd /usr/local/nagiosxi/cron
rm -f ../var/dbmaint.lock
./dbmaint.php
-
- Posts: 16
- Joined: Fri Oct 28, 2011 1:40 pm
- Location: Prag
Re: Restart Nagios xi core down
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?
-
- Posts: 16
- Joined: Fri Oct 28, 2011 1:40 pm
- Location: Prag
Re: Restart Nagios xi core down
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.