package com.njcn.gather.systemmonitor.disk.constant;

/**
 * 磁盘监控模块常量。
 */
public interface DiskMonitorConstant {

    String DEFAULT_POLICY_NAME = "默认磁盘监控策略";
    String DEFAULT_DAILY_RUN_TIME = "08:30:00";
    String WARNING_NOTIFY_MODE_STATUS_CHANGE = "STATUS_CHANGE";
    String ALARM_NOTIFY_MODE_EVERY_TIME = "EVERY_TIME";

    String STATUS_UNKNOWN = "UNKNOWN";
    String STATUS_NORMAL = "NORMAL";
    String STATUS_WARNING = "WARNING";
    String STATUS_ALARM = "ALARM";

    String JOB_SOURCE_APP_START = "APP_START";
    String JOB_SOURCE_DAILY_SCHEDULE = "DAILY_SCHEDULE";
    String JOB_SOURCE_MANUAL = "MANUAL";

    String JOB_STATUS_RUNNING = "RUNNING";
    String JOB_STATUS_SUCCESS = "SUCCESS";
    String JOB_STATUS_PARTIAL_SUCCESS = "PARTIAL_SUCCESS";
    String JOB_STATUS_FAILED = "FAILED";

    String NOTIFY_REASON_ALARM_EVERY_TIME = "ALARM_EVERY_TIME";
    String NOTIFY_REASON_STATUS_CHANGED = "STATUS_CHANGED";
    String NOTIFY_REASON_NO_NOTIFY = "NO_NOTIFY";

    String NOTIFY_LEVEL_WARNING = "WARNING";
    String NOTIFY_LEVEL_ALARM = "ALARM";
    String NOTIFY_LEVEL_RECOVER = "RECOVER";

    String CHANNEL_TYPE_PATH = "PATH";
    String CHANNEL_TYPE_HTTP = "HTTP";

    String SEND_STATUS_SUCCESS = "SUCCESS";
    String SEND_STATUS_FAILED = "FAILED";

    String HTTP_METHOD_POST = "POST";
    int DEFAULT_HTTP_TIMEOUT_MS = 5000;
}
