Networking Forums

Networking Forums > Computer Networking > Linux Networking > mrtg: my script

Reply
Thread Tools Display Modes

mrtg: my script

 
 
avlee
Guest
Posts: n/a

 
      04-06-2007, 09:40 AM
Hello

In mrtg.cfg i have:

Target[all_traffic]: `/root/myscript 0x3`

when i launch:
#/root/myscript 0x3
i receive:
#665912
#4566
#0
#0

this script reads iptables -L counters. everytime called shows more values.
But mrtg launched every 1 minute shows always 0 on it's charts. Why ?

Should i clear counters after every call ?

Thanx
Michal
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MRTG gungnir Linux Networking 0 09-07-2007 09:31 PM
mrtg instructions MSNewsGroup Windows Networking 3 09-06-2007 06:01 PM
mrtg- where are log files Adam Gawda Linux Networking 1 05-29-2006 08:45 AM
Net snmp + mrtg calico Linux Networking 0 03-07-2006 09:17 AM
MRTG Error awie@eksadata.com Linux Networking 3 02-04-2006 05:20 PM



1 2 3 4 5 6 7 8 9 10 11