Check for xi updates with a plugin

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
cwireless
Posts: 66
Joined: Sat Feb 05, 2011 11:37 pm

Check for xi updates with a plugin

Post 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?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check for xi updates with a plugin

Post 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?
cwireless
Posts: 66
Joined: Sat Feb 05, 2011 11:37 pm

Re: Check for xi updates with a plugin

Post 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
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Check for xi updates with a plugin

Post by nscott »

This is something we'll dig into a little deeper, thanks for bringing it to our attention.
Nicholas Scott
Former Nagios employee
cwireless
Posts: 66
Joined: Sat Feb 05, 2011 11:37 pm

Re: Check for xi updates with a plugin

Post by cwireless »

Thanks,

Our last_update_check_succeeded has failed. How can I figure out why?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Check for xi updates with a plugin

Post by nscott »

Where in the interface are you seeing that it has failed, can you post a screenshot?
Nicholas Scott
Former Nagios employee
cwireless
Posts: 66
Joined: Sat Feb 05, 2011 11:37 pm

Re: Check for xi updates with a plugin

Post by cwireless »

Attached you will find what you were asking for.
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check for xi updates with a plugin

Post 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.
cwireless
Posts: 66
Joined: Sat Feb 05, 2011 11:37 pm

Re: Check for xi updates with a plugin

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Check for xi updates with a plugin

Post by lmiltchev »

Are you behind a proxy?
Be sure to check out our Knowledgebase for helpful articles and solutions!