* RE: New user and MRTG error help
@ 2003-08-05 22:21 Daniel Chemko
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Chemko @ 2003-08-05 22:21 UTC (permalink / raw)
To: Paul Baxter, netfilter
This is not directly related to your problem, but you must watch what
you are trying to log. I found that MRTG couldn't give accurate numbers
for the interface because of the mangling that iptables does to it.
To solve it, I used blank rules inside the MANGLE table that detects
packets in the PREROUTING and POSTROUTING tables. Once detected, I use
cron to probe the iptables -nvxL | grep <whatever> to spit back the
usage of the interface. I can give you the scripts if need be.
-----Original Message-----
From: Paul Baxter [mailto:ppabaxte@bigpond.net.au]
Sent: Tuesday, August 05, 2003 3:04 PM
To: netfilter@lists.netfilter.org
Subject: New user and MRTG error help
Does anyone know what this warning means, the interface is working I'm
using it now.
WARNING: Problem with External get '/usr/bin/monthlystats eth0':
Expected a Number for 'in' but got '*'
WARNING: Problem with Externale get '/usr/bin/monthlystats eth0':
Expected a Number for 'out' but got '* ERROR: Interface is down,
aborting'
ERROR: Target[host-eth0][_IN_] ' $$target[0]{$mode} ' did not eval into
defined data
ERROR: Target[host-eth0][_OUT_] ' $$target[0]{$mode} ' did not eval into
defined data
WARNING: Skipping Update of host-eth0, inlast is not defined
WARNING: Skipping Update of host-eth0, outlast is not defined
If you can help you will be doing me a huge service.
Regards
Paul Baxter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New user and MRTG error help
2003-08-05 22:04 Paul Baxter
@ 2003-08-05 22:19 ` Jean-Christian Imbeault
0 siblings, 0 replies; 3+ messages in thread
From: Jean-Christian Imbeault @ 2003-08-05 22:19 UTC (permalink / raw)
To: Paul Baxter; +Cc: netfilter
Paul Baxter wrote:
> Does anyone know what this warning means, the interface is working I'm
> using it now.
Uh ... these are mrtg problems not netfilters related.
The errors mean that the script you are using to feed data to mrtg is
feeding it error messages. Run the script from the command line and
you'll see what the error message is exactly.
Jean-Christian Imbeault
^ permalink raw reply [flat|nested] 3+ messages in thread
* New user and MRTG error help
@ 2003-08-05 22:04 Paul Baxter
2003-08-05 22:19 ` Jean-Christian Imbeault
0 siblings, 1 reply; 3+ messages in thread
From: Paul Baxter @ 2003-08-05 22:04 UTC (permalink / raw)
To: netfilter
Does anyone know what this warning means, the interface is working I'm
using it now.
WARNING: Problem with External get '/usr/bin/monthlystats eth0':
Expected a Number for 'in' but got '*'
WARNING: Problem with Externale get '/usr/bin/monthlystats eth0':
Expected a Number for 'out' but got '* ERROR: Interface is down,
aborting'
ERROR: Target[host-eth0][_IN_] ' $$target[0]{$mode} ' did not eval into
defined data
ERROR: Target[host-eth0][_OUT_] ' $$target[0]{$mode} ' did not eval into
defined data
WARNING: Skipping Update of host-eth0, inlast is not defined
WARNING: Skipping Update of host-eth0, outlast is not defined
If you can help you will be doing me a huge service.
Regards
Paul Baxter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-05 22:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-05 22:21 New user and MRTG error help Daniel Chemko
-- strict thread matches above, loose matches on Subject: below --
2003-08-05 22:04 Paul Baxter
2003-08-05 22:19 ` Jean-Christian Imbeault
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.