How do I check my fax failure rate?

First, run the following command to list the result of each fax attempt:

vfxolog -d | egrep -v "^Req|QUEUED|SNDING" | awk '{print $9}' | sort | uniq -c | sort -rn

Here’s output from an example system experiencing issues with fax reliability:

root@eclipse ~]# vfxolog -d | egrep -v "^Req|QUEUED|SNDING" | awk '{print $9}' | sort | uniq -c | sort -rn
    489 NORMAL
    100 LINDRP
     86 TMEOUT
     83 BUSY
     31 NOTFAX
      4 CANCEL

Each stats code means something different, but for the purposes of this investigation we care mostly about the good status (NORMAL) vs. the bad status (LINDRP and TMEOUT).

To calculate the fax failure percentage: (LINDRP + TMEOUT) / (LINDRP + TMEOUT + NORMAL).