You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/01/13 10:57:44 UTC

[jira] Updated: (CAMEL-2347) create a Nagios endpoint to allow the sending of alerts to the Nagios monitoring system

     [ https://issues.apache.org/activemq/browse/CAMEL-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-2347:
-------------------------------

    Fix Version/s:     (was: 2.2.0)
                   2.3.0

This requires a new release of the Nagios library which may not make it in the timeframe for Camel 2.2 so I have pushed this to 2.3

> create a Nagios endpoint to allow the sending of alerts to the Nagios monitoring system
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2347
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2347
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>
> here's more information on the jsendnsca library that lets you send alerts to Nagios...
> http://code.google.com/p/jsendnsca/
> An endpoint could then create one of these...
> {code}
>         NagiosSettings nagiosSettings = NagiosSettingsBuilder
>             .withNagiosHost("localhost")
>             .withPort(5667)
>             .withConnectionTimeout(5000)
>             .withResponseTimeout(15000)
>             .withPassword("password")
>             .create();
> {code}
> then a Producer would just wrap the Nagios sender...
> {code}
>         NagiosPassiveCheckSender sender = new NagiosPassiveCheckSender(
>                 nagiosSettings);
> {code}
> Then the MessagePayload could be passed as a payload; or could be created using the text of the payload using optional headers...
> {code}
>         MessagePayload payload = MessagePayloadBuilder
>             .withHostname("localhost")
>             .withLevel(Level.CRITICAL)
>             .withServiceName("Test Service Name")
>             .withMessage("Test Message")
>             .create();
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.