Robert G. Brown
Duke University Physics Department
Durham, NC 27708-0305
Copyright Robert G. Brown, 2015
wulfweb is a perl script designed to take the output of wulflogger and transform it into an HTML table
or a web page that can be displayed on its own or embedded in other web
documents. It currently supports only a color coded load average
display, but eventually it will support all the wulfstat/wulflogger
display types. It is also very easy to customize using e.g. threaded
perl should one need a particular mix of displayed fields or should you
wish to add graphics.
The web table generated currently contains a meta statement causing
the web document to be automatically refreshed after a user definable
delay. A future switch will allow the meta tag to be omitted, so that
although the web table will be refreshed on a selectable delay loop, the
user will have to manually refresh the image in their browser to obtain
the latest stats. Note that wulfweb is not a CGI script -- it is
an independent polling loop script that rotates new html table images
into a named file from which they can be browsed and display without any
wulfweb requires wulflogger to be installed on the host where the
wulfweb script runs and additionally requires xmlsysd to be installed on the monitored nodes or
wulfweb is very much under construction (we're talking
alpha here, not beta). There are displays missing and
the code may still change its general layout as I add the missing
displays and learn (the hard way) where I'm doing thing stupidly.
Still, it seems to work pretty well and has now been presenting a
statistical overview of our cluster load for three or four days
continuously without failure or flaw. I'm trying to make it somewhat
portable as I go. Feel free to contribute back any additions or
improvements you make if you adopt it and adapt it.
If you need any particular output from wulflogger let me know.
Eventually I'll probably come up with an output format descriptor that
can be read in as input so you can roll your own format and get
precisely what you want, but we're not there yet.