... Assumptions: # You may have the user nagios or other created. Script accommodates. Assumes /home is the location. # You have enough disk space to store the plugins and libraries (about 80 MB) # Your installed Linux uses bash, and has paths that are compatible with GroundWork. 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 # test that you supplied a username # not add the user if it exists # unpack the tar into the /usr/local/groundwork location # make a link in the user home directory to the plugins location The plugins are not current. A future update will include the latest and the version of perl that supports them. {note:title:Note:} 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. {note} This is the install script (64-bit version): {code} #!/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{code} {attachments}
|