文档
注册

MEF Center配置和查询证书过期告警

MEF Center支持配置和查询第三方管理平台的根证书、软件仓证书和镜像仓证书。

配置证书过期告警

MEF Center支持配置证书过期告警时间阈值和检测周期。

  1. 以root用户登录MEF Center设备环境。
  2. 执行以下命令,进入run.sh所在路径,默认安装目录“/usr/local”
    cd 安装路径/MEF-Center/mef-center
  3. 执行以下命令,配置证书过期告警时间阈值和检测周期。
    ./run.sh alarmconfig -cert_threshold=证书告警过期时间阈值 -cert_period=证书告警检测周期
    表1 alarmconfig参数说明

    参数

    说明

    cert_threshold

    可选。证书告警过期时间阈值,取值范围[7, 180],默认值为90。

    cert_period

    可选。证书告警检测周期,取值范围[1, 证书告警过期时间阈值-3],默认值为7。

    回显示例如下表明配置成功。
    update alarm config successful
  4. 启动或重启MEF Center后生效。

查询证书过期告警

MEF Center支持查询证书过期告警时间阈值和检测周期。

  1. 以root用户登录MEF Center设备环境。
  2. 执行以下命令,进入run.sh所在路径,默认安装目录“/usr/local”
    cd 安装路径/MEF-Center/mef-center
  3. 执行以下命令,查询证书过期告警时间阈值和检测周期。
    ./run.sh getalarmconfig
    回显示例如下表明查询成功,返回当前证书的过期告警时间阈值(cert_threshold)和检测周期(cert_period)。
    cert_period is [1], the unit is day
    cert_threshold is [90], the unit is day
    get alarm config successful
搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词