Page 1 of 2
Check for XI updates with a plugin
Posted: Thu Jul 14, 2011 8:49 am
by cwireless
We have this configuration: Nagios XI 2011R1.5
Red Hat Enterprise Linux Server release 5.3; 32 bit; VMWare Image of NagiosXI; No special configurations.Using Mozilla firefox.
We were following this link
http://labs.nagios.com/2011/06/14/check ... -a-plugin/
The script is already executable, but we can see this message
[nagios@nagioscwp libexec]$ ./check_xi_updates -c 7
XI Updates UNKNOWN: Failed to check for updates.|'Build Age'=0;;;0;730 'Release Age'=0;;;0;730
[nagios@nagioscwp libexec]$
Certainly, our last_update_check_succeeded has failed. How can I figure out why?
Re: Check for XI updates with a plugin
Posted: Thu Jul 14, 2011 9:54 am
by mguthrie
That plugin is still fairly new. Are you able to get a successful update notice from the Nagios XI Admin->Check For Updates page?
Re: Check for XI updates with a plugin
Posted: Thu Jul 14, 2011 1:06 pm
by cwireless
Hmm,
this is what I get>
Update Check Problem: Last update check failed.
Latest Available Version: 2009R1.3G
Installed Version: 2011R1.5
Last Update Check: 2011-07-14 13:06:48
I have version R1.5, whay the latest available version is R.3G?
FUA
Re: Check for XI updates with a plugin
Posted: Fri Jul 15, 2011 9:35 am
by nscott
This is something we'll dig into a little deeper, thanks for bringing it to our attention.
Re: Check for XI updates with a plugin
Posted: Mon Aug 01, 2011 10:11 am
by cwireless
Thanks,
Our last_update_check_succeeded has failed. How can I figure out why?
Re: Check for XI updates with a plugin
Posted: Tue Aug 02, 2011 4:35 pm
by nscott
Where in the interface are you seeing that it has failed, can you post a screenshot?
Re: Check for XI updates with a plugin
Posted: Mon Aug 15, 2011 8:47 am
by cwireless
Attached you will find what you were asking for.
Re: Check for XI updates with a plugin
Posted: Mon Aug 15, 2011 10:34 am
by mguthrie
There's a known bug in 1.6 that causes the update check to fail. We fixed the bug in SVN for the next release. However, the update check may still fail if the XI server is behind a proxy, we're still working on that part.
Re: Check for XI updates with a plugin
Posted: Tue Aug 30, 2011 1:45 pm
by cwireless
With upgrade R1.7, it is still there at GUI Level.
In Console, the same
[root@nagioscwp libexec]# ./check_xi_updates -c 7
XI Updates UNKNOWN: Failed to check for updates.|'Build Age'=0;;;0;730 'Release Age'=0;;;0;730
Re: Check for XI updates with a plugin
Posted: Tue Aug 30, 2011 3:16 pm
by lmiltchev
Are you behind a proxy?