private static void sendCrashSNMPTrap(String msg) {
        if (msg == null || msg.trim().isEmpty()) {
            return;
        }
        VoltDBInterface vdbInstance = instance();
        if (vdbInstance == null) {
            return;
        }
        SnmpTrapSender snmp = vdbInstance.getSnmpTrapSender();
        if (snmp == null) {
            return;
        }
        try {
            snmp.crash(msg);
        } catch (Throwable t) {
            VoltLogger log = new VoltLogger("HOST");
            log.warn("failed to issue a crash SNMP trap", t);
        }
    }
private static void sendCrashSNMPTrap ( String msg ) { if ( msg == null || msg . trim ( ) . isEmpty ( ) ) { return ; } VoltDBInterface vdbInstance = instance ( ) ; if ( vdbInstance == null ) { return ; } SnmpTrapSender snmp = vdbInstance . getSnmpTrapSender ( ) ; if ( snmp == null ) { return ; } try { snmp . crash ( msg ) ; } catch ( Throwable t ) { VoltLogger log = new VoltLogger ( "HOST" ) ; log . warn ( "failed to issue a crash SNMP trap" , t ) ; } }
send a SNMP trap crash notification
@param msg