Ticket #55 (closed enhancement: fixed)

Opened 17 years ago

Last modified 16 years ago

Auto-updating reports page

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


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!


Change History

comment:1 Changed 17 years ago by desai

  • Owner changed from desai to hagedorn

comment:2 Changed 17 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:

    <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'/>
        <Machine name='.*' />

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


Add a comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.