Error After Installation Nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error After Installation Nagiosxi

Post by mguthrie »

Save this as a php file and run it from a webserver. Can you send us the output from it? It should give us all the information on the php version that's running on your webserver, as well as installed modules.

Code: Select all

<?php

phpinfo();

?>
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

I have my webserver up and running now. My next challenge is to import my old nagios core config files (switch.cfg, windows.cfg,...etc) to nagioxi. Remember I build them in separate machines.

Lamin
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Error After Installation Nagiosxi

Post by tonyyarusso »

To summarize a few things:

Nagios XI requires CentOS 5 or RHEL 5 to run. CentOS 4, RHEL 4, Red Hat 4, and Red Hat 7.3 are not supported.

Nagios XI requires PHP 5.1 or higher to run. PHP 4.x is not supported. Testing has now confirmed that PHP 5.3.3 still works.

It sounds like you have addressed your initial issues somehow. If that is in fact the case, it would probably be best to open a new thread if you have any issues with the config file imports.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Cannot import nagios core config files to nagiosxi

Post by lamin »

After many struggles, I finally got nagioxi up and running but now I cannot import configuration when trying to follow the documentation.
xi.png
nagios.cfg.xi.png
nagios.cfg.png
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error After Installation Nagiosxi

Post by mguthrie »

I'm not really clear on what I'm supposed to be seeing on these screenshots. Can you elaborite on what the problem specifically is?

The first screenshot doesn't display any information relevant to configuration imports. The orange icon is simply saying "the check for the latest update for Nagios failed," and you have the latest version.

Please make sure you've looked at each of these documents if you've having trouble importing config files.
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
http://assets.nagios.com/downloads/nagi ... p_Tool.pdf
http://assets.nagios.com/downloads/nagi ... nto_XI.pdf

With Nagios XI, you should never edit any configuration files by hand unless they're located in the 'static' directory. It will either prevent configuration changes, or the changes will simply be overwritten by NagiosQL (Core Config Manager). XI requires using either the Configuration Wizards or the Core Config Manager to maintain your configurations. Some special circumstances may require manual maintenance of config files, in which case, see the doc below.

http://library.nagios.com/library/produ ... -nagios-xi
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

I have tried to follow the documentation but there is no luck so far.
You do not have the required permissions to view the files attached to this post.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Error After Installation Nagiosxi

Post by tonyyarusso »

Okay, that makes it sound like you're having problems with installing XI and PHP errors, which previously you said you had fixed. Please start over and explain precisely what your current issue(s) are, as it is no longer remotely clear to us.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

I have fixed the previous issue about php. Now, my issue is import config file.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error After Installation Nagiosxi

Post by mguthrie »

If you have a blank screen that means you're having a php error. Check your apache log file to see what the error was.

Were you able to view your screens in the Core Config Manager before attempting the import? If not, then there are still issues with the installation.
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

nagios core is working not problem because I modify its config file which is nagios.cfg.
You do not have the required permissions to view the files attached to this post.
Locked