The value of "Traffic In" and "Traffic Out" represents the up and down bandwidth? how can I get the upload and download speed?
This is the description of the values polled by the Traffic In and Traffic Out channels from the SNMP Traffic sensor:
|The total number of octets received on the interface, including framing characters.|
|The total number of octets transmitted out of the interface, including framing characters.|
The sensor will measure the difference of the counters between scans and display values in kilobit/second.
If you want to check the interface's speed, you could deploy a custom sensor to monitor the Interface's speed:
|An estimate of the interface's current bandwidth in bits per second. For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth. If the bandwidth of the interface is greater than the maximum value reportable by this object then this object should report its maximum value (4,294,967,295) and ifHighSpeed must be used to report the interace's speed. For a sub-layer which has no concept of bandwidth, this object should be zero.|
Luciano Lingnau [Paessler Support]
Thanks for answering. I have a router and I want to know the upload and download speed of the interface connected to the Internet. Can I do it with SNMP?
Please note that the SNMP Sensor will only monitor the current bandwidth (speed) of the incoming and outgoing traffic. It can't monitor the maximum available download/upload speed. This would require constant down-/uploads to see what the available down-/upload speeds are.
how the SNMP Traffic sensor works? How does the sensor measure? How long is the measurement?
The sensor queries the device via SNMP for its newest traffic counters which are in most cases given in Byte. PRTG will then calculate the difference between the query now and the next query. This will result in the size that went through (e.g. 100 KByte) and the speed (60 second Scan interval / 100 Kbyte = 1,7 Kbyte/s or 13,6 KBit/s).
As explained, the sensor does not measure, it gets the data from the device and calculates them properly.