我有Icinga2和icingaweb2 (带控制器)都在Centos上设置得很好,,,我可以写一个bash脚本来自动注册其他主机(centos和Linux),由这个IcingaWeb监控……但现在我希望有Windows客户端被监控为well..follow L https://www.linuxtechi.com/add-remote-linux-windows-host-icinga-2-monitoring/...但当我尝试的时候,我一直从主机那里得到错误,如下所示:
[2018-07-20 09:48:55 +0000] information/JsonRpcConnection: Received certificate request for CN 'client.domain' signed by our CA.
[2018-07-20 09:48:55 +0000] information/JsonRpcConnection: The certificate for CN 'client.domain' cannot be renewed yet.
[2018-07-20 09:49:55 +0000] warning/JsonRpcConnection: API client disconnected for identity 'client.domain'
[2018-07-20 09:50:30 +0000] information/ApiListener: New client connection for identity 'client.domain' from [10.2.13.227]:56826 (certificate validation failed: code 18: self signed certificate)
[2018-07-20 09:50:30 +0000] information/JsonRpcConnection: Received certificate request for CN 'client.domain' not signed by our CA.
[2018-07-20 09:50:30 +0000] information/JsonRpcConnection: Sending certificate response for CN 'client.domain' to endpoint 'client.domain' (auto-signing ticket).
[2018-07-20 09:50:30 +0000] warning/JsonRpcConnection: API client disconnected for identity 'client.domain'
[2018-07-20 09:50:38 +0000] information/ApiListener: New client connection for identity 'client.domain' from [10.2.13.227]:56843 (no Endpoint object found for identity)
[2018-07-20 09:50:38 +0000] information/JsonRpcConnection: Received certificate request for CN 'client.domain' signed by our CA.
[2018-07-20 09:50:38 +0000] information/JsonRpcConnection: The certificate for CN 'client.domain' cannot be renewed yet.我怀疑证书上的问题,但我不知道如何修复。
下面是client.domain日志:
[2018-07-20 10:13:33 -0000] warning/JsonRpcConnection: API client disconnected for identity 'master.domain'
[2018-07-20 10:13:33 -0000] warning/JsonRpcConnection: API client disconnected for identity 'master.domain'
[2018-07-20 10:13:33 -0000] warning/ApiListener: Removing API client for endpoint 'master.domain'. 0 API clients left.
[2018-07-20 10:13:33 -0000] warning/ApiListener: Removing API client for endpoint 'master.domain'. 0 API clients left.
[2018-07-20 10:17:57 -0000] information/ApiListener: Adding new listener on port '5665'
[2018-07-20 10:17:57 -0000] information/CheckerComponent: 'checker' started.
[2018-07-20 10:17:57 -0000] information/ConfigItem: Activated all objects.
[2018-07-20 10:18:06 -0000] information/WorkQueue: #5 (ApiListener, SyncQueue) items: 0, rate: 0/s (0/min 0/5min 0/15min);
[2018-07-20 10:18:06 -0000] information/WorkQueue: #4 (ApiListener, RelayQueue) items: 0, rate: 0.183333/s (11/min 11/5min 11/15min);
[2018-07-20 10:22:57 -0000] information/ConfigObject: Dumping program state to file 'C:\ProgramData\icinga2\var/lib/icinga2/icinga2.state'
[2018-07-20 10:23:06 -0000] information/WorkQueue: #5 (ApiListener, SyncQueue) items: 0, rate: 0/s (0/min 0/5min 0/15min);
[2018-07-20 10:23:06 -0000] information/WorkQueue: #4 (ApiListener, RelayQueue) items: 0, rate: 0.5/s (30/min 152/5min 152/15min);
[2018-07-20 10:27:57 -0000] information/ConfigObject: Dumping program state to file 'C:\ProgramData\icinga2\var/lib/icinga2/icinga2.state'
[2018-07-20 10:28:06 -0000] information/WorkQueue: #4 (ApiListener, RelayQueue) items: 0, rate: 0.5/s (30/min 150/5min 302/15min);
[2018-07-20 10:28:06 -0000] information/WorkQueue: #5 (ApiListener, SyncQueue) items: 0, rate: 0/s (0/min 0/5min 0/15min);
[2018-07-20 10:32:57 -0000] information/ConfigObject: Dumping program state to file 'C:\ProgramData\icinga2\var/lib/icinga2/icinga2.state'
[2018-07-20 10:33:06 -0000] information/WorkQueue: #5 (ApiListener, SyncQueue) items: 0, rate: 0/s (0/min 0/5min 0/15min);
[2018-07-20 10:33:06 -0000] information/WorkQueue: #4 (ApiListener, RelayQueue) items: 0, rate: 0.5/s (30/min 150/5min 452/15min);
[2018-07-20 10:37:57 -0000] information/ConfigObject: Dumping program state to file 'C:\ProgramData\icinga2\var/lib/icinga2/icinga2.state'
[2018-07-20 10:38:06 -0000] information/WorkQueue: #4 (ApiListener, RelayQueue) items: 0, rate: 0.5/s (30/min 144/5min 444/15min);
[2018-07-20 10:38:06 -0000] information/WorkQueue: #5 (ApiListener, SyncQueue) items: 0, rate: 0/s (0/min 0/5min 0/15min);如你所见..似乎主日志只有一个问题..那么有什么建议吗?
发布于 2018-08-01 18:07:21
所有..。我得到了最新消息..现在这个问题不仅仅发生在Window上了..现在随着Centos7上的新注册,我也收到了这个错误-->日志: 2018-08-01 09:15:12 +0000信息/ApiListener:正在发送端点‘dev-石墨-1a-0.acommercedev.platform’的重播日志,该端点位于‘dev-石墨-1a-0.acommercedev.platform’区域。2018-08-01 09:15:12 +0000 information/ApiListener:已完成发送终结点‘dev- zone 1a-0.acommercedev.platform’的重播日志,该端点位于区域‘dev-zone 1a-0.acommercedev.platform’中。2018-08-01 09:15:12 +0000 information/ApiListener:已完成同步‘dev-graphite 1a-0.acommercedev.platform’区域中的终结点‘dev- zone 1a-0.acommercedev.platform’。2018-08-01 09:16:14 +0000 information/JsonRpcConnection:在最近60秒内,没有收到标识‘dev- have 1a-0.acommercedev.platform’的消息。2018-08-01 09:16:14 +0000警告/JsonRpcConnection:标识为‘dev-graphite 1a-0.acommercedev.platform’2018-08-01 09:16:14 +0000警告的API客户端断开连接/JsonRpcConnection:标识为‘dev-graphite 1a-0.acommercedev.platform’2018-08-01 09:16:14 +0000警告的API客户端断开连接/ApiListener:正在删除终结点‘dev-graphite 1a-0.acommercedev.platform’的API客户端。剩下0个API客户端。2018-08-01 09:16:14 +0000 warning/ApiListener:正在删除终结点‘dev-2018 1a-0.acommercedev.platform’的API客户端。剩下0个API客户端。
我的主API有问题吗?
https://stackoverflow.com/questions/51440755
复制相似问题