[Pkg-nagios-devel] nagios README.pgsql,1.3,1.4 changelog,1.56,1.57

seanius@haydn.debian.org seanius@haydn.debian.org


Update of /cvsroot/pkg-nagios/nagios
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv15542

Modified Files:
	README.pgsql changelog 
Log Message:
doc fixes from turbo

Index: README.pgsql
===================================================================
RCS file: /cvsroot/pkg-nagios/nagios/README.pgsql,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- README.pgsql	22 Feb 2005 04:53:57 -0000	1.3
+++ README.pgsql	12 May 2005 00:05:40 -0000	1.4
@@ -20,9 +20,9 @@
 
 # gunzip /usr/share/doc/nagios-pgsql/create_pgsql.gz
 # su postgres
-# psql nagios < /usr/share/doc/nagios-pgsql/create_pgsql
 # createuser -A -D nagios
 # createdb -O nagios nagios
+# psql nagios < /usr/share/doc/nagios-pgsql/create_pgsql
 # createlang plpgsql nagios
 # psql nagios
 
@@ -62,12 +62,13 @@
 
    First, create a copy of the check_nagios_db script:
 
-cp /usr/share/doc/nagios-pgsql/check_nagios_db /usr/lib/nagios/plugins/
+cp /usr/share/doc/nagios-pgsql/check_nagios_db /etc/nagios/
+chmod +x /etc/nagios/check_nagios_db
 
-   Apply these changes to /usr/lib/nagios/plugins/check_nagios_db:
+   Apply these changes to check_nagios_db:
 
 --- /usr/share/doc/nagios-pgsql/check_nagios_db 2004-11-13 18:56:19.000000000 -0500
-+++ /usr/lib/nagios/plugins/check_nagios_db     2004-12-31 09:16:16.000000000 -0500
++++ /etc/nagios/check_nagios_db     2004-12-31 09:16:16.000000000 -0500
 @@ -11,10 +11,10 @@
  use DBI;
 
@@ -93,7 +94,7 @@
 
    Test it standalone:
 
-/usr/lib/nagios/plugins/check_nagios_db
+/etc/nagios/check_nagios_db
 
    vi /etc/nagios/resource.cfg
 
@@ -117,11 +118,11 @@
 GRANT SELECT ON hostextinfo, programstatus, servicestatus, hoststatus, hostcomments, servicecomments, hostdowntime, servicedowntime, serviceextinfo TO nagios_cgi;
 
 Then the user and password for nagios_cgi should be entered in
-/etc/nagios/nagios.cgi.
+/etc/nagios/cgi.cfg.
 
    In the same file, change the check command:
 
-nagios_check_command=/usr/lib/nagios/plugins/check_nagios_db
+nagios_check_command=/etc/nagios/check_nagios_db
 
    Check and restart:
 
@@ -150,3 +151,6 @@
      * http://arstechnica.com/columns/linux/linux-20040601.ars
      * http://www.xach.com/aolserver/mysql-to-postgresql.html
      * http://www.archonet.com/pgdocs/grant-all.html
+
+
+ -- sean finney <seanius@debian.org>  Wed, 11 May 2005 19:33:27 -0400

Index: changelog
===================================================================
RCS file: /cvsroot/pkg-nagios/nagios/changelog,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- changelog	11 May 2005 00:40:41 -0000	1.56
+++ changelog	12 May 2005 00:05:40 -0000	1.57
@@ -4,6 +4,8 @@
     - compile with --with-file-perfdata (closes: #306555).
     - fix a reference from /usr/doc to /usr/share/doc.  thanks to
       Steve Mynott <steve.mynott@gmail.com> (closes: #308530:).
+    - documentation fixes in README.pgsql, thanks for this go to 
+      Turbo Fredriksson <turbo@bayour.com> (closes: #308564, #308568).
 
  -- sean finney <seanius@debian.org>  Tue, 10 May 2005 20:39:37 -0400