HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: Hylafax
Alan Sparks wrote:
>
> From: Mike Causer <mikec@dial.drakken.com>
>
> >Michael Ruiz wrote:
> >>
> >> Is there any gui software that one can use to manage Hylafax? Also, are
> >> there any applications to display stats about Hylafax in a graphical
> >> format, e.g. charts and graphs? I would like to display average wait
> >> time for types of faxes sent, longest wait time, etc.
> >
> >Take a look at MRTG
> (http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.php)
> >it can graph any data you feed it, and is easily customisable.
>
> Hmmm... MRTG is cool, I use it... but it is intended for monitoring
> SNMP-aware devices and software. Last I checked, HylaFAX had no SNMP
> capabilities.
> -Alan
Hi,
MRTG accepts input also e.g. from shell scripts. I have here a small
script
which gives informations for the actual number of faxes in the faxqueue
:
---------------------------------------
#!/bin/sh
cnt=`/usr/local/bin/faxstat -s -a | wc -l` cnt=$[$cnt-4]
if [ $cnt -lt 0 ] ; then
cnt=0
fi
echo $cnt
echo $cnt
echo " "
echo "Faxes on henko"
---------------------------------------
and the following entry in mrtg.cfg for this script
---------------------------------------
#
# faxes henko
#
Target[f_henko]: `/usr/local/mrtg/faxcnt.sh`
YLegend[f_henko]: Faxes
ShortLegend[f_henko]: Fax
MaxBytes[f_henko]: 100
Options[f_henko]: gauge, noinfo,nopercent
Title[f_henko]: henko.rgw-express.de (): Number of faxes to send
PageTop[f_henko]: <H1>Faxes send from henko.rgw-exress.de
<TABLE>
<TR><TD>System:</TD><TD>henko.rgw-express.de in Frankfurt</TD></TR>
</H1>
</TABLE>
----------------------------------------
Uli
--
Ulrich Eckhardt Tr@nscom GbR
http://people.frankfurt.netsurf.de/uli http://www.transcom.de
Lagerstraße 11-15 A8
64807 Dieburg Germany