Useful tools for the WiFi Network
From DD-WRT Wiki
Revision as of 13:03, 2 September 2009 (edit) DHC DarkShadow (Talk | contribs) (additions) ← Previous diff |
Revision as of 16:57, 2 September 2009 (edit) (undo) DHC DarkShadow (Talk | contribs) (additions) Next diff → |
||
Line 184: | Line 184: | ||
snmpwalk -v 2c ipaddressorname yoursnmpcommunityname .1 | snmpwalk -v 2c ipaddressorname yoursnmpcommunityname .1 | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | == ODMON == | ||
+ | |||
+ | |||
+ | I have created a special monitoring solution for DD-WRT on http://www.odmon.com. It allows anyone with DD-WRT box to start monitoring their box in few simple clicks. The example output graphs can be found here http://www.odmon.com/ddwrtv24.php . | ||
+ | The fast track wizard will guide you through setting up dd-wrt and will create all graphs for you. If you want to have such graphs for your box go to http://monitor.odmon.com/fasttrack.php and start your monitoring in few minutes. All You need is Internet connection and public IP. | ||
+ | |||
+ | Being dd-wrt fan myself, I have created a nice template for DD-WRT v24 which allows graph SNR of selected wireless client (example attached) and number of wireless clients. There are also graphs of bandwidth on LAN and WAN interface, cpu, load average and memory usage. The pre v23 SP3 version does not allow graphing SNR and wireless clients, but all other will work fine. Unfortunately due to dd-wrt snmp poor implementation, the snr graph might not be “stable” – so when creating snr graph for client with index no 1, it will be changed to last associated client. The problem is that the index is not persistent, so number 1 is given to the last associated host (it is wl_snmpd.sh problem). Of course you can go to graph management and refresh the query, but it is still a bit problematic. I hope it will change soon. | ||
+ | |||
+ | What is odmon.com? | ||
+ | odmon is Cacti based monitoring solution that allows to create graphs like bandwidth or cpu. It is very useful for those who do not have their own monitoring server but want to know how their device is performing. odmon.com will query your router through internet and present graphs online. More on www.odmon.com | ||
+ | [[Image:http://www.dd-wrt.com/phpBB2/files/snr_128.png]] | ||
Credit for finds [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=57417] | Credit for finds [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=57417] |
Revision as of 16:57, 2 September 2009
Contents |
Cacti
Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.
http://www.cacti.net/screenshots.php
Linux - http://www.cacti.net
Windows (Easy installer) http://forums.cacti.net/about14946.html
If you are interested in graphing latency, etc grab this plugin for Cacti. It will allow you to graph latency (ping spikes) against router cpu and bandwidth
http://forums.cacti.net/about10049.html
ManageEngine NEtflow tool
NetFlow Analyzer is a netflow monitoring tool which collects NetFlow packets or other supported flows exported from enterprise routers and switches, generating network traffic reports that help understand the nature of the network traffic and the bandwidth utilization, thus helpful in traffic analysis and bandwidth monitoring. NetFlow monitoring acheives a new level when a solution such as ManageEngine NetFlow Analyzer is aligned to Cisco technologies such as NetFlow, NBAR and CBQoS.
NetFlow monitoring software is not only about monitoring the network traffic but also a tool to help network administrators to troubleshoot faster. The ability to drill down the interfaces and the seeing the traffic, application, source, destination, conversation etc, helps a network administrator to gain an indepth visibility into the network traffic. More use cases on troubleshooting.
Sample reports
http://www.manageengine.com/products/netflow/bandwidth-reports.html
IPERF
Iperf is a commonly used network testing tool that can create TCP and UDP data streams and measure the throughput of a network that is carrying them. Iperf is a modern tool for network performance measurement written in C++.
Iperf allows the user to set various parameters that can be used for testing a network, or alternately for optimizing or tuning a network. Iperf has a client and server functionality, and can measure the throughput between the two ends, either unidirectonally or bi-directionally. It is open source software and runs on various platforms including Linux, Unix and Windows. It is supported by the National Laboratory for Applied Network Research
http://www.noc.ucf.edu/Tools/Iperf/
If you really want to get fancy - consider adding Nagios
Capabilities to monitor applications, services, operating systems, network protocols, system metrics and infrastructure components with a single tool Powerful script APIs allow easy monitoring of in-house and custom applications, services, and systems
You can setup some cool tests - sky is the limit.
Zabbix
Zabbix has a great webinterface and you can customize it a lot. The only "problem" is that it "just" runs under Linux.
More details (copied from Wikipedia): ZABBIX is a network management system application created by Alexei Vladishev. It is designed to monitor and track the status of various network services, servers, and other network hardware.
It uses MySQL, PostgreSQL, SQLite or Oracle to store data. Its backend is written in C and the web frontend is written in PHP. ZABBIX offers several monitoring options. Simple checks can verify the availability and responsiveness of standard services such as SMTP or HTTP without installing any software on the monitored host. A ZABBIX agent can also be installed on UNIX and Windows hosts to monitor statistics such as CPU load, network utilization, disk space, etc. As an alternative to installing an agent on hosts, ZABBIX includes support for monitoring via SNMP, TCP and ICMP checks, IPMI and custom parameters. ZABBIX supports a variety of real-time notification mechanisms, including Jabber.
Released under the terms of version 2 of the GNU General Public License, ZABBIX is free software.
Screenshots: http://www.zabbix.com/screenshots.php
mrtg
see bandwidth.lgk.com for sample graphs..
sorry i didnt mean these are better than any others they are just free and avail. to gather data via snmp and then graph the results.. i spent 20 minutes writting a long desc. of how they work and the damn website said my post was too long and lost everything so here is a quick synopsis mrtg runs via perl and collects data via snmp and graphs it.. it is free and avail here
iog isa free program that you only run once to create the index page and mrtg config file..and is avail here
but now that i know more i hand edit the config file.
here are a few entry from my mrt config file
### Global Config Options # for UNIX # WorkDir: /home/http/mrtg # or for NT # WorkDir: c:\mrtgdata ### Global Defaults # to get bits instead of bytes and graphs growing to the right # Options[_]: growright, bits EnableIPv6: no Workdir: h:/mrtg Options[_]: bits,growright ###################################################################### # System: portal.lgk.com # Description: Linux portal.lgk.com 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 # Contact: root@localhost # Location: Unknown ###################################################################### ### Interface 3 >> Descr: 'vlan1' | Name: '' | Ip: '' | Eth: '' ### Target[pundit.lgk.com_7]: 7:test@pundit.lgk.com: #RouterUptime[pundit.lgk.com_7]: test@pundit.lgk.com SetEnv[pundit.lgk.com_7]: MRTG_INT_IP="" MRTG_INT_DESCR="vlan2" kilo[pundit.lgk.com_7]: 1024 MaxBytes[pundit.lgk.com_7]: 5000000 Title[pundit.lgk.com_7]: Traffic Analysis Bridge In PageTop[pundit.lgk.com_7]: <H1>pundit Bridge IN Traffic</H1> <TABLE> <TR><TD>System:</TD> <TD>wrt610n bridge running dd-wrt</td></tr> <TR><TD>Maintainer:</TD> <TD>root</TD></TR> <TR><TD>Description:</TD><TD>vlan2 </TD></TR> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (7)</TD></TR> <TR><TD>ifName:</TD> <TD></TD></TR> <TR><TD>Max Speed:</TD> <TD>50.0 Mbits/s</TD></TR> </TABLE> ### Interface 3 >> Descr: 'vlan2' | Name: '' | Ip: '' | Eth: '' ### Target[pundit.lgk.com_6]: 6:test@pundit.lgk.com: #RouterUptime[pundit.lgk.com_6]: test@pundit.lgk.com SetEnv[pundit.lgk.com_6]: MRTG_INT_IP="" MRTG_INT_DESCR="vlan1" kilo[pundit.lgk.com_6]: 1024 MaxBytes[pundit.lgk.com_6]: 1000000 Title[pundit.lgk.com_6]: Traffic Analysis Bridge Out PageTop[pundit.lgk.com_6]: <H1>pundit Bridge OUT Traffic</H1> <TABLE> <TR><TD>System:</TD> <TD>wrt610n bridge running dd-wrt</td></tr> <TR><TD>Maintainer:</TD> <TD>root</TD></TR> <TR><TD>Description:</TD><TD>vlan1 </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 Mbits/s</TD></TR> </TABLE> #bridge cpu Target[pundit.lgk.com_CPU]: 1.3.6.1.4.1.2021.10.1.5.1&1.3.6.1.4.1.2021.10.1.5.2:test@pundit.lgk.com #RouterUptime[pundit.lgk.com_CPU]: test@pundit.lgk.com Title[pundit.lgk.com_CPU]: Bridge CPU Utilization PageTop[pundit.lgk.com_CPU]: <H1>Bridge CPU Utilization %</H1> # This router has been up from: <b>1.3.6.1.2.1.25.1.1.0:test@pundit.lgk.com</b> MaxBytes[pundit.lgk.com_CPU]: 100 Unscaled[pundit.lgk.com_CPU]: ymwd ShortLegend[pundit.lgk.com_CPU]: % YLegend[pundit.lgk.com_CPU]: CPU Utilization Legend1[pundit.lgk.com_CPU]: Bridge CPU in % (Load - 1 Minute) Legend2[pundit.lgk.com_CPU]: Bridge CPU in % (Load - 5 Minute) LegendI[pundit.lgk.com_CPU]: Average 1 Minute LegendO[pundit.lgk.com_CPU]: Average 5 Minute Options[pundit.lgk.com_CPU]: gauge,growright,nopercent #memory usage Target[pundit.lgk.com_MEM]: 1.3.6.1.2.1.25.2.3.1.5.101&1.3.6.1.2.1.25.2.3.1.6.101:test@pundit.lgk.com #RouterUptime[pundit.lgk.com_MEM]: test@pundit.lgk.com MaxBytes[pundit.lgk.com_MEM]: 32 Options[pundit.lgk.com_MEM]: gauge, nopercent, growright,integer,transparent Unscaled[pundit.lgk.com_MEM]: dwym YLegend[pundit.lgk.com_MEM]: Mbytes ShortLegend[pundit.lgk.com_MEM]: M LegendI[pundit.lgk.com_MEM]: Total LegendO[pundit.lgk.com_MEM]: Used Legend1[pundit.lgk.com_MEM]: Average Total Legend2[pundit.lgk.com_MEM]: Average Used Title[pundit.lgk.com_MEM]: Bridge Memory - Router PageTop[pundit.lgk.com_MEM]: <H1>Bridge Memory Usage</H1> to gather what info your router supports use snmpwalk to get the data ie snmpwalk -v 2c ipaddressorname yoursnmpcommunityname .1
ODMON
I have created a special monitoring solution for DD-WRT on http://www.odmon.com. It allows anyone with DD-WRT box to start monitoring their box in few simple clicks. The example output graphs can be found here http://www.odmon.com/ddwrtv24.php . The fast track wizard will guide you through setting up dd-wrt and will create all graphs for you. If you want to have such graphs for your box go to http://monitor.odmon.com/fasttrack.php and start your monitoring in few minutes. All You need is Internet connection and public IP.
Being dd-wrt fan myself, I have created a nice template for DD-WRT v24 which allows graph SNR of selected wireless client (example attached) and number of wireless clients. There are also graphs of bandwidth on LAN and WAN interface, cpu, load average and memory usage. The pre v23 SP3 version does not allow graphing SNR and wireless clients, but all other will work fine. Unfortunately due to dd-wrt snmp poor implementation, the snr graph might not be “stable” – so when creating snr graph for client with index no 1, it will be changed to last associated client. The problem is that the index is not persistent, so number 1 is given to the last associated host (it is wl_snmpd.sh problem). Of course you can go to graph management and refresh the query, but it is still a bit problematic. I hope it will change soon.
What is odmon.com? odmon is Cacti based monitoring solution that allows to create graphs like bandwidth or cpu. It is very useful for those who do not have their own monitoring server but want to know how their device is performing. odmon.com will query your router through internet and present graphs online. More on www.odmon.com Image:Http://www.dd-wrt.com/phpBB2/files/snr 128.png
Credit for finds [1]