1.6 KiB
1.6 KiB
Manubulon SNMP Plugins Installation
The plugins rely on the Net::SNMP
Perl library for fetching
data from SNMP enabled hosts.
Prerequisites
RHEL/CentOS EPEL Repository
RHEL/CentOS requires the EPEL repository:
yum -y install epel-release
yum makecache
If you are using RHEL you need enable the optional
repository and then install
the EPEL rpm package.
Perl Dependencies
Debian/Ubuntu:
apt-get -y install libnet-snmp-perl libcrypt-des-perl libcrypt-rijndael-perl libdigest-hmac-perl
RHEL/CentOS/Fedora:
yum -y install perl-Net-SNMP perl-Getopt-Long perl-Crypt-DES perl-Crypt-Rijndael perl-Digest-HMAC
Plugin Setup
Debian/Ubuntu:
install -o root -g root -m750 plugins/*.pl /usr/lib/nagios/plugins/
RHEL/CentOS/Fedora:
install -o root -g root -m750 plugins/*.pl /usr/lib64/nagios/plugins/
Proceed with inspecting the plugins --help
parameter in this chapter.
Next up: Integrate the plugins into your monitoring by adding configuration.
Advanced Hints
Perl, default directory and temp files location can be changed using the install.sh script.
utils.pm
from Monitoring::Plugin::Perl
is no longer required.