The only place it's going to fail to install would be in this section:
echo ""
echo "+=============================================================================="
echo "| Testing SNMP by listing mounts, /boot should be present"
echo "+=============================================================================="
echo ""
printf "snmpwalk -v 2c localhost -c public hrFSMountPoint\n"
results=$(snmpwalk -v 2c localhost -c public hrFSMountPoint 2>&1) || printf "snmpwalk failure"
if [[ "$results" =~ "/boot" ]]
then
echo "SNMP appears to be working. Output:"
echo "$results"
else
echo "Couldn't find /boot mount point. SNMP output:"
echo "$results"
exit 1
fi
and that is because of the exit 1
My surmise is that for those users where it fails is because the network is not up and initialized yet, so localhost doesn't actually exist.
A plugin cannot make the assumption that the network actually exists or is initialized at plugin installation time, because it really depends upon the hardware, networking gear etc.
For those users who have problems with this a reinstall, the simple way to determine if it's because of networking being down is to simply delete all the .txz's from /boot/config/plugins/snmp but ensure the folder and the .plg still exists in /config/plugins.
On a reboot if I'm right it'll fail to download the .txz's