Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2006-01-06 20:19:43
Size: 1545
Comment: More progress
Revision 5 as of 2006-01-06 20:54:33
Size: 1882
Comment: Almost done!
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Currently we have http://buick.personaltelco.net/cacti/graph_view.php
Line 11: Line 11:
 * metrix-naya-{n,s}w has snmpd installed
 * metrix-naya-sw has
/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 is a string, I don't know if that will cause problems later. If it does, it's simple enough to make assoc_count return the number as an exit status, which snmpd reports as an integer.
 * This
means you can count stations with snmpget -c public -v 1 10.11.104.2 1.3.6.1.4.1.2021.8.1.101.1
 * 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}}}
Line 16: Line 15:
 * Installed Cacti. http://buick.personaltelco.net/cacti/graph_view.php  * Installed Cacti.
Line 19: Line 18:
== 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
mississippi$ scp snmpd.conf root@metrix-ed.mississippi:/etc/snmp
mississippi$ scp assoc_count root@metrix-ed.mississippi:/usr/local/bin

metrix# /etc/init.d/snmpd restart
metrix# remountro
}}}
Line 20: Line 38:
 * Set up SNMPd on all the metrixes.

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

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

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
mississippi$ scp snmpd.conf root@metrix-ed.mississippi:/etc/snmp
mississippi$ scp assoc_count root@metrix-ed.mississippi:/usr/local/bin

metrix# /etc/init.d/snmpd restart
metrix# remountro

Next Steps

  • 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.

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