public Long getAgentServiceCheckTaskTimeout() {
    String value = getProperty(AGENT_SERVICE_CHECK_TASK_TIMEOUT);
    if (StringUtils.isNumeric(value)) {
      return Long.parseLong(value);
    } else {
      LOG.warn("Value of {} ({}) should be a number, falling back to default value ({})",
        AGENT_SERVICE_CHECK_TASK_TIMEOUT.getKey(), value, AGENT_SERVICE_CHECK_TASK_TIMEOUT.getDefaultValue());
      return AGENT_SERVICE_CHECK_TASK_TIMEOUT.getDefaultValue();
    }
  }
@return overridden service check task timeout in seconds. This value
        is used at python (agent) code.
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java