add snmp environment check