Remstats Home


  About remstats
  architecture
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
  Servers
      log-server
      nt-status-server
      remoteping-server
      unix-status-server
  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]

log-server - providing remote access to log information

Usage:

log-server version 1.15 from remstats 1.0.13a
usage: ../log-server [options] logfile ...
where options are:
	-d nnn	enable debugging output at level 'nnn'
	-p ppp	set the prefix for context-files to 'ppp' [log-server-]
	-h	show this help

The log-server must be supplied with at least one log-file to serve.

Description:

The log-server is queried by the log-collector using a "protocol" described in the log-collector documentation. It will provide information from any of the log-files on it's command-line, but no others. It is recommended that you use the tcp_wrappers or some other form of access-control to limit access to this server. The information may or may not be sensitive, according to which log-files you are serving, but letting anyone query it will mean that you will lose some data, unless you're sure that they will only query it in test mode.

The log-server will store context for each log-file that is served, by default in /var/tmp/log-server-XXX, where XXX is replaced by a munged version of the log-file name. If you want this stored somewhere else, use the -p switch or change the program.

Notes:

Don't forget to list all the log-files that you want to serve on the command-line. If there are too many for your inetd, make a tiny shell script with the log-server invocation and run that from inetd.

For details on installation, you'd better look at the server installation docs.


[Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated mardi 21 novembre 2006, 18:54:34 (UTC+0100) by <terskine@users.sourceforge.net>.