Removed the remark about database security.
authorarjen <arjen>
Thu, 22 Nov 2007 07:01:45 +0000 (07:01 +0000)
committerarjen <arjen>
Thu, 22 Nov 2007 07:01:45 +0000 (07:01 +0000)
doc/manual.xml

index 153ac26..26a0567 100644 (file)
@@ -6,7 +6,7 @@
 <!--
       Gnucomo - Gnu Computer Monitoring Tutorial
       Original author :  Peter Roozemaal
-      Version         : $Revision: 1.4 $
+      Version         : $Revision: 1.5 $
 
       This document is prepared for XMLDoc. Transform to HTML,
       LaTeX, Postscript or plain text with XMLDoc utilities and
@@ -293,38 +293,7 @@ Type the following commands to create the database:
 </verbatim>
 
 <para>
-With the default installation of PostgreSQL on RedHat 8.0,
-you will probably encounter an authentication problem when you try to
-use the Gnucomo web interface. The problem will look somewhat like this:
-</para>
-
-<para>
-<strong>
-Warning: pg_connect() unable to connect to PostgreSQL server:
-FATAL 1: IDENT authentication failed for user "arjen"
-</strong>
-</para>
-
-<para>
-Refer to PostgreSQL Administrator's guide, Chapter 4: Client Authentication.
-You probably have this line in the /var/lib/pgsql/data/pg_hba.conf:
-</para>
-
-<verbatim>
-   local   all     ident   sameuser
-</verbatim>
-
-<para>
-(I know RedHat 8.0 does this). You need to change this into:
-</para>
-
-<verbatim>
-   local      all           password
-</verbatim>
-
-<para>
-This tells PostgreSQL to allow any UNIX user to log into the database
-as any database user on a local socket, using his database password.
+[TODO] How to set up database security is yet to be described.
 </para>
 </section>
 
@@ -805,8 +774,8 @@ echo "   &lt;gcmt:data&gt;"
 
 echo "   &lt;gcmt:parameters gcmt:class='systemload'&gt;"
 
-PROCESSES=`ps ax|wc -l`
-LOADAV=` uptime|cut -d ' ' -f 13|tr -d ,`
+PROCESSES=`ps ax|wc -l|awk ' {print $1}'`
+LOADAV=`  uptime|awk ' { print $11 }' | tr -d ,`
 
 echo "&lt;gcmt:parameter name='Load'&gt;"
 echo "   &lt;gcmt:description&gt;System processing load&lt;/gcmt:description&gt;"