Module: nagvis Branch: master Commit: 0a9f85e8e84335c455af6cffc3e048c4e3c42204 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=0a9f85e8e84335c455af6cffc3e048c4e3c42204
Author: LaMi <[email protected]> Date: Fri May 14 20:34:34 2010 +0200 Some doc fixes; Thanks for the note Wolfgang --- docs/en_US/extending/custom_context_actions.html | 6 ++-- docs/en_US/update_instructions.html | 34 ++++++++++++++-------- 2 files changed, 25 insertions(+), 15 deletions(-) diff --git a/docs/en_US/extending/custom_context_actions.html b/docs/en_US/extending/custom_context_actions.html index 28b4882..937e69b 100644 --- a/docs/en_US/extending/custom_context_actions.html +++ b/docs/en_US/extending/custom_context_actions.html @@ -35,10 +35,10 @@ <h3>2. Create custom context template</h3> - Just copy the default backend: + Just copy the default context template: - <pre>cd /usr/local/nagios/share/nagvis -cp nagvis/templates/default.context.html nagvis/templates/default-ssh.context.html</pre> + <pre>cd /usr/local/nagvis +cp share/userfiles/templates/default.context.html share/userfiles/templates/default-ssh.context.html</pre> Now add a line to the host specific macro section like follows diff --git a/docs/en_US/update_instructions.html b/docs/en_US/update_instructions.html index 477aad6..0c2a267 100644 --- a/docs/en_US/update_instructions.html +++ b/docs/en_US/update_instructions.html @@ -9,17 +9,20 @@ First rule: Always make a backup before updating an existing installation. - There are two cases of updating: + There are severl cases for updating: <ol> - <li> Upgrading from an older main version (1.1x - 1.4x to 1.5x)</li> + <li> Upgrading from a very old major ersion (1.1x, 1.2x, 1.3x)</li> + <li> Upgrading from the last major version (1.4x)</li> <li> Updating the sub version (1.5x to 1.5x)</li> </ol> - <h2> Updating from NagVis 1.2 or lower </h2> + <h2>Upgrading from 1.3x or lower</h2> - There have been many changes to the internal structure of NagVis and the configuration values. The best way upgrading to the newest NagVis version is to set up the new version as new installation and migrate your maps/icons/configurations etc. manually. + <p>There have been many changes to the internal structure of NagVis and the configuration values.<br /> + The recommended way for upgrading to the latest NagVis version is to set up the new version as new + installation and migrate your maps/icons/configurations/... manually.</p> - You should take a look at the following things: + <p>You should take a look at the following places:</p> <ul> <li> Maps (etc/maps)<br /> @@ -38,12 +41,19 @@ You should <font style="color:#ff0000">not</font> copy that file. The best way is to copy the sample configuration of the new NagVis version to etc/nagvis.inc.php and merge the settings of your old installation manually to that file</li> </ul> - <h2> Updating from NagVis 1.3x </h2> - - Until you didn't change anything in the NagVis code of your installation you can easily copy the contents of the new package into the existing installation. - - The configuration files do not get replaced by the packages. <br> - - <font style="color:red">After the update, check your <a href="installation_instructions.html">permissions</a>.</font> + <h2>Updating from NagVis 1.4x</h2> + + <p>From NagVis 1.4x to NagVis 1.5x we changed a lot in the directory structure. + But in the newest NagVis version there is an installer script included for installing + NagVis. This script can also upgrade NagVis 1.4x versions and update 1.5x versions + to the latest 1.5x release.<br /> + So it is recommended to use this script (<code>install.sh</code>) distributed with the + newest NagVis version to upgrade your installation.</p> + + <p>It is possible to perform the 1.4x to 1.5x update manually too but it has not been + tested and documented by anyone. So if you like to update your installation manually + you will need to do some research.<br /> + Once you made some experiences in manual updating NagVis 1.4x to 1.5 please let us know + so that we can extend this documentation.</p> </body> </html> ------------------------------------------------------------------------------ _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
