BCFG2 Reports August 4, 2005 Joey Hagedorn hagedorn@mcs.anl.gov - - PowerPoint PPT Presentation

bcfg2 reports
SMART_READER_LITE
LIVE PREVIEW

BCFG2 Reports August 4, 2005 Joey Hagedorn hagedorn@mcs.anl.gov - - PowerPoint PPT Presentation

BCFG2 Reports August 4, 2005 Joey Hagedorn hagedorn@mcs.anl.gov DNS, How Ping if(conn SELEC WHERE print Reports are GenerateHostInfo Generated <?xml v <?xml v <?xml v <ref: <ref: <ref: <gr <gr <gr


slide-1
SLIDE 1

BCFG2 Reports

August 4, 2005

Joey Hagedorn hagedorn@mcs.anl.gov

slide-2
SLIDE 2

!"#"$%&'(")

if(conn SELEC WHERE print

GenerateHostInfo

DNS, Ping

metadata.xml

<?xml v <ref: <gr

XML

statistics.xml

<?xml v <ref: <gr

XML

hostinfo.xml

<?xml v <ref: <gr

XML Intermediate XML

<script var a= var xl if(xls <script var a= var xl if(xls <script var a= var xl if(xls

XSL Transform Separate XSLT for each report type/delivery

if(conn SELEC WHERE print

Final Prep for Delivery E-Mail Web RSS

<?xml v <ref: <gr

XML

report-configuration.xml

<?xml v <ref: <gr

XML

How Reports are Generated

slide-3
SLIDE 3

report-configuration.xml

Your interface to BCFG Reports Reports based on sets of Computers Each report can have multiple delivery mechanisms, and each mechanism multiple destinations

<Reports> <Report name='B-machines' good='Y' modified='Y'> <Delivery mechanism='rss' type='nodes-digest'> <Destination address='/var/www/one.rss' /> </Delivery> <Delivery mechanism='www' type='nodes-digest'> <Destination address='/var/www/one.html' /> </Delivery> <Machine name='b.*'/> </Report> <Report name='Overall-Statistics'> <Delivery mechanism='www' type='overview-stats'> <Destination address='/var/www/statistics.html' /> </Delivery> <Machine name='.*'/> </Report> <Report name='What I Care About' good='N' modified='N'> <Delivery mechanism='mail' type='nodes-digest'> <Destination address='hagedorn@mcs.anl.gov' /> </Delivery> <Machine name='terra'/> <Machine name='harley'/> <Machine name='crunch'/> <Machine name='smash'/> <Machine name='netzero'/> </Report> </Reports>

slide-4
SLIDE 4

Individual node e-mail

Only received mail for node that was broken(per config) IMportant info in subject line

slide-5
SLIDE 5

Web Statistics Report

Most Visually Appealing Report Uses CSS to be modified per site *W3C XHTML-1.0 Compliant

slide-6
SLIDE 6

RSS Node Report

Archives 10 past reports Any RSS Reader everybody loves RSS

slide-7
SLIDE 7

Real Examples

  • HTML: Overall-Statistics
  • http://www-unix.mcs.anl.gov/~hagedorn/bcfg/statistics.html
  • HTML: BCFG Nightly Errors (B-machines)
  • http://www-unix.mcs.anl.gov/~hagedorn/bcfg/one.html
  • RSS: B-machines
  • feed://www-unix.mcs.anl.gov/~hagedorn/bcfg/one.rss
slide-8
SLIDE 8

Questions?