View Full Version : HOWTO : MRTG for Mailscanner
interfasys
12-28-2003, 07:03 PM
I've stumbled across this:
http://mailscannermrtg.sourceforge.net/
-------------------------------------
Summary:
mailscanner-mrtg provides configuration files, web pages, and related perl scripts for mrtg to monitor many aspects of your MailScanner machine. With it you will be able to monitor things like:
* Mail Relayed * Files in incoming queue
* Spam Identified * Files in outgoing queue
* Virii Caught * Memory (Ram) Used
* Copies of Sendmail Running * Load Average
* Copies of MailScanner Running * CPU Utilization
* Disk Space Used in /var/spool * Disk Space Used in /
And more coming soon!
-------------------------------------
And gave it a go with a RH9 system.
You need to have followed my MailScanner Howto and to have mrtg installed (not necessarily configured)
I'm not responsible for any damage that this can do to your Red Hat installation.
Getting ready
---------------
# up2date -u sysstat
# wget http://aleron.dl.sourceforge.net/sourceforge/mailscannermrtg/mailscanner-mrtg-0.06.tar.gz
# tar -zxvf mailscanner*
# cd mailscanner*
Edit and copy
-----------------
# pico -w mailscanner-mrtg.conf
Change the following
MTA = exim
Outgoing Queue Dir = /var/spool/exim/input
Incoming Queue Dir = /var/spool/exim.in/input
# cp mailscanner-mrtg.conf /etc/MailScanner
# cp mailscanner-mrtg.cfg /usr/local/mrtg-2/bin
# cp mailscanner-mrtg /usr/sbin/
# cp mailscanner-mrtg.include /etc/httpd/conf/
# pico -w /etc/httpd/conf/httpd.conf
Add this line to the bottom of your Apache httpd.conf file, after Include /etc/httpd/conf/ips.conf
Include /etc/httpd/conf/mailscanner-mrtg.include
# mkdir /var/www/html/mailscanner-mrtg
# cp web/* /var/www/html/mailscanner-mrtg
run this three times and ignore errors:
# env LANG=C /usr/local/mrtg-2/bin/mrtg /usr/local/mrtg-2/bin/mailscanner-mrtg.cfg
Restart apache
# service httpd restart
Put this line at the end of your /etc/crontab file:
0-59/5 * * * * /usr/local/mrtg-2/bin/mrtg /usr/local/mrtg-2/bin/mailscanner-mrtg.cfg 1> /dev/null 2> /dev/null
Point your browser at http://yourserver/mailscanner-mrtg
-------------------------------------
Let me know if there are security risks, mistakes,etc.
zafar
06-07-2004, 06:29 PM
hmm i installed it fine by getting the latest stable release... but the stats ( stats (http://narutochaos.com/mailmrtg/) )dont update even after i added the cron and when i try to run it i get the following error:
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg mailbytes'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg mailbytes':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg mailbytes':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg spam'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg spam':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg spam':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg loadavg'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg loadavg':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg loadavg':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg mta'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg mta':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg mta':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg mailscanner'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg mailscanner':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg mailscanner':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg outqueue'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg outqueue':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg outqueue':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg inqueue'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg inqueue':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg inqueue':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg quarantine'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg quarantine':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg quarantine':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg memory'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg memory':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg memory':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg virus'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg virus':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg virus':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg cpu'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg cpu':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg cpu':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg spoolusage'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg spoolusage':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg spoolusage':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg tmpfsusage'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg tmpfsusage':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg tmpfsusage':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg rootusage'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg rootusage':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg rootusage':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg iptraffic'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg iptraffic':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg iptraffic':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg spamratio'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg spamratio':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg spamratio':
Expected a Number for 'out' but nothing'
Can't locate MSMRTG/Debug.pm in @INC (@INC contains: /usr/lib/MailScanner-MRTG /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/mailscanner-mrtg line 38.
BEGIN failed--compilation aborted at /usr/sbin/mailscanner-mrtg line 38.
WARNING: Could not get any data from external command '/usr/sbin/mailscanner-mrtg virusratio'
Maybe the external command did not even start. (Illegal seek)
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg virusratio':
Expected a Number for 'in' but nothing'
WARNING: Problem with External get '/usr/sbin/mailscanner-mrtg virusratio':
Expected a Number for 'out' but nothing'
ERROR: Target[mail][_IN_] ' $target->[0]{$mode} ' did not eval into defined data
ERROR: Target[mail][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data
ERROR: Target[mailbytes][_IN_] ' $target->[1]{$mode} ' did not eval into defined data
ERROR: Target[mailbytes][_OUT_] ' $target->[1]{$mode} ' did not eval into defined data
ERROR: Target[spam][_IN_] ' $target->[2]{$mode} ' did not eval into defined data
ERROR: Target[spam][_OUT_] ' $target->[2]{$mode} ' did not eval into defined data
ERROR: Target[loadavg][_IN_] ' $target->[3]{$mode} ' did not eval into defined data
ERROR: Target[loadavg][_OUT_] ' $target->[3]{$mode} ' did not eval into defined data
ERROR: Target[sendmail][_IN_] ' $target->[4]{$mode} ' did not eval into defined data
ERROR: Target[sendmail][_OUT_] ' $target->[4]{$mode} ' did not eval into defined data
ERROR: Target[mailscanner][_IN_] ' $target->[5]{$mode} ' did not eval into defined data
ERROR: Target[mailscanner][_OUT_] ' $target->[5]{$mode} ' did not eval into defined data
ERROR: Target[outqueue][_IN_] ' $target->[6]{$mode} ' did not eval into defined data
ERROR: Target[outqueue][_OUT_] ' $target->[6]{$mode} ' did not eval into defined data
ERROR: Target[inqueue][_IN_] ' $target->[7]{$mode} ' did not eval into defined data
ERROR: Target[inqueue][_OUT_] ' $target->[7]{$mode} ' did not eval into defined data
ERROR: Target[quarantine][_IN_] ' $target->[8]{$mode} ' did not eval into defined data
ERROR: Target[quarantine][_OUT_] ' $target->[8]{$mode} ' did not eval into defined data
ERROR: Target[memory][_IN_] ' $target->[9]{$mode} ' did not eval into defined data
ERROR: Target[memory][_OUT_] ' $target->[9]{$mode} ' did not eval into defined data
ERROR: Target[virus][_IN_] ' $target->[10]{$mode} ' did not eval into defined data
ERROR: Target[virus][_OUT_] ' $target->[10]{$mode} ' did not eval into defined data
ERROR: Target[cpu][_IN_] ' $target->[11]{$mode} ' did not eval into defined data
ERROR: Target[cpu][_OUT_] ' $target->[11]{$mode} ' did not eval into defined data
ERROR: Target[spoolusage][_IN_] ' $target->[12]{$mode} ' did not eval into defined data
ERROR: Target[spoolusage][_OUT_] ' $target->[12]{$mode} ' did not eval into defined data
ERROR: Target[tmpfsusage][_IN_] ' $target->[13]{$mode} ' did not eval into defined data
ERROR: Target[tmpfsusage][_OUT_] ' $target->[13]{$mode} ' did not eval into defined data
ERROR: Target[rootusage][_IN_] ' $target->[14]{$mode} ' did not eval into defined data
ERROR: Target[rootusage][_OUT_] ' $target->[14]{$mode} ' did not eval into defined data
ERROR: Target[iptrafficnew][_IN_] ' $target->[15]{$mode} ' did not eval into defined data
ERROR: Target[iptrafficnew][_OUT_] ' $target->[15]{$mode} ' did not eval into defined data
ERROR: Target[spamratio][_IN_] ' $target->[16]{$mode} ' did not eval into defined data
ERROR: Target[spamratio][_OUT_] ' $target->[16]{$mode} ' did not eval into defined data
ERROR: Target[virusratio][_IN_] ' $target->[17]{$mode} ' did not eval into defined data
ERROR: Target[virusratio][_OUT_] ' $target->[17]{$mode} ' did not eval into defined data
[root@xeon root]#
joh2900
06-10-2004, 06:42 PM
any idea on how this can work on freebsd... I tried, but it kept complaing about shared GD library..."webalizer"
FarCry
07-01-2004, 12:39 AM
Installing on RHES 3
Also, your 3rd step: # cd cd mailscanner*
only 1 cd ;)
interfasys
07-01-2004, 12:45 AM
corrected the typo, but about the rest I can't help =/
FarCry
07-01-2004, 12:47 AM
I'll let you know how RHES goes, the mail scanner + spam assasin + clam av went smooth.
Just getting this box ready for production use :)
FarCry
07-01-2004, 02:59 AM
works fine on RHE - thaks for the tutorial!
One thing i have noticed - you might want to change your crontab to:
*/5 * * * * env LANG=C /usr/local/mrtg-2/bin/mrtg /usr/local/mrtg-2/bin/mailscanner-mrtg.cfg
MRTG wont run without the env LANG=C :)
Hi!
For mailscanner-mrtg-0.10.00
i have mores errors and don't work, do you have simple HOW-TO ?
Thanks!
Arkaos
01-27-2008, 04:39 PM
you need to amend line 35 in /usr/sbin/mailscanner-mrtg
if you still have the original dir from where you installed mailscanner-mrtg the files are there.
IE my MSMRTG dir is /root/mailscanner-mrtg-0.10.00/lib/
BruceCCC
09-05-2008, 09:43 PM
Hi,
I install mailscanner, i see the square graphic, but nothing show, more in the graphic. if somebody can explan my why ...
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.