[mrtg] Using MIB's in MRTG

Dawson, Alan DawsonA at chesterfield.ac.uk
Tue Mar 9 11:28:54 MET 2004


Hi All

I'm trying to get MRTG to measure signal strength and packet speed on a
802.11b wifi network.

I've got a MIB for HostAP access points from here
http://www.avantcom.com/snmpAVC80211.asp

which seems to be working as I can get results like for signal rx strength

boneidol:~ # snmpget 10.10.2.1 public
.1.3.6.1.3.14614.2.1.1.1.19.2.0.9.91.66.15.141
14614.2.1.1.1.19.2.0.9.91.66.15.141 = 41

and for packet last rx rate

boneidol:~ # snmpget 10.10.2.1 public
.1.3.6.1.3.14614.2.1.1.1.20.2.0.9.91.66.15.141
14614.2.1.1.1.20.2.0.9.91.66.15.141 = 10



So I put them in an mrtg stanza like 

### Interface 4 >> Descr: 'wlan0wds0' | Name: '' | Ip: '' | Eth: '' ###

Target[10.10.2.1_4]:.1.3.6.1.3.14614.2.1.1.1.19.2.0.9.91.66.15.141&.1.3.6.1.
3.14614.2.1.1.1.20.2.0.9.91.66.15.141:public at 10.10.2.1:
SetEnv[10.10.2.1_4]: MRTG_INT_IP="" MRTG_INT_DESCR="wlan0wds0"
MaxBytes[10.10.2.1_4]: 1250000
Title[10.10.2.1_4]: Traffic Analysis for 4 -- BoneIdol
PageTop[10.10.2.1_4]: <H1>Traffic Analysis for 4 -- BoneIdol</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>BoneIdol in Unknown</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>root@</TD></TR>
   <TR><TD>Description:</TD><TD>wlan0wds0  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>10.0 Mbits/s</TD></TR>
 </TABLE>

and put mrtg to run with cron.


Now .. Heres the problem

My files 10.10.2.1_4.log and 10.10.2.1_4.old never gets any data in it ..
though the first line looks promising  
for example

boneidol:/usr/local/httpd/htdocs/BoneIdolWifi # less 10.10.2.1_4.log
1078831204 42 110
1078831204 0 0 0 0
1078830904 0 0 0 0
1078830900 0 0 0 0

and 
boneidol:/usr/local/httpd/htdocs/BoneIdolWifi # less 10.10.2.1_4.old
1078830904 42 10
1078830904 0 0 0 0
1078830604 0 0 0 0


Help ... !  and Thanks

Alan Dawson
ICT Services
-- 
How to use E-mail effectively
http://www.greenend.org.uk/rjk/2000/06/14/quoting.html

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list