Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] xferfaxstats error count
Are you sure that it's counting "No carrier detected" as an error?
I'm pretty sure that xferfaxstats doesn't.
Well if it doesn't then I'm going about things the wrong way. Ok
looking at it more thoroughly I no longer know what its doing. Maybe my
methodology is still off...
# xferfaxstats -since 01/21/05
Total 257 2:10:47 2.0 1
So there is one error since the 21st; changing the date to the 20th
shows zero and the 22nd still shows one. So looking at the 21st...
# find -ctime 6|xargs -n1 grep -H status:[A-Z]|wc -l
5
So there are five entries with a non-blank status line. Looking at the
five, two say busy and three say "No carrier detected". Two of those
three are to the same number.
I'd expect to see three or zero errors in xferstats but I see one.
Jan 21 09:56:33.35: [ 524]: DIAL XXXXXXX
Jan 21 09:56:33.35: [ 524]: <-- [12:ATDTXXXXXXX\r]
Jan 21 09:57:36.65: [ 524]: --> [10:NO CARRIER]
Jan 21 09:57:36.65: [ 524]: SEND FAILED: JOB 3097 DEST XXXXXXX ERR No
carrier detected
Jan 21 10:04:04.43: [ 795]: DIAL XXXXXXX
Jan 21 10:04:04.43: [ 795]: <-- [12:ATDTXXXXXXX\r]
Jan 21 10:05:07.71: [ 795]: --> [10:NO CARRIER]
Jan 21 10:05:07.71: [ 795]: SEND FAILED: JOB 3098 DEST XXXXXXX ERR No
carrier detected
Jan 21 10:33:55.19: [ 847]: DIAL XXXXXXX
Jan 21 10:33:55.19: [ 847]: <-- [16:ATDTXXXXXXX\r]
Jan 21 10:34:59.22: [ 847]: --> [10:NO CARRIER]
Jan 21 10:34:59.22: [ 847]: SEND FAILED: JOB 3102 DEST XXXXXXX ERR No
carrier detected
In any case, you may actually want to investigate "NO CARRIER" errors
if it happens frequently enough to the same destination. Sometimes
the fault is due to the modem not detecting the carrier as it should.
In those cases you have to turn to the manufacturer for support.
I'm just trying to cut down on the number of errors I have to look
into. I'd rather filter no carrier out and then write a script which
would email me if its frequently to the same destination.
Thanks.
--
Steven Kurylo
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*