Upgrading from 3.5.1 to 4.0.0
Re: Upgrading from 3.5.1 to 4.0.0
of course now changes i make in nagiosql no longer take effect from the gui. I have to restart nagios from the command line to get them to take effect.
Re: Upgrading from 3.5.1 to 4.0.0
Nagiosql may have issues with the init script or with core 4 in general. The real init script fix may have to wait until they fix the bug on tracker.
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: Upgrading from 3.5.1 to 4.0.0
Ive had to productionalize the Nagios server over the weekend, so I was forced to revert to 3.5.1.abrist wrote:Nagiosql may have issues with the init script or with core 4 in general. The real init script fix may have to wait until they fix the bug on tracker.
Ill have to wait for any updates til our next quarterly maintenance.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Upgrading from 3.5.1 to 4.0.0
Thanks for updating, talking to the dev's this week, I believe a few incremental releaser are planned to catch some bugs that emerged in 4.0.0
Re: Upgrading from 3.5.1 to 4.0.0
I replaced the /etc/init.d/nagios file with the init script from mlong's post 27th Sept and it now works fine.
I'm running Debian Wheezey 64 bit.
(fresh install, Nagios is the first app I've installed on the box)
Nige
I'm running Debian Wheezey 64 bit.
(fresh install, Nagios is the first app I've installed on the box)
Nige
Re: Upgrading from 3.5.1 to 4.0.0
Great. That script is not perfect, but it is working and will remain as an ugly hack until it gets fixed proper by the core devs.
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: Upgrading from 3.5.1 to 4.0.0
If there is a new release for testing, I'm happy to blitz the box, re-install wheezey and try out a new build if that helps.
Cheers
Nige
Cheers
Nige
Re: Upgrading from 3.5.1 to 4.0.0
A new init script would not require reinstalling. Unfortunately, I do not think a new debian init script has been officially released as of yet.
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: Upgrading from 3.5.1 to 4.0.0
I am upgrading from version 3.5.1 to 4.0.1 on my ubuntu 12.04 box but the problem is still there. I changed the init script as mentioned in this and other posts but i still am unable to get the service running.
After changing the init script it appears that nagios is started up, checked the config etc. but an /etc/init.d/nagios status still gives an error saying nagios is not running and the website itself says the same.
Also an manual start of nagios doesn't give any error but also fails to start.
Status message of website:
Whoops!
Error: Could not read host and service status information!
Any news on this ?
After changing the init script it appears that nagios is started up, checked the config etc. but an /etc/init.d/nagios status still gives an error saying nagios is not running and the website itself says the same.
Also an manual start of nagios doesn't give any error but also fails to start.
Status message of website:
Whoops!
Error: Could not read host and service status information!
Any news on this ?
Re: Upgrading from 3.5.1 to 4.0.0
Does it work with systemd?
Code: Select all
service nagios restart
service nagios status
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.