[Nagios-users] Nagios Update Check Is Not Running

2013-01-15 Thread Jon Adcock
 
  I noticed that the main.php page update_available blue flag never appears for 
me when a new version of Nagios is available.  I do have check_for_updates=1, 
but I see the following at the top of the Nagios status.dat file:
info {
created=1358284500
version=3.4.1
last_update_check=1340002591
update_available=1
last_version=3.3.1
new_version=3.4.1
}
 
  What that tells me is that the Nagios function (that checks to see if there 
is an update available) hasn't run since 6/18.2012 6:56:31 GMT (1340002591).  I 
am seeing similar indications on my other Nagios servers.  
1)  Is there a way to force Nagios to CHECK NOW?
2)  Does the update_check log it's results somewhere?
3)  Do you have any recommendations on how I should approach this problem?
 
  I am running Nagios v3.4.1 on one server and v3.4.3 on the other two.  They 
are running on SLES 10 SP3 64-bit.
 
 


Jon Adcock
Network Systems Administrator
Leon County MIS
301 S. Monroe St.
Tallahassee, FL  32301
Office:  (850) 606-5518
http://www.leoncountyfl.gov
People Focused.  Performance Driven.
 
 
Thank you for your e-mail.  Please note that under Florida's Public Records
laws, most written communications to or from county staff or officials 
regarding county business are public records available to the public and
media upon request.  Your e-mail communications may therefore be
subject to public disclosure.
 
--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios Update Check Is Not Running

2013-01-15 Thread Andreas Ericsson
On 01/15/2013 10:42 PM, Jon Adcock wrote:
   
I noticed that the main.php page update_available blue flag never appears 
 for me when a new version of Nagios is available.  I do have 
 check_for_updates=1, but I see the following at the top of the Nagios 
 status.dat file:
 info {
  created=1358284500
  version=3.4.1
  last_update_check=1340002591
  update_available=1
  last_version=3.3.1
  new_version=3.4.1
  }
   
What that tells me is that the Nagios function (that checks to see if 
 there is an update available) hasn't run since 6/18.2012 6:56:31 GMT 
 (1340002591).  I am seeing similar indications on my other Nagios servers.

Yes. This is my fault. I'm one of the core maintainers, but I also take care
of maintaining the nagios package for op5. Pretty much the only thing we
change in our version is to disable update checks with a hardcoded return
statement in the function that issues the actual check, since our customers
get their updates from us in the form of RPM packages. Once upon a time a
patch spilled over to the Nagios repository that had that change, so the
update check was broken sometime between 3.3.1 and 3.4.4.

I believe it's fixed in 3.4.4 though, with kudos to Eric Stanley for fixing
the problem.

 1)  Is there a way to force Nagios to CHECK NOW?

Not that I know of, and it wouldn't work with the hardcoded avoid update
checks at all cost patch in place anyway.

 2)  Does the update_check log it's results somewhere?

Only in the status_file.

 3)  Do you have any recommendations on how I should approach this problem?
   

Upgrade to the latest version manually and then the update checks should
start working again.

I'm really sorry for the inconvenience.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null