Config wizards broken!
Config wizards broken!
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
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
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
Re: Config wizards broken!
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/
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
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!
Oh boy...can you try re-running the upgrade script from the tarball you downloaded? "2012 2.3"
Re: Config wizards broken!
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?slansing wrote:Oh boy...can you try re-running the upgrade script from the tarball you downloaded? "2012 2.3"
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
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
Re: Config wizards broken!
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.
"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.
Re: Config wizards broken!
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!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.
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
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!
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!
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.
Re: Config wizards broken!
Don't be mad Scott if I say I definitely tried this on a dev server first
I can verify the 1.51 version works.
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
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!
As expected...
Thanks!
Thanks!