Remstats Home


  About remstats
  architecture
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
  Servers
  Collectors
      cisco-access-server-collector
      dbi-collector
      dns-collector
      error-collector
      log-collector
      nt-status-collector
      ntop-collector
      ping-collector
      port-collector
      program-collector
      remoteping-collector
      snmp-collector
      snmp-route-collector
      unix-status-collector
  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]

unix-status-collector - stats from unix hosts

Usage:

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

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.


[Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated Tue Oct 25 15:14:25 UTC 2005 by <terskine@users.sourceforge.net>.