snmp-collector - get data via SNMP
Can't locate SNMP_util.pm in @INC (@INC contains: . /home/groups/r/re/remstats/lib /home/users/t/te/terskine/lib/perl /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl) at ../snmp-collector line 30. BEGIN failed--compilation aborted at ../snmp-collector line 30.
The snmp-collector collects data available via SNMP. There are some things that are hardcoded in, but it's mostly configurable. It will attempt to query for the following, if available:
and use them in the host index page.
The sysDescr and sysUptime are saved for the host display and the ifType and ifSpeed are combined to give a hardware description for the interface. Crude, but portable.
For other SNMP data, you'll need to look at the
[oids] file in the
configuration directory. The rrd will need to contain
[rrd snmpmem] source snmp step 300 data freemem=ciscofreemem GAUGE:600:0:U data totalmem=ciscototalmem GAUGE:600:0:U archives day-avg week-avg month-avg year-avg times day yesterday week month year oid CiscoFreeMem oid CiscoTotalMem
This rrd definition will fetch the amount of free memory and total memory available on a Cisco router. Since it's querying a Cisco-specific MIB, it's not usefull on other gear.
[Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated Fri May 30 13:51:10 PDT 2003 by <email@example.com>.