diff --git a/tests/p_net-snmp/0-install_snmpd.sh b/tests/p_net-snmp/0-install_snmpd.sh index 8cf63be..413c167 100755 --- a/tests/p_net-snmp/0-install_snmpd.sh +++ b/tests/p_net-snmp/0-install_snmpd.sh @@ -1,10 +1,10 @@ #!/bin/bash # Author: Christoph Galuschka -t_Log "Running $0 - attempting to install net-snmp" +t_Log "Running $0 - attempting to install net-snmp, net-snmp-utils" -# Install net-snmp -t_InstallPackage net-snmp +# Install net-snmp and net-snmp-utils +t_InstallPackage net-snmp net-snmp-utils # start daemon with default settings t_ServiceControl snmpd start diff --git a/tests/p_net-snmp/snmpv1_test.sh b/tests/p_net-snmp/snmpv1_test.sh index 8931d71..4c59649 100755 --- a/tests/p_net-snmp/snmpv1_test.sh +++ b/tests/p_net-snmp/snmpv1_test.sh @@ -3,8 +3,6 @@ t_Log "Running $0 - snmpv1 test" -t_InstallPackage net-snmp-utils - snmpwalk -v 1 -c public 127.0.0.1 > /dev/null 2>&1 t_CheckExitStatus $? diff --git a/tests/p_net-snmp/snmpv2c_test.sh b/tests/p_net-snmp/snmpv2c_test.sh index 35f9779..1de9f7d 100755 --- a/tests/p_net-snmp/snmpv2c_test.sh +++ b/tests/p_net-snmp/snmpv2c_test.sh @@ -4,8 +4,6 @@ t_Log "Running $0 - snmpv2c test" -t_InstallPackage net-snmp-utils - snmpwalk -v 2c -c public 127.0.0.1 > /dev/null 2>&1 t_CheckExitStatus $? diff --git a/tests/p_net-snmp/snmpv3_test.sh b/tests/p_net-snmp/snmpv3_test.sh index 5328744..3628564 100755 --- a/tests/p_net-snmp/snmpv3_test.sh +++ b/tests/p_net-snmp/snmpv3_test.sh @@ -4,8 +4,6 @@ t_Log "Running $0 - snmpv3 test" -t_InstallPackage net-snmp-utils - # Make Backup of snmpd.conf and add V3-settings /bin/cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig echo 'rouser centosro' >> /etc/snmp/snmpd.conf