Remstats Home


  About remstats
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
      access
      alerts
      alert-destination-map
      alert-template-map
      alert-templates
      archives
      availability
      colors
      customgraphs
      dbi-connects
      dbi-selects
      environment
      general
      groups
      hosts
      host templates
      html
      links
      ntops
      oids
      pages
      page-templates
      remotepings
      run
      run-stages
      rrds
      scripts
      times
      tools
      views
      view templates
  Configuration Tools
  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]

Configuration - Availability

There are two types of availability definitions: for an RRD or for an RRD on a particular host. The RRD may also be a wildcard RRD, like "df-*" or an instance of an RRD, like "df-/home". The definitions look like:

	rrd RRDNAME VARNAME CF RELATION THRESHOLD
and
	host HOSTNAME RRDNAME VARNAME CF RELATION THRESHOLD

The CF is one of LAST, MIN, MAX or AVERAGE, with rrdtool's usual meaning. The RELATION can be any one of: <, <=, >, >=, or =. The THRESHOLD is the number to which the value of VARNAME must be in the correct RELATION. (Clear as mud.)

As an example, take the following definition:

	rrd ping rcvd MINIMUM > 0

This means that the variable 'rcvd' in the ping rrd must be greater than zero for it to be considered "available". All time intervals where it isn't, or for which no data is available, are considered "unavailable".

There are also two other record types: colors and thresholds. A colors record looks like:

	colors COLOR1 ...

A thresholds line looks like:

	thresholds NUMBER ...

and must have the same number of values as the colors line. Only one of each. Here's an example to make the use clear (I hope):

	colors avail1 avail2 avail3 avail4
	thresholds 99 98 95 90

The colors line above requires that the colors 'avail1', ... be defined in the colors config-file. The thresholds line above specifies that if an availability is 99% or above, it should be colored 'avail1' color, 98% to 99%, use 'avail2' color, etc.


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