Koozali.org: home of the SME Server

MRTG Tool

marodrigues

MRTG Tool
« 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

Offline Lourens

  • **
  • 40
  • +0/-0
MRTG Tool
« Reply #1 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.
......

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
MRTG Tool
« Reply #2 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
eicar.com.txt
eicar_com.zip
eicarcom2.zip


Regards
Reinhold
............