LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2007, 05:00 AM   #1
kelvinyasu
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
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&nbsp;
LegendI[msg]: Deliveries:&nbsp;
LegendO[msg]: Attempts:&nbsp;
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]#
 
Old 08-15-2007, 09:44 PM   #2
kelvinyasu
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Can anyone give me a hand?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MRTG problem kicko Linux - Software 1 07-01-2008 02:22 PM
MRTG problem kicko Mandriva 2 12-16-2006 08:52 AM
MRTG Problem shipon_97 Linux - Security 1 01-30-2006 09:13 AM
Qmail (Qmail-pop3d) pop login problem Punker51 Linux - Software 2 07-22-2004 02:52 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration