Setting up mrtg to monitor the DLink G604T adsl modem/router was a painful excercise.
It appears that the correct info in the mrtg.conf file is for nas0, none of the other detected interfaces seem to reflect accurate usage.
If its not the SNMP interface 3 for you it might be another one – but it should still be called nas0.
M
### Interface 3 >> Descr: 'nas0' | Name: '' | Ip: '' | Eth: '' ###
Target[192.168.0.1_3]: 3:public@192.168.0.1:
SetEnv[192.168.0.1_3]: MRTG_INT_IP="" MRTG_INT_DESCR="nas0"
MaxBytes[192.168.0.1_3]: 1250000
Title[192.168.0.1_3]: Traffic Analysis for 3 --
PageTop[192.168.0.1_3]:
<h1>Traffic Analysis for 3 -- </h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td> in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td>nas0 </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td></td>
</tr>
<tr>
<td>Max Speed:</td>
<td>1250.0 kBytes/s</td>
</tr>
</table>
</div>
Leave a Reply
You must be logged in to post a comment.