Ticket #686 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

Seed /var/lib/athena-update-status at install time

Reported by: jdreed Owned by:
Priority: low Milestone: Natty Alpha
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

Between when a machine is reinstalled and it first takes an update (which can be as long as 6 hours), Nagios will complain about "Can't parse output" for the "UPDATE" service.

The installer should seed /var/lib/athena-update-status with the following values:
$time|$time|ok|Fresh install

where $time is the current time in seconds since the epoch (i.e. date +%s)

Change History

comment:1 Changed 13 years ago by jdreed

  • Status changed from new to committed

r24942

I did this in the postinst of auto-update, which seems more correct. This means that in theory there will be a short period of Nagios whining while athinfod is running, but before auto-update has been configured, but don't think we care.

comment:2 Changed 13 years ago by jdreed

  • Status changed from committed to development

comment:3 Changed 13 years ago by jdreed

  • Status changed from development to proposed

comment:4 Changed 13 years ago by jdreed

  • Status changed from proposed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.