Modify

Ticket #55 (closed enhancement: fixed)

Opened 16 years ago

Last modified 15 years ago

Auto-updating reports page

Reported by: [email protected] Owned by: hagedorn
Priority: minor Milestone:
Component: bcfg2-reports Version: 2.0
Keywords: Cc:

Description

It would be great if we could specify a reload interval for the reports web page so that I can always see an updated page. Then my nodes would be that much cleaner!

Attachments

Change History

comment:1 Changed 16 years ago by desai

  • Owner changed from desai to hagedorn

comment:2 Changed 16 years ago by hagedorn

  • Status changed from new to closed
  • Version set to 2.0
  • Resolution set to fixed

This feature implemented as of revision 1868.

Simply add the following 'refresh-time' property to any report tag you'd like your browser to auto-refresh. This time is in seconds. This only applies to HTML pages and automatically letting your browser request a copy from the server. If you are not updating the reports via some mechanism such as Cron, the reports won't be updated when they are refreshed by the browser.

Example report-configuration.xml:

<Reports>
    <Report name='timings' good='Y' modified='Y' refresh-time='3600'>
        <Delivery mechanism='www' type='timing-summary'>
            <Destination address='/Library/WebServer/Documents/my-stats-time.html'/>
        </Delivery>
        <Machine name='.*' />
    </Report>
</Reports>

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.