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]

port-query

Usage:

port-query version 1.6 from remstats 1.0.13a
usage: ../port-query [options] host port [arg] ...
where the optional args are to be substituted for ##1##, ##2##, ...
where options are:
    -d nnn  enable debugging output at level 'nnn'
    -f fff  read query from file 'fff' [stdin]
    -h      show this help
    -s      do magic-cookie substitutions on query
    -t ttt  use 'ttt' for timeout for response [10]

Description:

Sort of like telnet host port, the port-query program connects to the named host on the specified port, sends the contents of the query file and returns whatever the service on the other end says. Can be used with the pattern-query program to test scripts used by the port-collector.


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