QMail MRTG Problem
Hello,
I have tired to use MRTG for qmail, but I generate out the MRTG result is 0 only... it's there any method to trace my problem?
Here is my config test file:
WorkDir: /var/www/html/qmailstat/
################################################## ###########
Title[msg]: Messages - FQDN
MaxBytes[msg]: 10000
AbsMax[msg]: 20000
Options[msg]: gauge
Target[msg]: `/usr/local/bin/qmailmrtg7 m /var/log/qmail2`
PageTop[msg]: <B>FQDN Messages</B><br>
ShortLegend[msg]: msg
YLegend[msg]: msg/hour
Legend1[msg]: Total Msg
LegendI[msg]: Deliveries:
LegendO[msg]: Attempts:
WithPeak[msg]: ymwd
XSize[msg]: 350
YSize[msg]: 150
And here is my qmail log, for qmail send , current.
@4000000046c15d7135f73d2c status: local 0/20 remote 0/90
@4000000046c15d8702a2b0b4 new msg 803998
@4000000046c15d8702a2d3dc info msg 803998: bytes 1089 from <kelvin@xxxxx> qp 3984 uid 401
@4000000046c15d8702b1626c starting delivery 1: msg 803998 to remote kelvin@xxxxx
@4000000046c15d8702b1897c status: local 0/20 remote 1/90
@4000000046c15d8709cb1674 delivery 1: success: 221.124.197.60_accepted_message./Remote_host_said:_250_2.6.0__<075a1d04b9bbfc$
@4000000046c15d8709cb416c status: local 0/20 remote 0/90
@4000000046c15d8709cb5cc4 end msg 803998
@4000000046c15ef2379df404 new msg 804273
@4000000046c15ef2379e3284 info msg 804273: bytes 672 from <kelvin@xxxxxx> qp 4332 uid 401
@4000000046c15ef237a74aa4 starting delivery 2: msg 804273 to remote kelvin@xxxxx
@4000000046c15ef237a769e4 status: local 0/20 remote 1/90
@4000000046c15ef23a6b15f4 delivery 2: success: 221.124.197.60_accepted_message./Remote_host_said:_250_2.6.0__<983afdad6c877f$
@4000000046c15ef23a6b40ec status: local 0/20 remote 0/90
@4000000046c15ef23a6b602c end msg 804273
Here is the log when I perform the mrtg update.
I get no error message after the 3rd times command.
[root@localhost qmailmrtg7-4.2]# env LANG=C mrtg /var/www/html/qmailstat//qmail.mrtg.cfg Rateup WARNING: /usr/bin/rateup could not read the primary log file for msg
Rateup WARNING: /usr/bin/rateup The backup log file for msg was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove msg.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
Rateup WARNING: /usr/bin/rateup Can't rename msg.log to msg.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
Rateup WARNING: /usr/bin/rateup could not read the primary log file for concurrency
Rateup WARNING: /usr/bin/rateup The backup log file for concurrency was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove concurrency.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
Rateup WARNING: /usr/bin/rateup Can't rename concurrency.log to concurrency.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
Rateup WARNING: /usr/bin/rateup could not read the primary log file for messstatus
Rateup WARNING: /usr/bin/rateup The backup log file for messstatus was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove messstatus.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
Rateup WARNING: /usr/bin/rateup Can't rename messstatus.log to messstatus.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
Rateup WARNING: /usr/bin/rateup could not read the primary log file for bits
Rateup WARNING: /usr/bin/rateup The backup log file for bits was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove bits.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
Rateup WARNING: /usr/bin/rateup Can't rename bits.log to bits.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
[root@localhost qmailmrtg7-4.2]# env LANG=C mrtg /var/www/html/qmailstat//qmail.mrtg.cfg
Rateup WARNING: /usr/bin/rateup Can't remove msg.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
Rateup WARNING: /usr/bin/rateup Can't remove concurrency.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
Rateup WARNING: /usr/bin/rateup Can't remove messstatus.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
Rateup WARNING: /usr/bin/rateup Can't remove bits.old up@#$%!@#$%!@#$%!@#$%!@#$%!@#$%! log file
[root@localhost qmailmrtg7-4.2]# env LANG=C mrtg /var/www/html/qmailstat//qmail.mrtg.cfg
[root@localhost qmailmrtg7-4.2]#
|