Monitoring Wizard Page not loading / Blank...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mc1903
Posts: 9
Joined: Fri May 21, 2010 11:22 am

Monitoring Wizard Page not loading / Blank...

Post by mc1903 »

Hello,

I have not needed to add any new devices into NagiosXI for a couple of months, but today I need to add a server and the Monitoring Wizard page will not load properly...

I click the Monitoring Wizard link (http://servername.fqdn/nagiosxi/config/ ... wizard.php) and nothing loads... The main XI header and left hand menu are still there - just the right hand pane is empty...

I have tried rebooting the server but the problem persists... All other pages seem to be OK...

I am running a licensed 2009R1.3G installed version on Centos 5.4 x86...

Any thoughts or advice will be apreciated...

Thanks

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

Re: Monitoring Wizard Page not loading / Blank...

Post by tonyyarusso »

Are there any PHP errors in your Apache logs?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
mc1903
Posts: 9
Joined: Fri May 21, 2010 11:22 am

Re: Monitoring Wizard Page not loading / Blank...

Post by mc1903 »

Hi Tony,

Yes I am... The following error gets logged when I clicked the Monitoring Wizard link...

Code: Select all


[Tue Jan 25 17:59:05 2011] [error] [client 10.0.1.123] PHP Fatal error:  Cannot redeclare rssnotifications_component_init() (previously declared in /usr/local/nagiosxi/html/includes/components/rssnotifications/rssnotifications.inc.php:20) in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 53, referer: http://server.fqdn/nagiosxi/config/

Does this help you..?

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

Re: Monitoring Wizard Page not loading / Blank...

Post by tonyyarusso »

All right, that looks like there's a bug in the RSS component then. Try removing that component for now, and we'll take a look at that piece.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
mc1903
Posts: 9
Joined: Fri May 21, 2010 11:22 am

Re: Monitoring Wizard Page not loading / Blank...

Post by mc1903 »

Hi Tony,

I have just removed the RSS component and I still cannot access the Monitoring Wizard page...

The error_log file (/var/log/httpd) now has a different error...

Code: Select all

[Wed Jan 26 16:17:19 2011] [error] [client 10.0.10.131] PHP Warning:  fileowner() [<a href='function.fileowner'>function.fileowner</a>]: stat failed for reset_config_perms in /usr/local/nagiosxi/html/includes/components/nagiosql/nagiosql.inc.php on line 91, referer: http://server.fqdn/nagiosxi/admin/main.php?&=
[Wed Jan 26 16:17:19 2011] [error] [client 10.0.10.131] PHP Warning:  fileowner() [<a href='function.fileowner'>function.fileowner</a>]: stat failed for reset_config_perms.sh in /usr/local/nagiosxi/html/includes/components/nagiosql/nagiosql.inc.php on line 91, referer: http://server.fqdn/nagiosxi/admin/main.php?&=
[Wed Jan 26 16:17:20 2011] [error] [client 10.0.10.131] PHP Fatal error:  Cannot redeclare rssnotifications_component_init() (previously declared in /usr/local/nagiosxi/html/includes/components/rssnotifications/rssnotifications.inc.php:20) in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 53, referer: http://server.fqdn/nagiosxi/admin/
[Wed Jan 26 16:18:59 2011] [notice] caught SIGTERM, shutting down
[Wed Jan 26 16:19:27 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jan 26 16:19:27 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 26 16:19:27 2011] [notice] Digest: done
[Wed Jan 26 16:19:28 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Jan 26 16:19:36 2011] [error] [client 10.0.10.131] PHP Warning:  require_once(/usr/local/nagiosxi/html/includes/configwizards/rssnotifications/../componenthelper.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 8, referer: http://server.fqdn/nagiosxi/config/
[Wed Jan 26 16:19:36 2011] [error] [client 10.0.10.131] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/nagiosxi/html/includes/configwizards/rssnotifications/../componenthelper.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 8, referer: http://server.fqdn/nagiosxi/config/
[Wed Jan 26 16:19:37 2011] [error] [client 10.0.10.131] PHP Warning:  require_once(/usr/local/nagiosxi/html/includes/configwizards/rssnotifications/../componenthelper.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 8, referer: http://server.fqdn/nagiosxi/config/
[Wed Jan 26 16:19:37 2011] [error] [client 10.0.10.131] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/nagiosxi/html/includes/configwizards/rssnotifications/../componenthelper.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 8, referer: http://server.fqdn/nagiosxi/config/
Any thoughts on what to try next..?

Thanks again,

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

Re: Monitoring Wizard Page not loading / Blank...

Post by tonyyarusso »

Weird...it didn't actually go away. I'm not sure, but will get back to you.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Monitoring Wizard Page not loading / Blank...

Post by tonyyarusso »

Is it possible that you're using an old version of the RSS component? The one currently on the Exchange is working for me, and doesn't look like it has a function definition where your logs are complaining about.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
mc1903
Posts: 9
Joined: Fri May 21, 2010 11:22 am

Re: Monitoring Wizard Page not loading / Blank...

Post by mc1903 »

Hi,

Previously I removed the RSS component via the XI Admin | Manage Components web page... It looks like it did not actually remove anything as the RSS Notofications directory (/usr/local/nagiosxi/html/includes/configwizards/rssnotifications) was still present...

I manually delected the directory/its contents, stopped both the Nagios & httpd daemons, cleared the error_log file, restarted the Nagios & httpd daemons... I can now access the Monitoring Wizard page and no errors are logged to /var/log/httpd/error_log

Also, I was using the latest RSS component - I will try re-installing it a little later to see if I get the same problem...

Thanks for you help...

Martin
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Monitoring Wizard Page not loading / Blank...

Post by rdedon »

Thank you Martin and keep us posted.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
mc1903
Posts: 9
Joined: Fri May 21, 2010 11:22 am

Re: Monitoring Wizard Page not loading / Blank...

Post by mc1903 »

Hello,

I have reinstalled the latest RSS component and everything still works OK...

Thank you for your help...

Martin
Locked