Monitoring Linksys WRT54G with DD-WRT
Moderators: Developers, Moderators
Monitoring Linksys WRT54G with DD-WRT
Hello!
First, i am new in CACTI and RRDTOOL. CACTI 0.8.6i is installed on a x86 Machine running with Windows 2000 and XAMPP. Installation and configuration of RRDTOOL and CACTI including polling mechanism is complete and working fine so far as i can see.
I want to monitor a group of Linksys WRT54G running with DD-WRT v2.3 SP2, especially network traffic over its WLAN interface (eth1) and its wireless signal level (RSSI and Noise).
Network traffic monitoring works fine for each WRT54G but i cant configure a data query for the wireless signal level. I have tried the Karlnet data query but it does not load any data from DD-WRT.
Hope anyone can help me with this issue. Thanks!
First, i am new in CACTI and RRDTOOL. CACTI 0.8.6i is installed on a x86 Machine running with Windows 2000 and XAMPP. Installation and configuration of RRDTOOL and CACTI including polling mechanism is complete and working fine so far as i can see.
I want to monitor a group of Linksys WRT54G running with DD-WRT v2.3 SP2, especially network traffic over its WLAN interface (eth1) and its wireless signal level (RSSI and Noise).
Network traffic monitoring works fine for each WRT54G but i cant configure a data query for the wireless signal level. I have tried the Karlnet data query but it does not load any data from DD-WRT.
Hope anyone can help me with this issue. Thanks!
Although it's written for the Tomato firmware, maybe you'll find some hints (config, OIDs) in reading this HOWTO I've posted on the Linksysinfo-forums:
http://www.linksysinfo.org/forums/showt ... hp?t=51064
I got Cacti monitoring the LAN, WAN and WL-interfaces using Cacti's "Interface - Traffic" graph template (I'm using a Linksys WRT54GL v1.1).
http://www.linksysinfo.org/forums/showt ... hp?t=51064
I got Cacti monitoring the LAN, WAN and WL-interfaces using Cacti's "Interface - Traffic" graph template (I'm using a Linksys WRT54GL v1.1).
This is my sick nature...
Linksys Running DD-WRT
--
I am running DD-WRT on a linksys router and I was able to use the generic SNMP - Interface Statistics data querry. When I go to do the graphs, for the WLAN, I look at the IP address I have assigned the router's WLAN AP. In my case I use 192.168.1.1. That tells me all the traffic that goes over that NIC. the raw name for that interface shows up as br0. I used the generic UNIX Load for the overal load. I modified the Cisco CPU usage putting the OID I found on the web for DD-WRT and I get the overall CPU Utilization. The results I get match one-for-one what I get when I telnet into the router and do a top. Attached are the CPU, and Memory templates.
good luck.
I am running DD-WRT on a linksys router and I was able to use the generic SNMP - Interface Statistics data querry. When I go to do the graphs, for the WLAN, I look at the IP address I have assigned the router's WLAN AP. In my case I use 192.168.1.1. That tells me all the traffic that goes over that NIC. the raw name for that interface shows up as br0. I used the generic UNIX Load for the overal load. I modified the Cisco CPU usage putting the OID I found on the web for DD-WRT and I get the overall CPU Utilization. The results I get match one-for-one what I get when I telnet into the router and do a top. Attached are the CPU, and Memory templates.
good luck.
- Attachments
-
- cacti_graph_template_ddwrt_cpu_usage.xml
- DD-WRT CPU Template
- (10.48 KiB) Downloaded 6228 times
-
- cacti_graph_template_ddwrt_memory_usage.xml
- DD-WRT Memory Template
- (20.25 KiB) Downloaded 6883 times
Importing these templates
When I tried to import these templates, I get the following errors:
Warning: filesize() [function.filesize]: stat failed for C:\WINDOWS\TEMP\php2A3.tmp in C:\cacti\templates_import.php on line 59
Warning: fread() [function.fread]: Length parameter must be greater than 0 in C:\cacti\templates_import.php on line 59
Warning: Cannot modify header information - headers already sent by (output started at C:\cacti\templates_import.php:59) in C:\cacti\templates_import.php on line 71
I'm running 0.8.6j
Warning: filesize() [function.filesize]: stat failed for C:\WINDOWS\TEMP\php2A3.tmp in C:\cacti\templates_import.php on line 59
Warning: fread() [function.fread]: Length parameter must be greater than 0 in C:\cacti\templates_import.php on line 59
Warning: Cannot modify header information - headers already sent by (output started at C:\cacti\templates_import.php:59) in C:\cacti\templates_import.php on line 71
I'm running 0.8.6j
Answer to my question
Found this on another cacti forum:
http://forums.cacti.net/about5603.html
That worked for me and I was able to upload the template.
http://forums.cacti.net/about5603.html
That worked for me and I was able to upload the template.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Well, that's the 42nd request for such a stuff for wireless devices. Again, the same answer holds. Find out which OIDs report the values you're interested in and create the Scripts/SNMP Templates as given at the 1st link of my sig.
The Cacti part is a quick issue, takes 30 mins max (including a cup of hot coffee). Searching for the OID is the task ...
Reinhard
The Cacti part is a quick issue, takes 30 mins max (including a cup of hot coffee). Searching for the OID is the task ...
Reinhard
-
- Cacti User
- Posts: 150
- Joined: Sat Jul 30, 2005 2:15 pm
I think the reason why no one has provided those templates is that those values are not provided by DD-WRT's snmp implementation. I just ran snmpwalk against mine and I don't see anything related to signal strength or clients (it looks like DHCP addresses are noted but nothing else about them).gandalf wrote:Well, that's the 42nd request for such a stuff for wireless devices. Again, the same answer holds. Find out which OIDs report the values you're interested in and create the Scripts/SNMP Templates as given at the 1st link of my sig.
The Cacti part is a quick issue, takes 30 mins max (including a cup of hot coffee). Searching for the OID is the task ...
Reinhard
Maybe what's really needed is to provide that in DD-WRT.
It takes less time to run snmpwalk against the client you want info about than to post a request to ready-made templates, as brother Gandalf suggests.
Google searching of "ddwrt oid" proved to be immensely effective. I got these two right off the first page:
All DDWRT OIDS, in order:
http://www.dd-wrt.com/wiki/index.php/Si ... t_Protocol
/\ Note what website that is from /\
http://www.linksysinfo.org/forums/showt ... hp?t=36522
Instructions are for MRTG, but follow them so far as to get the OIDs generated.
The question you are asking has little to do with cacti, and more to do with DDWRT/WRT54G. The two websites listed above (dd-wrt.com & linksysinfo.com) are there for that purpose.
All DDWRT OIDS, in order:
http://www.dd-wrt.com/wiki/index.php/Si ... t_Protocol
/\ Note what website that is from /\
http://www.linksysinfo.org/forums/showt ... hp?t=36522
Instructions are for MRTG, but follow them so far as to get the OIDs generated.
The question you are asking has little to do with cacti, and more to do with DDWRT/WRT54G. The two websites listed above (dd-wrt.com & linksysinfo.com) are there for that purpose.
-
- Posts: 1
- Joined: Wed Nov 03, 2010 1:12 pm
Re: Monitoring Linksys WRT54G with DD-WRT
wow considering how popular this firmware is I am gobsmacked noone has exported working templates.
I found some of the dd-wrt forum but they also update existing non related graphs so wont be putting on my cacti production box.
I found some of the dd-wrt forum but they also update existing non related graphs so wont be putting on my cacti production box.
Who is online
Users browsing this forum: No registered users and 2 guests