Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: marodrigues on March 02, 2005, 03:49:40 PM

Title: MRTG Tool
Post by: marodrigues on March 02, 2005, 03:49:40 PM
Hi,

Iv just install the MRTG tool can anyone help me with the following problem:

grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
WARNING: Problem with External get '/etc/mrtg/virusstats.pl localhost virus':
   Expected a Number for 'in' but got ''

WARNING: Problem with Externale get '/etc/mrtg/virusstats.pl localhost virus':
   Expected a Number for 'out' but got ''

grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
WARNING: Problem with External get '/etc/mrtg/virusstats.pl localhost virus':
   Expected a Number for 'in' but got ''

WARNING: Problem with Externale get '/etc/mrtg/virusstats.pl localhost virus':
   Expected a Number for 'out' but got ''

grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
WARNING: Problem with External get '/etc/mrtg/virusstats.pl localhost virus':
   Expected a Number for 'in' but got ''

WARNING: Problem with Externale get '/etc/mrtg/virusstats.pl localhost virus':
   Expected a Number for 'out' but got ''

grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
grep: /var/log/amavis-ng/amavis-ng.log: No such file or directory
WARNING: Problem with External get '/etc/mrtg/virusstats.pl localhost virus':
   Expected a Number for 'in' but got ''

WARNING: Problem with Externale get '/etc/mrtg/virusstats.pl localhost virus':
   Expected a Number for 'out' but got ''

Thanks in advanced
Miguel
Title: MRTG Tool
Post by: Lourens on March 02, 2005, 09:01:20 PM
I had the same problem once. I think this error message is because the log file is empty.

Not the nicest solution, but it worked for me:
Mail the eicar antivirus testfile on http://www.eicar.org/ to yourself and I think this will solve your problem.
Title: MRTG Tool
Post by: Reinhold on March 03, 2005, 03:57:49 PM
m2 answer  8-)

I am sure Lourens is right !
"No such file or directory" is no good input for grep
... or mrtg :-D

and the reason to write this is that I HEAVILY RECOMMEND testing any antivirus setup with "eicar".
Or does anybody really want to test it with a "live" virus ???

Actually I recommend to test with all 4 versions:
eicar.com (http://www.eicar.org/download/eicar.com)
eicar.com.txt (http://www.eicar.org/download/eicar.com.txt)
eicar_com.zip (http://www.eicar.org/download/eicar_com.zip)
eicarcom2.zip (http://www.eicar.org/download/eicarcom2.zip)


Regards
Reinhold