Installation

Prerequisites

Please make sure you have all the prerequisites installed on your system:

Installing the Plugin

If you have not already done so, please download the latest version of the WebReboot® Nagios® plugin. Once you have downloaded it, unpack the file like so: tar -zxvf webreboot-nagios-plugin-latest.tar.gz Inside the resulting webreboot-nagios-plugin directory, you will find a file named install.sh. Before executing this file, you must modify some configuration values. These values are used to indicate where the plugin should be installed and are particular to your Nagios installation path. vi webreboot-nagios-plugin/install.sh The configuration values are:

Name: NAGIOS_PLUGIN_DIR
Description: Fully specifed path to your Nagios plugins installation directory.
Default value: '/usr/lib/nagios/plugins'
Name: NAGIOS_CONFIG_DIR
Description: Fully specified path to you Nagios configuration files directory. If your Nagios configuration does not load other configuration files by directory, then specify a temporary directory to store the WebReboot Nagios plugin configuration file.
Default value: '/etc/nagios-plugins/config'
and
Name: NAGIOS_USER
Description: Username that the Nagios process will run as. The plugin installation directory must be owned by this user. Failure to set this property properly could result in the plugin failing to run or may lead to a leak of WebReboot connection information, including usernames and passwords.
Default value: 'nagios'
Once you have modified the values as appropriate, you can execute the installer: ./webreboot-nagios-plugin/install.sh The installer does not require elevated priviliges per se, but if your user account does not have permissions to access the Nagios installation directories, then you will need to run the script with an account that does.

At this point, the installation is complete. You can now move onto configuration.