/** * Sets a TTL service check to "passing" state with a note */ public void pass(String serviceId, String note) throws NotRegisteredException { checkTtl(serviceId, State.PASS, note); }
/** * Sets a TTL service check to "critical" state. */ public void fail(String serviceId) throws NotRegisteredException { checkTtl(serviceId, State.FAIL, null); }
/** * Sets a TTL service check to "passing" state */ public void pass(String serviceId) throws NotRegisteredException { checkTtl(serviceId, State.PASS, null); }
/** * Sets a TTL service check to "critical" state with a note. */ public void fail(String serviceId, String note) throws NotRegisteredException { checkTtl(serviceId, State.FAIL, note); }
/** * Sets a TTL service check to "warning" state. */ public void warn(String serviceId) throws NotRegisteredException { checkTtl(serviceId, State.WARN, null); }
/** * Sets a TTL service check to "warning" state with a note. */ public void warn(String serviceId, String note) throws NotRegisteredException { checkTtl(serviceId, State.WARN, note); }