Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 35017 invoked from network); 14 Jan 2010 05:03:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jan 2010 05:03:08 -0000 Received: (qmail 94063 invoked by uid 500); 14 Jan 2010 05:03:08 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 93881 invoked by uid 500); 14 Jan 2010 05:03:06 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 93869 invoked by uid 500); 14 Jan 2010 05:03:05 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 93863 invoked by uid 99); 14 Jan 2010 05:03:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 05:03:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 05:03:04 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B0492234C1F0 for ; Wed, 13 Jan 2010 21:02:44 -0800 (PST) Message-ID: <1377384304.1121263445364720.JavaMail.jira@brutus.apache.org> Date: Thu, 14 Jan 2010 05:02:44 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-2347) create a Nagios endpoint to allow the sending of alerts to the Nagios monitoring system In-Reply-To: <2054781682.5371263206003207.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/CAMEL-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56895#action_56895 ] Claus Ibsen commented on CAMEL-2347: ------------------------------------ Raj thanks a lot for the 1.3 release and applying those patches so quickly. Lets push this for Camel 2.2 then. Do you mind creating a release with the -test .jar also? We need this test jar to unit test camel-nagios. Note: However I can create the test jar as well but I do fell it would be best if it was part of the official release. > 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.2.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.