ERROR - Upgrading from 2012R2.9 to 2014R1.0

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rbaholding
Posts: 30
Joined: Tue Dec 11, 2012 10:06 am

ERROR - Upgrading from 2012R2.9 to 2014R1.0

Post by rbaholding »

Hi, we have a problem when upgrade to the 2014R1.0 version.

When installation is finished and nagios starts, the monitor engine is down.

When we try to start the engine, have a lot of errors:
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects..... in hosttemplates.cfg
Error: Service has no hosts and/or services_description

Can you help me?

Thanks
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: ERROR - Upgrading from 2012R2.9 to 2014R1.0

Post by tmcdonald »

Error: Service has no hosts and/or services_description
There should be more output than that. Can you post the full output? It should mention the file that has the host/service_description issue.
Former Nagios employee
rbaholding
Posts: 30
Joined: Tue Dec 11, 2012 10:06 am

Re: ERROR - Upgrading from 2012R2.9 to 2014R1.0

Post by rbaholding »

Hi again,

Finally, we could upgrade Nagios but we have another problem.

All seems OK, but the monitor engine process doesn't start. Ever is down.
The nagios.cfg verification is allright. What info or logs do you need for help me?

Thanks a lot.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: ERROR - Upgrading from 2012R2.9 to 2014R1.0

Post by slansing »

What output do you receive when you try to start nagios?:

Code: Select all

service nagios start

Code: Select all

tail -30 /usr/local/nagios/var/nagios.log

Code: Select all

tail -30 /var/log/messages
rbaholding
Posts: 30
Joined: Tue Dec 11, 2012 10:06 am

Re: ERROR - Upgrading from 2012R2.9 to 2014R1.0

Post by rbaholding »

Hi, I attached the requested logs.

Thanks.
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: ERROR - Upgrading from 2012R2.9 to 2014R1.0

Post by slansing »

Looks like MK-Livestatus is failing, this is because of a bug they have regarding Core 4, you will need to use version "1.2.0p3" of livestatus in order to use it with Nagios XI.

http://support.nagios.com/forum/viewtop ... 2&start=20
rbaholding
Posts: 30
Joined: Tue Dec 11, 2012 10:06 am

Re: ERROR - Upgrading from 2012R2.9 to 2014R1.0

Post by rbaholding »

Hi, We have applied mklivestatus 1.2.0p3 version and nagios still not working.
Only works if remove the "broker" line of charge the mklivestate in nagios.cfg but nagvis don't works.

Any idea?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: ERROR - Upgrading from 2012R2.9 to 2014R1.0

Post by sreinhardt »

To confirm, you also recompiled and installed the new broker module for mk? Let's also make sure that there is only one mk module on the system.

Code: Select all

updatedb
locate livestatus.o
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.
Locked