[mrtg] Why not work?

Sergei Batakov sbatakov at krasnodar.ru
Tue Sep 14 13:03:47 MEST 1999


I'm attaching a copy of my config, as well as a print of the top 10
lines or so of my log file.
Here is my setup:

OpenBSD 2.5,MRTG 2.8.8

======mrtg.cfg=====
WorkDir: /home/mrtg
Target[aaa]: '/usr/local/mrtg/dial_up'
MaxBytes[aaa]: 30
Title[aaa]: Stat
PageTop[aaa]: <H1>Analis Dial-up user work</H1>
...
===end===

=====dial_up=====
finger @aa1 | grep Async > dial_up.s
finger @aa2 | grep Async >> dial_up.s
finger @aa3 | grep Async >> dial_up.s
more dial_up.s | awk -f /usr/local/mrtg/cacl.awk
===end===
===cacl.awk===
BEGIN {prefix="Async"}
{sum+=1}
END { print  sum
      print  0
      print  0
      print  "aaa"}
===end===

{dial_up} - return

15
0
0
aaa


but ...
===aaa.log===
937305121 0 0
937305121 0 0 0 0
937304884 0 0 0 0
937304700 0 0 0 0
937304400 0 0 0 0
937304100 0 0 0 0
937303800 0 0 0 0
937303500 0 0 0 0
937303200 0 0 0 0
937302900 0 0 0 0
===end===  

Best regards,
 S.Batakov                         mailto:sbatakov at bigfood.com


--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list