4.22. collectd::plugin::ntpd
使用 ntpd 插件查询配置为允许访问统计信息的本地 NTP 服务器,并检索有关配置的参数和时间同步状态的信息。
| 参数 | 类型 |
|---|---|
| 主机 | Hostname |
| port | 端口号(Integer) |
| reverselookups | 布尔值 |
| includeunitid | 布尔值 |
| interval | 整数 |
配置示例:
parameter_defaults:
CollectdExtraPlugins:
- ntpd
ExtraConfig:
collectd::plugin::ntpd::host: localhost
collectd::plugin::ntpd::port: 123
collectd::plugin::ntpd::reverselookups: false
collectd::plugin::ntpd::includeunitid: false
其他资源
-
有关配置
ntpd插件的详情,请参考 ntpd。