2009/4/15 Andy Burns <[email protected]>: > I'd like to be able to collect and graph my ADSL stats into cacti, I'm > aware of various ADSL MIBs, RFC2662 seems to cover all the stats I > have available > > e.g. the westell utility currently outputs the following to stdout
[snip] > I don't know whether the snmpd agent's perl or sh/exec methods are > suitable, or if it would be best to create a loadable MIB library that > directly listens to the multicast stream, rather than spawning a child > process to do it. My immediate reaction would be to use the "extend" directive to invoke the westell command directly. That would provide the basic information very simply. The main problem is that the output of this directive is string-based, rather than numeric values (even if those strings actually contain numbers!). My suspicion is that cacti probably requires numeric data to work with. There may be a way to handle the conversion within cacti (perhaps after having stripped off the leading lables), but I'm really not sure. Otherwise, you're probably looking at using either "perl" or "pass" to take this raw data, and report it back as proper numeric values - either using your own private MIB structure, or the standard ADSL MIB. Or else craft a simple C-based MIB module, populating it by invoking this command and parsing the output (probably within a cache load routine). Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
