Page 1 of 1

"The last update check failed"

Posted: Mon Mar 19, 2012 9:45 am
by hakkintek
Hi, I have an offline install of Nagios XI (2011R2.2) that I built from scratch. Everytime I login it says "The last update check failed", obviously because I'm offline. Is there a bit I can set to disable this?

Thanks!

Re: "The last update check failed"

Posted: Mon Mar 19, 2012 10:56 am
by scottwilkerson
If you go to Admin -> Manage System Config
you can uncheck the box labeled "Automatically Check for Updates:"

Re: "The last update check failed"

Posted: Mon Mar 19, 2012 12:27 pm
by hakkintek
Yeah, did that first. Still shows the spinning stop sign of death on the bottom right of all the pages.

Also, I changed "check_for_updates" in the nagios.cfg from a "1" to a "0". No dice.

Anything else to try?

Thanks.

Re: "The last update check failed"

Posted: Mon Mar 19, 2012 2:23 pm
by scottwilkerson
To make sure we are talking about the same thing, are you referring to this then you say "spinning stop sign of death"
update.PNG

Re: "The last update check failed"

Posted: Mon Mar 19, 2012 5:23 pm
by hakkintek
Yup. That's it.

Our customers obviously don't like seeing anything that says "Problem Detected". Hence, spinning sign of death.

Also, whenever someone logs into the GUI, there is a message that pops up stating that Nagios was unable to update. When you click on the message, it takes you to the update page. It says that the latest available update is R2.1 and the currently installed version is R2.2.

This is confusing to the customers who don't like being told to ignore it.

Sorry that I can't offer screen shots or anything... :(

Re: "The last update check failed"

Posted: Tue Mar 20, 2012 4:02 pm
by mguthrie
The offline installer is still brand new so there will probably be a few quirks like this to find yet, but here's a workaround in the meantime:

Code: Select all

psql nagiosxi nagiosxi
UPDATE xi_options SET value=1 WHERE name='last_update_check_succeeded';
\q