FAQ:
===
Q: Can we make bigger charts (or show other information)?
A: Yes. You can pass arguments to the script (it's similar to CGI's).
   Arguments supported: 
     graph={load|speed|mem|util|node|available|balancing|procs|phist|monitor|remote}
     n={1..N}
     width={200..32000}
     width={200..32000}
   For example:
   http://localhost/openmosixwebview/openmosixwebview.php?graph=node&n=3
   http://localhost/openmosixwebview/openmosixwebview.php?graph=mem&width=640&height=480
   http://localhost/openmosixwebview/openmosixwebview.php?width=2000&height=250
   http://localhost/openmosixwebview/openmosixwebview.php?graph=node&n=4&width=2000&height=300
   http://localhost/openmosixwebview/openmosixwebview.php?graph=node&n=4&width=100&height=100
   http://localhost/openmosixwebview/openmosixwebview.php?graph=speed
   http://localhost/openmosixwebview/openmosixwebview.php?graph=util
   http://localhost/openmosixwebview/openmosixwebview.php?graph=load
   http://localhost/openmosixwebview/openmosixwebview.php?graph=procs
   http://localhost/openmosixwebview/openmosixwebview.php?graph=phist
   http://localhost/openmosixwebview/openmosixwebview.php?graph=monitor
   http://localhost/openmosixwebview/openmosixwebview.php?graph=remote

Q: What do I need to run openMosixWebView ?
A: You need:
	1.- openMosix cluster
	2.- "openmosixcollector -d" running, and read permissions on /tmp/openmosixcollector
	3.- A web server
	4.- PHP4 enabled
	5.- GD2 support on PHP
	6.- /proc

Q: I get: Fatal error: Call to undefined function: imagecreate() in /home/httpd/chart.php on line 314
A: You don't have GD support on PHP4. You'll need to install package php4-gd2. If you have compiled PHP, see: 
   http://www.php.net/manual/en/install.apache.php
   http://www.php.net/manual/en/install.configure.php#install.configure.options.graphics

Q: Why all the pictures are the same ?
A: You need to set "register_globals = On" in /etc/php4/apache/php.ini and reload apache.

Q: Can we see only node 6 ?
A: Yes, pass this arguments: graph=node&n=6
   For example: 
   http://madreselva.datsi.fi.upm.es/openmosixwebview/openmosixwebview.php?graph=node&n=6&width=1600&height=300

Q: How do I compile openMosixWebView ?
A: You can't.

Q: I get Warning: fopen("/tmp/openmosixcollector/cluster", "r") - Permission denied in openmosixwebview.php on line 42
A: openMosixView 1.4 fixes that problem. So just upgrade openmosixcollector.
   Explanation (for openMosixView < 1.4):
   openmosixwebview.php does not have permissions to read /tmp/openmosixcollector directory.
   openmosixwebview.php is executed by the user running Apache (typical www-data, www or apache). This user
   must have permisions to read that directory. You have to set 0755. For example "chmod -R a+rx /tmp/openmosixcollector"

Q: I am running RH8.0, kernel-2.4.18-openmosix4. Can I install openMosixWebView on 
   my box or I have to upgrade the kernel to kernel-2.4.20-openmosix1 ?
A: Your openMosix version doesn't care. The important thing is that you have openMosixcollector running.

Q: How do I refresh my charts every 10 seconds
A: Try putting this on your web:
    <head>
      <meta HTTP-EQUIV="Refresh" CONTENT="10">
    </head>
    <img src="openmosixwebview.php?graph=load" border="0" alt="Load">

Q: Do I need mosctl command ?
A: Yes you do.

Q: Do I need cookies support on my browser ?
A: Not really. Cookies are only used in graph=phist. They are used to store
   your preferences (like sorting, and group filter).

Q: What does openMosixWebView use for plotting the graphics ?
A: We use chart. Chart was writen by Lars Magne Ingebrigtsen and is GPL.
   http://quimby.gnus.org/circus/chart/chart-manual.php

Q: May I use Apache 2.0
A: No. Apache 2.0 does not work OK with PHP4 (by now).

Q: I see an awful "history bar"
A: You need GD2 support on PHP. With GD the that image only has 4-bit

Q: You are great ... got a girlfriend ?
A: No, but if you are female write me and we'll fix it !

Have fun !

Ramon Pons Vivanco <rpons@rinu.org>

$Id: FAQ,v 1.14 2003/02/16 11:40:27 rpons Exp $
