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+s465427n5744922...@n5.nabble.com> > On Tue, Dec 17, 2013 at 2:19 AM, gigglesun <[hidden > email]<http://user/SendEmail.jtp?type=node&node=5744922&i=0>> > wrote: > > Thank you very much. I am wondering since camel-nagios can't get message > > 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=true (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] <http://user/SendEmail.jtp?type=node&node=5744922&i=1>> > > > >> camel-nagios is based on jsendnsca[1] which doesn’t 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: 姜宁willem > >> > >> > >> > >> On December 16, 2013 at 8:19:26 PM, gigglesun ([hidden email]< > http://user/SendEmail.jtp?type=node&node=5744852&i=0>) > >> 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="nagios://192.168.0.167:5667?nagiosSettings=#nSettings" > >> > pattern="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 information > >> when I send passive check through it?, click here< > > >> . > >> NAML< > http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-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]<http://user/SendEmail.jtp?type=node&node=5744922&i=2> > 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<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5744840&code=c3VucXVuaHVAZ21haWwuY29tfDU3NDQ4NDB8OTg2NjI0MjU2> > . > NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-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-tp5744840p5744923.html Sent from the Camel Development mailing list archive at Nabble.com.