第 238 章 Nagios 组件
从 Camel 版本 2.3 开始提供
Maven 用户需要将以下依赖项添加到这个组件的 pom.xml
中:
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-nagios</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency>
238.1. URI 格式
nagios://host[:port][?Options]
Camel 通过 Nagios 组件提供两个功能。您可以通过向其端点发送消息来发送被动检查消息。
Camel 还提供了一个 EventNotifer,允许您向 Nagios 发送通知。