Remstats Home


  About remstats
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
  Servers
  Collectors
      log-collector
      nt-status-collector
      ping-collector
      port-collector
      remoteping-collector
      snmp-collector
      snmp-route-collector
      unix-status-collector
  Updater
  Monitors
  run-remstats
  CGIs
  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]

unix-status-collector - stats from unix hosts

Usage:

Can't locate RRDs.pm in @INC (@INC contains: . /usr/lib/remstats/lib /usr/lib/perl5/ /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl) at ../unix-status-collector line 33.
BEGIN failed--compilation aborted at ../unix-status-collector line 33.

Description:

The unix-status-collector gets its data from the unix-status-server. For a detailed explanation of what the various directives mean, see its documentation, as it's the implementor. It sends a query consisting mostly of the sections of the server that it wants to run. It can also request that processes with specific names be counted and that information returned too. A query for all the sections might look like:

	UNAME
	UPTIME
	TIME 986485967
	VMSTAT
	DF
	NETSTAT
	QMAILQ
	PS
	webservers ps count httpd
	FILEAGE
	test fileage /var/spool/locks/lockfile
	PROC
	swaptot proc /proc/meminfo ^SwapTotal:\s+(\d+)
	GO

The webservers ps count httpd line requests that the ps section count the number of processes called httpd and return that as a variable called webservers.

The test fileage /var/spool/locks/lockfile line requests the last modification time of the file /var/spool/locks/lockfile, which is returned in seconds.

The swaptot ... line looks for the total swap size in /proc/meminfo.

The best way to see what it will produce is to run it manually.


Last updated Tue Apr 16 19:09:27 PDT 2002 by <thomas.erskine@sourceworks.com>.
[SourceWorks] [Top] [RRDtool]