Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66BE11016B for ; Tue, 17 Dec 2013 09:01:12 +0000 (UTC) Received: (qmail 60312 invoked by uid 500); 17 Dec 2013 09:01:11 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 60008 invoked by uid 500); 17 Dec 2013 09:01:07 -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 Delivered-To: moderator for dev@camel.apache.org Received: (qmail 14302 invoked by uid 99); 17 Dec 2013 08:30:58 -0000 X-ASF-Spam-Status: No, hits=4.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_SOFTFAIL,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of sunqunhu@gmail.com does not designate 216.139.236.26 as permitted sender) Date: Tue, 17 Dec 2013 00:30:31 -0800 (PST) From: Qunhu Sun To: dev@camel.apache.org Message-ID: In-Reply-To: References: <1387195776751-5744840.post@n5.nabble.com> Subject: Re: Can I use camel-nagios to get nagios's information when I send passive check through it? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_234921_326482.1387269031589" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_234921_326482.1387269031589 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks. what do you mean by "The message is received"? You mean nagios server can received my message ? Or I(camel-nagios) can receive the response message from the nagios server. I have already realized nagios server can received message through camel-nagios. 2013/12/17 Claus Ibsen-2 [via Camel] < ml-node+s465427n5744922h28@n5.nabble.com> > On Tue, Dec 17, 2013 at 2:19 AM, gigglesun <[hidden email]> > wrote: > > Thank you very much. I am wondering since camel-nagios can't get messag= e > > from the nagios server, how could a programmer know whether his\her > request > > has been successful execued and what is its result , In the other way , > > what's the purpose a programmer use camel-nagios ? > > > > To send alerts to nagios which is a monitoring solution. > > The message is received if you do not get any exception, if you use > sendSync=3Dtrue (which is the default). > > You can read more about jsendnsca > https://code.google.com/p/jsendnsca/ > > > > > > > > > > 2013/12/16 Willem.Jiang [via Camel] < > > [hidden email] > > > > >> camel-nagios is based on jsendnsca[1] which doesn=E2=80=99t support to= get the > >> response of nagios server. > >> [1]https://code.google.com/p/jsendnsca/ > >> > >> -- > >> Willem Jiang > >> > >> Red Hat, Inc. > >> Web: http://www.redhat.com > >> Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/= ) > > >> (English) > >> http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese) > >> Twitter: willemjiang > >> Weibo: =E5=A7=9C=E5=AE=81willem > >> > >> > >> > >> On December 16, 2013 at 8:19:26 PM, gigglesun ([hidden email]< > http://user/SendEmail.jtp?type=3Dnode&node=3D5744852&i=3D0>) > >> wrote: > >> > >> > > >> > In the instruction of camel-nagios,it says:"The Nagios component > >> > allows you > >> > to send passive checks to Nagios",I am not only to do so,bu also > >> > hope to get > >> > the corresponding results from nagios. > >> > > >> > I have tried the following xml,and it works: > >> > > >> > / > >> > > > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > uri=3D"nagios://192.168.0.167:5667?nagiosSettings=3D#nSettings" > >> > pattern=3D"InOut"/> > >> > > >> > > >> > > >> > / > >> > > >> > in the nagios server, I got the log like this: > >> > > >> > > >> > > >> > how can I get the result message:"HTTP WARNING: HTTP/1.1 403 > >> > Forbidden" etc. > >> > returned in the karaf screen or in the serviceMix's log file. > >> > Ths ^_^ > >> > > >> > > >> > > >> > -- > >> > View this message in context: > >> > http://camel.465427.n5.nabble.com/Can-I-use-camel-nagios-to-get-nagios-s-= information-when-I-send-passive-check-through-it-tp5744840.html > >> > >> > Sent from the Camel Development mailing list archive at Nabble.com. > >> > > >> > >> > >> > >> ------------------------------ > >> If you reply to this email, your message will be added to the > discussion > >> below: > >> > >> > http://camel.465427.n5.nabble.com/Can-I-use-camel-nagios-to-get-nagios-s-= information-when-I-send-passive-check-through-it-tp5744840p5744852.html > >> To unsubscribe from Can I use camel-nagios to get nagios's informatio= n > >> when I send passive check through it?, click here< > > >> . > >> NAML< > http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=3Dmacro_= viewer&id=3Dinstant_html%21nabble%3Aemail.naml&base=3Dnabble.naml.namespace= s.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.t= emplate.NodeNamespace&breadcrumbs=3Dnotify_subscribers%21nabble%3Aemail.nam= l-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.= naml> > > >> > > > > > > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/Can-I-use-camel-nagios-to-get-nagios-s-= information-when-I-send-passive-check-through-it-tp5744840p5744903.html > > > Sent from the Camel Development mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: [hidden email] > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > Make your Camel applications look hawt, try: http://hawt.io > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/Can-I-use-camel-nagios-to-get-nagios-s-= information-when-I-send-passive-check-through-it-tp5744840p5744922.html > To unsubscribe from Can I use camel-nagios to get nagios's information > when I send passive check through it?, click here > . > NAML > -- View this message in context: http://camel.465427.n5.nabble.com/Can-I-use-c= amel-nagios-to-get-nagios-s-information-when-I-send-passive-check-through-i= t-tp5744840p5744923.html Sent from the Camel Development mailing list archive at Nabble.com. ------=_Part_234921_326482.1387269031589--