|
|
|
@ -3,7 +3,7 @@ echo -e "------------ ${BLUE}CHECK SNMP BASIC CONFIG${NC} ------------"
|
|
|
|
|
echo -e "-------------------------------------------------\n"
|
|
|
|
|
|
|
|
|
|
# This does NOT check if SNMP 'monitoring server' has configured this machine
|
|
|
|
|
# Check /etc/snmp/snmpd.conf config file
|
|
|
|
|
# Check /etc/snmp/snmpd.conf config file agentAddress, rocommunity and trapsink/trap2sink parameters
|
|
|
|
|
echo -e "Check ${BLUE}SNMPD${NC} config file /etc/snmp/snmpd.conf"
|
|
|
|
|
|
|
|
|
|
# Check if agentAddress exist but different than expected (success if return code = 1)
|
|
|
|
|