Graphing In Mikrotik
Interface Graphing
Submenu level: /tool graphing interfaceDescription
Shows how much traffic is passed through an interface over a period of time.
Property Description
allow-address (IP address/netmask; default: 0.0.0.0/0) - IP address range which is allowed to view information about the interface. If a client PC not belonging to this IP address range tries to open http://[Router_IP_address]/graphs/, it will not see this entryExample
To monitor traffic which is passed through interface ether1 only from local network 192.168.10.0/24, and write information on disk:
[admin@MikroTik] tool graphing interface> add interface=ether1 \ \... allow-address=192.168.10.0/24 store-on-disk=yes [admin@MikroTik] tool graphing interface> print Flags: X - disabled # INTERFACE ALLOW-ADDRESS STORE-ON-DISK 0 ether1 192.168.10.0/24 yes [admin@MikroTik] tool graphing interface>
Graph for interface ether1:
Simple Queue Graphing
Description
In this submenu you can specify a queue from the /queue simple list to make a graphic for it.
Property Description
allow-address (IP address/netmask; default: 0.0.0.0/0) - IP address range which is allowed to view information about the queue. If a client PC not belonging to this IP address range tries to open http://[Router_IP_address]/graphs/, it will not see this entry
allow-target (yes | no; default: yes) - whether to allow access to web graphing from IP range that is specified in /queue simple target-address
simple-queue (name; default: all) - name of simple queue which will be monitored
store-on-disk (yes | no; default: yes) - whether to store information about traffic on hard drive or not. If not, the information will be stored in RAM and will be lost after a reboot
Example
Add a simple queue to Grapher list with simple-queue name queue1, allow limited clients to access Grapher from web, store information about traffic on disk:
[admin@MikroTik] tool graphing queue> add simple-queue=queue1 allow-address=yes \ \... store-on-disk=yes
"Daily" graphic for queue1:
Comments
Post a Comment