1. Download dos Plugins SNMP
# mkdir /opt/Nagios
# cd /opt/Nagios
# wget http://nagios.manubulon.com/nagios-plugins-snmp-0.6.0.tgz
# wget http://nagios.manubulon.com/nagios-snmp-plugins.1.1.1.tgz
# wget http://nagios.manubulon.com/nagios-plugins-snmp-extras-1.1-1.noarch.rpm
# wget -O check_snmp_traffic.py http://checksnmptraffic.googlecode.com/files/check_snmp_traffic
# wget -O check_snmp_traffic "http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=1816&cf_id=24"
2. Solving Dependencies
# yum -y install net-snmp net-snmp-utils
3. Installing Plugins - from src
#
# cd /opt/Nagios
# tar zxvf nagios-plugins-snmp-0.6.0.tgz
# cd /opt/Nagios/nagios-plugins-snmp
#
#
# cd /opt/Nagios
# tar -zxvf nagios-snmp-plugins.1.1.1.tgz
# cd /opt/Nagios/nagios_plugins
# ./install.sh
#
#
# cd /opt/Nagios
# chmod +x check_snmp_traffic.py
# chown nagios:nagios check_snmp_traffic.py
# mv check_snmp_traffic.py /usr/local/nagios/libexec
# chmod +x check_snmp_traffic
# chown nagios:nagios check_snmp_traffic
# mv check_snmp_traffic /usr/local/nagios/libexec
#
Nenhum comentário:
Postar um comentário