Update Manager

 

The WebNMS SNMP API comes with several tools and utilities which will be useful for the developers. WebNMS periodically provides service packs or patches which fix certain bugs and update some HTML files related to documentation. These patch files can be downloaded from the WebNMS Web Site and updated with the base release.

 

During the installation of a patch, the corresponding files related to bug fixes are updated in the product installation directory. The Update Manager asks for the installation directory. By default, the current working directory is displayed on the text area. It also gives the information of the current version of the patch installed. Every version contains the bug fixes of the previous version.

 

To invoke Update Manager, you need to run the UpdateManager.bat (Windows) or UpdateManager.sh (Unix) file in the <WebNMS/SNMPAPI/bin> directory.

 

The Update Manager provides a feature wherein the user can query the patch file or a previous version. On doing this, the user can see the names of the files inside the patch file. WebNMS Update Manager can be invoked

 

updatemgr.jpg

 

The main features of the Update Manager are as follows.

1. Installing WebNMS's Patch

  1. Select the radio button Install the patch and click Next.

  2. Give the patch files (*.ppm) or click the Browse button to choose the patch files.

  3. Click Install to install the patch or click Query to see the contents of the patch file.

updatemgr_install.jpg

 

2. Reverting to Previous Versions

  1. Select the radio button "Revert to Previous Version" and click Next.

  2. Select the previous patch version from the list box.

  3. Click Revert to revert to the version selected in the combo box or click Query to see the files of the previous versions installed.

patchmanagerrevert.jpg

 

3. Querying WebNMS's Patch File or Any Previously Installed Versions

  1. Select the radio button "Query Patch Version" and click Next.

  2. If you want to get information regarding a patch file,

  3. To get the information regarding previous version,

updatemgr_query.jpg

 

note.jpg

The GetSnmpReleaseVersion class is used to print the release version of the product. To print the version, set the classpath to AdventNetSnmp.jar and AdventNetLogging.jar and execute the following command.

 

java GetSnmpReleaseVersion

 

The above command prints the product's release version along with the version of the service pack applied, if any.

 



Copyright © 2012, ZOHO Corp. All Rights Reserved.