Upgrade issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
pbernardi
Posts: 20
Joined: Thu Apr 08, 2010 11:57 am

Upgrade issues

Post by pbernardi »

I upgraded from 1.2 to 1.4 yesterday and have experienced a couple of issues.

First, my performance graphs stopped working. The fix described in the following topic has resolved the problem and they are working again: http://support.nagios.com/forum/viewtop ... =16&t=1643


Second, I am getting a lot of these messages in my event log: 2011-02-23 10:26:24Warning: Service 'SQL Server Agent' on host 'dc1sql02' has no notification time period defined!

These are doubled with 'check' instead of 'notification...

Looking in the core config manager, all my services have the 'check period' empty on the check settings tab. This is true for services that had both a predefined system time period and a custom time period I created. All of the time periods are still there. Do you know how I can get that all back?

*edit: fyi, this is a distributed vm that was upgraded

Thanks,
Paul
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Upgrade issues

Post by mguthrie »

The check period is most likely defined in one of the top-level templates, probably either xi_generic_host/service. I'd specify the 24x7 timeperiod in those templates if it's not done already and I'm guessing those warnings will mostly disappear. Let us know how it goes though.
pbernardi
Posts: 20
Joined: Thu Apr 08, 2010 11:57 am

Re: Upgrade issues

Post by pbernardi »

hrm, i dont really want to re-apply the top level templates. I have several hosts that have services monitored at various times of the day.

Am I going to have to go through each of my checks and specify check and notification times? Any idea why this was lost during the upgrade?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Upgrade issues

Post by mguthrie »

Sorry if I wasn't clear. You shouldn't have to re-apply any templates with what I suggested, just make sure that in the top-level templates there is a check_period defined. Templates work by inheritance, so any settings that are specified in child templates or specific hosts/services will override the default template setting.

Not sure what or how that data could have been lost. 1.2 is a pretty early revision, and there have been a lot of changes since then.
pbernardi
Posts: 20
Joined: Thu Apr 08, 2010 11:57 am

Re: Upgrade issues

Post by pbernardi »

ah, I see. I thought that adding that to the template would override the individual service check settings.

I made the changes to the templates and it looks like the warnings have stopped.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Upgrade issues

Post by mguthrie »

Glad that's working for you, let us know if you come across any other issues.