← Revision 3 as of 2006-01-06 20:19:43
Size: 1545
Comment: More progress
|
← Revision 4 as of 2006-01-06 20:48:40 →
Size: 2079
Comment: Document setup
|
Deletions are marked like this. | Additions are marked like this. |
Line 19: | Line 19: |
== 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 }}} |
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.
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
- 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
- Installed IEEE802dot11-MIB on mississippi. use -m IEEE802dot11-MIB option on snmp commands when you need to.
Installed Cacti. http://buick.personaltelco.net/cacti/graph_view.php
- 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
- Set up SNMPd on all the metrixes.
- 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.