Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Camel provides two abilities with the Nagios component. You can send passive check messages by sending a message to its endpoint.
Camel also provides a EventNotifer which allows you to send notifications to Nagios.

Options

Div
classconfluenceTableSmall
Wiki Markup
{div:class=confluenceTableSmall} || Name || Default Value || Description || | {{host}} | none | This is the address of the [Nagios] host where checks should be send. | | {{port}} | | The port number of the host. | | {{password}} | | Password to be authenticated when sending checks to Nagios. | | {{connectionTimeout}} | 5000 | Connection timeout in millis. | | {{timeout}} | 5000 | Sending timeout in millis. | | {{nagiosSettings}} | | To use an already configured {{

Name

Default Value

Description

host

none

This is the address of the Nagios host where checks should be send.

port

 

The port number of the host.

password

 

Password to be authenticated when sending checks to Nagios.

connectionTimeout

5000

Connection timeout in millis.

timeout

5000

Sending timeout in millis.

nagiosSettings

 

To use an already configured

com.googlecode.jsendnsca.core.NagiosSettings

}}

object.

Then

any

of

the

other

options

are

not

in

use,

if

using

this.

| | {{sendSync}} | {{true}} | Whether or not to use synchronous when sending a passive check. Setting it to {{false}} will allow Camel to continue routing the message and the passive check message will be send asynchronously. | | {{encryptionMethod}} | {{No}} | *Camel 2.9:* To specify an encryption method. Possible values: {{No}}, {{Xor}}, or {{TripleDes}}. | {div}

Headers

sendSync

true

Whether or not to use synchronous when sending a passive check. Setting it to false will allow Camel to continue routing the message and the passive check message will be send asynchronously.

encryptionMethod

No

Camel 2.9: To specify an encryption method. Possible values: No, Xor, or TripleDes.

Headers

Div
classconfluenceTableSmall

Name

Description

CamelNagiosHostName

This is the address of the Nagios host where checks should be send. This header will override any existing hostname configured on the endpoint.

CamelNagiosLevel

This is the severity level. You can use values CRITICAL, WARNING, OK. Camel will by default use OK.

CamelNagiosServiceName

The servie name. Will default use the CamelContext name.

Wiki Markup
{div:class=confluenceTableSmall} || Name || Description || | {{CamelNagiosHostName}} | This is the address of the [Nagios] host where checks should be send. This header will override any existing hostname configured on the endpoint. | | {{CamelNagiosLevel}} | This is the severity level. You can use values {{CRITICAL, WARNING, OK}}. Camel will by default use {{OK}}. | | {{CamelNagiosServiceName}} | The servie name. Will default use the [CamelContext] name. | {div}

Sending message examples

You can send a message to Nagios where the message payload contains the message. By default it will be OK level and use the CamelContext name as the service name. You can overrule these values using headers as shown above.

...