Page 5 of 7
Re: Error After Installation Nagiosxi
Posted: Tue Nov 09, 2010 12:24 pm
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.
Re: Error After Installation Nagiosxi
Posted: Tue Nov 09, 2010 1:20 pm
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
Re: Error After Installation Nagiosxi
Posted: Wed Nov 10, 2010 12:03 pm
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.
Cannot import nagios core config files to nagiosxi
Posted: Wed Nov 10, 2010 2:32 pm
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
Re: Error After Installation Nagiosxi
Posted: Wed Nov 10, 2010 3:02 pm
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
Re: Error After Installation Nagiosxi
Posted: Wed Nov 10, 2010 4:20 pm
by lamin
I have tried to follow the documentation but there is no luck so far.
Re: Error After Installation Nagiosxi
Posted: Wed Nov 10, 2010 5:05 pm
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.
Re: Error After Installation Nagiosxi
Posted: Wed Nov 10, 2010 5:17 pm
by lamin
I have fixed the previous issue about php. Now, my issue is import config file.
Re: Error After Installation Nagiosxi
Posted: Wed Nov 10, 2010 5:24 pm
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.
Re: Error After Installation Nagiosxi
Posted: Thu Nov 11, 2010 8:08 am
by lamin
nagios core is working not problem because I modify its config file which is nagios.cfg.