Upgrading
These steps assume that you already have a working Check WMI Plus.
Once you have downloaded the version you want to upgrade to follow these high level steps to apply the upgrade.
- Check the Change Log to look for any changes that may impact the way you use Check WMI Plus. The Change Log may also note any special requirements for an upgrade.
- Take a backup of your current Check WMI Plus installation and configuration
- Untar the new version into a temporary folder using something like
cd [FOLDER]
tar xzvf [TARFILE]
- Take a look at check_wmi_plus.conf.sample to see if you need to make any changes to your check_wmi_plus.conf.
- Move the etc directory to /etc (Make sure they are all readable and writable by the Nagios user)
- Move the files in the top level of the FOLDER to the directory that you will execute them from eg /usr/local/bin
- Done!
Preserving Your Existing Configuration
The upgrade method above will overwrite any ini files that are included in the release version.
When you create your own ini file checks you should create your own ini files. This way your checks will not be overwritten during the upgrade process. To ensure that there is never an ini file name clash you may want to prefix your ini files with something that will be unique to you eg your company name, a random number etc.
Historical Performance Data
Some upgrades change the performance data that is returned. This may result in the performance data history eg graphs being lost.