[Pkg-nagios-devel] nagios README.mysql,1.3,1.4 changelog,1.45,1.46

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-serv4431

Modified Files:
	README.mysql changelog 
Log Message:
documentation changes in README.mysql

Index: README.mysql
RCS file: /cvsroot/pkg-nagios/nagios/README.mysql,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- README.mysql	15 Feb 2005 22:17:38 -0000	1.3
+++ README.mysql	16 Mar 2005 12:50:14 -0000	1.4
@@ -16,7 +16,7 @@
 $ mysqladmin -u root -p create nagios
-$ zcat /usr/share/doc/nagios-mysql/create_mysql.sql.gz | mysql -u root -p nagios
+$ zcat /usr/share/doc/nagios-mysql/create_mysql.gz | mysql -u root -p nagios
 When prompted for a password, please enter the password you choosed when 
 configuring the package at install time... If you did not set a password,
@@ -48,8 +48,8 @@
 1) /etc/nagios/resource.cfg
 Uncomment and set the following lines to appropriate values, replacing
-"someuser" and "somedatabase" with "nagios", and "somepassword" with
-whatever password you chose in the above step:
+the values you've chosen in the previous step for the database, user,
+and password.  
@@ -74,6 +74,31 @@
 At the bottom of this file, you'll find the similar lines commented
 out as were in the previous one.  Do the same here.
+Then you want the cgi-script and the init.d script to correctly
+know the status of nagios. To do this you will need something like the
+check_nagios_db file from /usr/doc/nagios-common/.  put it where you
+like but adjust the paths in the following examples. the default example
+will assume you put it in /etc/nagios/check_nagios_db as the init-script
+now already looks there by default and if it is there it will automagically
+use it.
+Make it executable:
+# chmod +x /etc/nagios/check_nagios_db
+Now edit the /etc/nagios/cgi.cfg and put a # in front of the line
+nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/log/nagios/status.log 5 'nagios'
+and remove the # in front of the line
+and finally, now (re)start nagios
+# /etc/init.d/nagios restart
 You should now be up and running enough to get started.  You'll still
 need to edit your /etc/nagios/hosts.cfg and other files, but you'll be

Index: changelog
RCS file: /cvsroot/pkg-nagios/nagios/changelog,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- changelog	15 Mar 2005 00:56:39 -0000	1.45
+++ changelog	16 Mar 2005 12:50:14 -0000	1.46
@@ -6,6 +6,8 @@
     - plugins would break in environments that use commas in their floating
       points.  as a workaround, set LC_NUMERIC=POSIX in the init script.
       thanks again to Olleg Samoylov <olleg@mipt.ru> (closes: #299467).
+    - documentation changes suggested by David Greaves <david@dgreaves.com>
+      (closes: #299613).
  -- sean finney <seanius@debian.org>  Mon, 14 Mar 2005 19:41:52 -0500