Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2006-01-06 20:55:23
Size: 1915
Comment: One more TODO
Revision 8 as of 2006-01-12 01:55:51
Size: 1445
Comment: Commits done
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
There ought to be some sort of monitoring for the current/past state of the network. Currently this page is a log of BenjaminJencks attempts to set this up.
Currently we have http://buick.personaltelco.net/cacti/graph_view.php
== Vision ==
Something, probably Cacti, monitoring all the APs for
 * Number of associated stations (done with assoc_count script)
 * Link throughput (built into snmpd, unless bridges cause weirdness (I don't see why they would))
 * Link status? This might be derived from throughput
= Status =
{{{mississippi}}} is running Cacti, and monitoring all of the deployed metrixes and ciscos. The graphs are available at http://naya.personaltelco.net/cacti/graph_view.php
Line 9: Line 4:
== So Far ==
 * mississippi has snmp tools installed
 * All currently deployed metrixes have snmpd installed, as well as {{{/usr/local/bin/assoc_count}}}, which prints the number of associated stations.
 * snmpd is configured to use assoc_count for OID {{{1.3.6.1.4.1.2021.8.1.101.1}}}, otherwise known as {{{UCD-SNMP-MIB::extOutput.1}}}.
 * This means you can count stations with {{{snmpget -c public -v 1 <<Host>> 1.3.6.1.4.1.2021.8.1.101.1}}}
 * Installed IEEE802dot11-MIB on mississippi. use -m IEEE802dot11-MIB option on snmp commands when you need to.
 * Installed Cacti.
 * Made host template "Metrix box" that includes # of STAs graph.

== Set up ==
= Set up =
Line 30: Line 16:
mississippi$ scp snmpd.conf root@metrix-ed.mississippi:/etc/snmp
mississippi$ scp assoc_count root@metrix-ed.mississippi:/usr/local/bin
naya$ scp snmpd.conf root@metrix-ed.mississippi:/etc/snmp
naya$ scp assoc_count root@metrix-ed.mississippi:/usr/local/bin
Line 37: Line 23:
== Next Steps ==
 * Count stations on the cisco.
 * These need SVN access, so I can edit httpd.conf and snmpd.conf
  * Monitor throughput on mississippi itself.
  * Fix the kludge on httpd.conf I did.
 * Add the device to Cacti with the Metrix Box template.
 * Create the Associated Stations, ath0, ath1...athN graphs.
 * Add the device to the main graph tree.
 * Add the Assoc. STAs graph to the Assoc STAs page.

= Diagnostics =
/usr/local/bin/assoc_count is a homebrew script. It reports the number of associations on ath0. It only works with madwifi-ng. snmpd.conf has the line
{{{
exec assoc_count /usr/local/bin/assoc_count
}}}
to enable it. This exports the association count on OID {{{1.3.6.1.4.1.2021.8.1.101.1}}}. Other than that, everything is standard net-snmp exports.

= TODO =
 * Move cacti to a box with actual processing power, so graphs don't load so slowly. Requires such a box to be deployed on the missnet.

Status

mississippi is running Cacti, and monitoring all of the deployed metrixes and ciscos. The graphs are available at http://naya.personaltelco.net/cacti/graph_view.php

Set up

To set up a metrix box for monitoring:

metrix# remountrw
metrix# apt-get install snmpd ash
metrix# vi /etc/default/snmpd # set TRAPDRUN=no
metrix# cd /var/lib
metrix# cp -a snmp/ /ro/var/lib
metrix# mv snmp/ /rw/var/lib
metrix# ln -s /rw/var/lib/snmp/ .

// Get snmpd and assoc_count from another metrix
naya$ scp snmpd.conf root@metrix-ed.mississippi:/etc/snmp
naya$ scp assoc_count root@metrix-ed.mississippi:/usr/local/bin

metrix# /etc/init.d/snmpd restart
metrix# remountro
  • Add the device to Cacti with the Metrix Box template.
  • Create the Associated Stations, ath0, ath1...athN graphs.
  • Add the device to the main graph tree.
  • Add the Assoc. STAs graph to the Assoc STAs page.

Diagnostics

/usr/local/bin/assoc_count is a homebrew script. It reports the number of associations on ath0. It only works with madwifi-ng. snmpd.conf has the line

exec assoc_count /usr/local/bin/assoc_count

to enable it. This exports the association count on OID 1.3.6.1.4.1.2021.8.1.101.1. Other than that, everything is standard net-snmp exports.

TODO

  • Move cacti to a box with actual processing power, so graphs don't load so slowly. Requires such a box to be deployed on the missnet.

MississippiMonitoring (last edited 2007-11-23 18:02:36 by localhost)