Personal tools
HylaFAX The world's most advanced open source fax server

Graph your fax queue with MRTG

Revision as of 02:38, 30 November 2007 by 203.87.7.13 (talk) (New page: You can graph your fax queue with MRTG (http://people.ee.ethz.ch/~oetiker/webtools/mrtg). Add to MRTG configuration file: <pre> Target[faxq]: `/usr/local/mrtg-2/bin/faxcounter` YLegend[fa...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

You can graph your fax queue with MRTG (http://people.ee.ethz.ch/~oetiker/webtools/mrtg).

Add to MRTG configuration file:

Target[faxq]: `/usr/local/mrtg-2/bin/faxcounter`
YLegend[faxq]: Faxes
ShortLegend[faxq]: Fax
MaxBytes[faxq]: 1000
Options[faxq]: gauge, noinfo, nopercent, growright
Title[faxq]: Fax Queue Size
PageTop[faxq]: <H1>Fax Queue Size</H1>

faxcounter script:

#!/bin/sh
cnt=`/usr/local/bin/faxstat -s -a | grep -v "Modem tty" | wc -l` cnt=$[$cnt - 1]

echo $cnt 
echo $cnt 
echo " " 
echo "Fax queue"

This page was last edited on 30 November 2007, at 02:38.

Powered by MediaWiki
Attribution-ShareAlike 2.5

Project hosted by iFAX Solutions