Page 1 of 2

Wizard is not working.

Posted: Mon Aug 17, 2015 3:59 pm
by paulol
The Nagios Configuration Wizard stopped to work, i dont remember when and how.

If i add a host or a service via CCM it works, but via Wizard doesn't.

Re: Wizard is not working.

Posted: Mon Aug 17, 2015 4:26 pm
by ssax
Is it only this wizard it's happening on?

If you run this tail command and then try the wizard does it output any indication of what is happening?

Code: Select all

tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
How many ports does that device have?

What version of the wizard are you using? You can check by going to Admin > Manage Config Wizards and look to the right of Network Switch / Router.

What version of XI are you using? You can grab it from the bottom left hand side of the web interface.

Re: Wizard is not working.

Posted: Mon Aug 17, 2015 5:26 pm
by paulol
Is it only this wizard it's happening on?

R: This happening with all wizards
tail -f /var/log/httpd/error_log

PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
tail -f /var/log/httpd/ssl_error_log

didn't return anything.
How many ports does that device have?

R: I just put ip address.
What version of the wizard are you using?

R: All wizards are up to date.
Nagios XI 2014R2.7

Re: Wizard is not working.

Posted: Mon Aug 17, 2015 6:24 pm
by Box293
Run this command

Code: Select all

tail /var/log/mysqld.log -n 100 > /tmp/mysqld_log.txt
Send us this file:
/tmp/mysqld_log.txt

Re: Wizard is not working.

Posted: Tue Aug 18, 2015 6:02 am
by paulol
A few months ago i migrated my database to a remote server using https://assets.nagios.com/downloads/nag ... Server.pdf. But this problem started a few weeks.

Nagios XI
CentOS 6.6

Nagios XI DB
Suse 11 SP3
MySQL 5.5.43

Re: Wizard is not working.

Posted: Tue Aug 18, 2015 11:32 am
by ssax
Is that the mysqld log from the from the XI machine or from the offloaded DB server?

Re: Wizard is not working.

Posted: Tue Aug 18, 2015 12:32 pm
by paulol
offloaded DB server

Re: Wizard is not working.

Posted: Tue Aug 18, 2015 2:33 pm
by ssax
Please PM me the output of this command:

Code: Select all

echo "select * from xi_meta where keyname like '%switch%';" | psql nagiosxi nagiosxi
Also, send me your psql log from today (or another day that you ran the wizard):

Code: Select all

/var/lib/pgsql/data/pg_log/postgresql-Tue.log

Re: Wizard is not working.

Posted: Tue Aug 18, 2015 2:44 pm
by paulol
Follows the File .zip.

Re: Wizard is not working.

Posted: Tue Aug 18, 2015 3:42 pm
by ssax
Please PM me your /var/lib/pgsql/data/postgresql.conf as well.