You may use these packages of compiled plugins for SSH-based monitoring on hosts that you want to monitor with GroundWork. These packages are for generic Linux hosts. Most Linux variants will work. All the required libraries and Perl modules are included.
To set up:
chmod +x installplugs32.sh
or
chmod +x installplugs64.sh
./installplugs32.sh nagios
or
./installplugs64.sh nagios
Assumptions:
Considerations:
This package installs all the libraries needed to run the plugins, as well as the plugins themselves. It also installs it's own copy of Perl, so if you add or modify these plugins, keep this in mind. Adding a Perl module to the system Perl, for example, will have no effect on plugins that reference the installation in /usr/local/groundwork.
The installer scripts have been updated to
The plugins are not current. A future update will include the latest and the version of perl that supports them.
You can choose a different user name than "nagios" if you set up the GroundWork services to use a different name. The profiles included with GroundWork monitor all use "nagios" by default. |
This is the install script (64-bit version):
#!/bin/bash if [ ! $1 ] ; then echo need username as an argument "./installplugs64.sh nagios" for example exit fi tar zxvf lin64plugs_2.1.tar.gz -C / if ! id $1 ; then useradd $1 fi chown -R $1.$1 /usr/local/groundwork mv /usr/local/groundwork/nagios.bashrc /home/$1/.bashrc ln -s /usr/local/groundwork/nagios/libexec /home/$1/libexec