Remstats Home


  About remstats
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
      the remstats user
      the webgroup group
      cookies
      private functions
      remstats servers
      your web-server
  Configuration
  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]

The Webgroup Group

This group isn't required if you're going to run a separate instance of the web-server, running under the remstats user id. However, if you want to use an existing web-server and just tell it to serve the remstats pages as well, it's the easiest clean way to set things up.

The reason it is required is that the graphs images are written to files at run-time. Run-time means here that they are written by whichever user the web-server is running as, often something like 'httpd'. The remstats user needs to be able to re-write the web-pages and create directory trees for the pages and images. In fact, it needs to be able to create the directories that the images go into.

So we create a 'webgroup' group. Let's call it 'xxx' for this explanation. This group has two members: the web-server user and the remstats user, so the line in /etc/groups might look like:

	xxx:x:219:httpd,remstats

When the page-writer creates the directory tree for the graph images (called GRAPHS), it creates the new directories with mode 2775 and group 'webgroup' ('xxx' in our example). This makes the directories writable by the CGI scripts running under the web-server, and the set-group-id bit will cause the group to be propagated to files created under this directory on most unix variants.


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