Remstats Home


  About remstats
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
      macinfo
      new-config
      new-ping-hosts
      new-port-hosts
      new-snmp-hosts
      new-unix-hosts
      nt-discover
      pattern-query
      port-query
      remstats-rrdtune
      snmp-get
      snmp-showif
      snmpif-description-updater
      update-switch-ports
  Servers
  Collectors
  Updater
  Monitors
  pagemakers
  run-remstats2
  CGIs
  troubleshooting
  do-traceroutes
  Miscellany
  Thank-you
  Index


Live Data

Remstats was written by Thomas Erskine at the CRC in Canada and now looking for work.

[Top] [Prev] [Next]

snmpif-description-updater

Usage:

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 /home/groups/r/re/remstats/lib/snmpstuff.pl line 53.
BEGIN failed--compilation aborted at /home/groups/r/re/remstats/lib/snmpstuff.pl line 53.
Compilation failed in require at ../snmpif-description-updater line 32.

Description:

This script updates host config-files, for those which contain snmpif-* RRDs, by fetching the ifAlias OID via SNMP and re-writing the configuration file if any of the descriptions have changed. I'd suggest running it every now and then, say once a day, unless you're making very frequent changes to the descriptions.

If somebody has gear which uses an OID other than ifAlias to store the description, then I'll have to consider making this more general, but it'll do for now.


[
Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated Fri May 30 13:51:11 PDT 2003 by <terskine@users.sourceforge.net>.