Config wizards broken!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Config wizards broken!

Post by BanditBBS »

I recently upgraded all my servers to 2012v2.3. I just checked for updated components and wizards as I normally do after upgrades.

I downloaded about 4 components and 20 wizards. I then began uploading the wizards stating with ftpserver.zip and then the 3 mysql ones(very rapidly, while nagios process was restarting unowingly). What I didn't realize was it restarts Nagios each and every time, which can take up to a minute with all my items. Well, something broke during this process.

If I go to the manage wizards page it now only lists about 7 wizard total and if I go to configure and config wizards, I get a blank page and nothing ever loads!

I see 0 erros in /var/log/messages
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Config wizards broken!

Post by BanditBBS »

Code: Select all

[Wed Aug 28 13:21:57 2013] [error] [client 10.5.2.34] PHP Parse error:  syntax error, unexpected T_STRING in /usr/local/nagiosxi/html/includes/configwizards/ftpserver/ftpserver.inc.php on line 62, referer: http://svwdcnagios02/nagiosxi/admin/
found that in the httpd error log...ummm, help? :? LOL
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Config wizards broken!

Post by slansing »

Oh boy...can you try re-running the upgrade script from the tarball you downloaded? "2012 2.3"
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Config wizards broken!

Post by BanditBBS »

slansing wrote:Oh boy...can you try re-running the upgrade script from the tarball you downloaded? "2012 2.3"
Didn't make a difference. It looks like a bug in the ftpserver.zip wizard to me. If I remove that folder, will that break anything?

folder I am talking about: /usr/local/nagiosxi/html/includes/configwizards/ftpserver
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Config wizards broken!

Post by abrist »

Removing the folder should remove the wizard, and not break anything. You may get more errors afterwards if there are other issues though.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Config wizards broken!

Post by BanditBBS »

abrist wrote:Removing the folder should remove the wizard, and not break anything. You may get more errors afterwards if there are other issues though.
Done, no errors and everything working fine. Definitely seems to be an error with the ftpserver.zip No big deal for me, just want to point it out!

edit: I can reproduce at will, so I think I am right
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Config wizards broken!

Post by sreinhardt »

There was a recent change to that for internationalization. I'll speak with a dev to get this resolved. Thanks for the heads up!!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config wizards broken!

Post by scottwilkerson »

This was my fault... missed a quote... New Wizard attached
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Config wizards broken!

Post by BanditBBS »

Don't be mad Scott if I say I definitely tried this on a dev server first :lol:

I can verify the 1.51 version works.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config wizards broken!

Post by scottwilkerson »

As expected... :roll:

Thanks!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked