how to clear "check for updates"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
david_sloboda
Posts: 33
Joined: Mon Apr 30, 2012 1:26 pm
Location: Burnaby, Canada

how to clear "check for updates"

Post by david_sloboda »

I have a remote host running Nagios XI that is behind a proxy and has other issues.
I do not want this host checking for updates automatically.
When the host ran Nagios XI 2011 r3.3 this worked correctly.

I upgraded the host to Nagios XI 2012 r1.3 today.
The upgrade worked correctly.

On nagiosadmin login the host now (as per attached screen capture) shows the popup indicating a new release is available.

Code: Select all

Update Check Problem: Last update check failed.
Latest Available Version:	2012R1.1
Installed Version:	       2012R1.3
Last Update Check:	2013-01-10 20:13:03
I have set the Nagios XI server to stop checking for updates Admin > System Config > Manage System Config
I have cleared the browser session cache with SHIFT + CTRL + R
I have run
service nagios stop
service nagios start

How do I clear the server flag that still thinks 2012R1.1 is a new release?

Thank you,
David Sloboda
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: how to clear "check for updates"

Post by abrist »

Have you logged out and back in once?

If so, try the following:

Code: Select all

psql nagiosxi nagiosxi
UPDATE xi_options SET value=1 WHERE name='last_update_check_succeeded';
\q
It will fix up the flag in the flag in the db. Just make sure to log out and then back in before you test if the update notification has been removed.
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.
david_sloboda
Posts: 33
Joined: Mon Apr 30, 2012 1:26 pm
Location: Burnaby, Canada

Re: how to clear "check for updates"

Post by david_sloboda »

Thank you for your response.
I have indeed logged out and logged back in again.
I have cleared all history from the browser and all cached data. I have shut off the web browser and restarted it.
I have run the psql command as shown below.
The error persists.

There is an icon "information and alerts" in the lower right hand corner of the GUI.
I am wondering if that icon is running a parallel "update check"

How do I clear the server flag that still thinks 2012 r1.1 is a new release?
How do I tell the server that the installed version 2012 r1.3 is the Latest Available Version? That would solve the issue.

There is also in the GUI lower left hand corner a link "check for updates"
This takes me to http://www.nagios.com/checkforupdates/?...
which says that Nagios XI is up-to-date.
It appears this does not change the setting on the Nagios XI host.

Code: Select all

root@host ~# psql nagiosxi nagiosxi
Welcome to psql 8.1.23, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

nagiosxi=> UPDATE xi_options SET value=1 WHERE name='last_update_check_succeeded';
UPDATE 1
nagiosxi=> \q
root@host ~# 
Thank you,
David Sloboda
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: how to clear "check for updates"

Post by scottwilkerson »

If you setup the proxy settings in Admin -> Proxy Configuration

Then, Admin -> Check For Updates -> Check For Updates Now should get it up to date.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
david_sloboda
Posts: 33
Joined: Mon Apr 30, 2012 1:26 pm
Location: Burnaby, Canada

Re: how to clear "check for updates"

Post by david_sloboda »

enabling the proxy, including the checkbox "Enable Proxy For Update Checks," has fixed the notifications.
The "Check For Updates" now shows the host as up to date.

Thank you for the time and attention.
I appreciate it.
David Sloboda
Locked