Add error handling for snmp checks