Differences between revisions 10 and 11
Revision 10 as of 2006-12-14 23:55:04
Size: 1998
Comment:
Revision 11 as of 2006-12-14 23:59:42
Size: 2206
Comment:
Deletions are marked like this. Additions are marked like this.
Line 42: Line 42:
I'm sure you can hack a bit on /etc/snmp.conf to get some cool info out, but it seems to do uptime out of the box, which is good enough for now. It ''would'' be nice to know how many users are associated.

Status

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

Management interface at (self-signed cert, CN=baker.personaltelco.net needs to be updated to PTP-signed, CN=chevy.personaltelco.net) https://chevy.personaltelco.net/cacti/

Set up

Metrix

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.

WGTs

There is a nice little ipkg for snmpd for the mipsel-based WGTs, it lives [http://voidmain.is-a-geek.net/files/ipkg/ here], has some documentation [http://voidmain.is-a-geek.net/files/ipkg/INSTALL here], and can be installed with one scary-looking command like this:

wget -O - http://voidmain.is-a-geek.net/files/ipkg/netsnmp-static_5.1.1_vm1-1_mipsel.ipk | tar -xzOf - ./data.tar.gz | tar -C / -xvzf -

I'm sure you can hack a bit on /etc/snmp.conf to get some cool info out, but it seems to do uptime out of the box, which is good enough for now. It would be nice to know how many users are associated.

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

  • Get a PTP signed cert for chevy, so we don't warnings on https.

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