Page 4 of 5

Re: Upgrading from 3.5.1 to 4.0.0

Posted: Sat Sep 28, 2013 11:42 am
by mlong
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

Posted: Mon Sep 30, 2013 9:19 am
by abrist
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.

Re: Upgrading from 3.5.1 to 4.0.0

Posted: Mon Sep 30, 2013 6:03 pm
by mlong
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.
Ive had to productionalize the Nagios server over the weekend, so I was forced to revert to 3.5.1.

Ill have to wait for any updates til our next quarterly maintenance.

Re: Upgrading from 3.5.1 to 4.0.0

Posted: Tue Oct 01, 2013 3:34 pm
by scottwilkerson
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

Posted: Sat Oct 12, 2013 10:10 am
by nigelb
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

Re: Upgrading from 3.5.1 to 4.0.0

Posted: Mon Oct 14, 2013 10:33 am
by abrist
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.

Re: Upgrading from 3.5.1 to 4.0.0

Posted: Mon Oct 14, 2013 12:23 pm
by nigelb
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

Re: Upgrading from 3.5.1 to 4.0.0

Posted: Mon Oct 14, 2013 12:58 pm
by abrist
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.

Re: Upgrading from 3.5.1 to 4.0.0

Posted: Wed Oct 16, 2013 4:38 am
by alfl
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 ?

Re: Upgrading from 3.5.1 to 4.0.0

Posted: Wed Oct 16, 2013 10:46 am
by abrist
Does it work with systemd?

Code: Select all

service nagios restart
service nagios status