summaryrefslogtreecommitdiff
path: root/doc/traffic-example.conf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/traffic-example.conf')
-rw-r--r--doc/traffic-example.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/traffic-example.conf b/doc/traffic-example.conf
index aea1b0d..e0d40d2 100644
--- a/doc/traffic-example.conf
+++ b/doc/traffic-example.conf
@@ -17,6 +17,12 @@ rrd: /var/db/rrds/traffic.rrd
in.source: snmp://public@router.example.com/ifInOctets.2
out.source: snmp://public@router.example.com/ifOutOctets.2
+# You might also use table queries to acheive the above.
+# If the interface's names is 'eth0', then this would work.
+#
+# in.source: snmp://public@router.example.com/ifInOctets?ifDescr=eth0
+# out.source: snmp://public@router.example.com/ifOutOctets?ifDescr=eth0
+
# Poll every 10 seconds
interval: 10