Modify ↓
Ticket #55 (closed enhancement: fixed)
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: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:
<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>
Note: See
TracTickets for help on using
tickets.