Remstats Home


  About remstats
  architecture
  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
  at SourceWorks.

[Top] [Prev] [Next]

new-port-hosts - add RRDs for services

Usage:

Can't locate remstats.pl in @INC (@INC contains: . /usr/lib/remstats/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at ../new-port-hosts line 30.

Description:

You supply a file or files of hostnames, one per line, or let it read from stdin.

You can use this to add RRDs to a host describing the various services running on a server, or at least the ones that the port-collector knows how to talk to. It's actually a very limited port-scanner, and will attempt to connect to each of the services. For each one that answers, new-port-hosts will write an entry for the corresponding rrd.

If the host has no file, new-port-hosts will add one with appropriate header info and a ping rrd. Otherwise, it will just add the port-based rrd's to the end of the host file.


[Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated Fri Jun 22 13:37:45 GMT 2007 by <terskine@users.sourceforge.net>.