Since CUPS (as a print server) would run on one or multiple hosts, why not just one column, CUPS? Then when the icon is clicked, the various queue statuses for that host listed on the page.
Chapman Flack wrote:
Hi,
I started writing a server extension for CUPS monitoring (not just testing that the CUPS /server/ is there, but really monitoring the queue states). The script can easily learn all of the existing queues and their states from the CUPS server, and report status with $BB for each queue using the queue name as hostname and a few different columns (running, accepting, jobcount).
So, it feels kind of redundant to have to go and add all of the queue names to bb-hosts (or have them all treated as ghosts with no way to specify what page they appear on).
How difficult would it be to support a kind of place-holder entry in bb-hosts, maybe as simple as a group-only tag with a title and no explicit hosts beneath it:
group-only running|accepting|jobcount Printers
and then some modified form of the 'status' command in bb:
$BB $BBDISP "gstatus Printers laser1.running green $(date)"
I bet such a capability would be useful for monitoring a lot of things besides printers.
Does it seem feasible?
Chapman Flack
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org WAVV 2007 - Green Bay, WI - May 18-22, 2007