“By using JSend NSCA, you can easily integrate your Java applications into a Nagios monitored environment thereby notifying Nagios<http://www.nagios.com/#ref=BZErMl>/Icinga/Opsview of problems and issues during the running of your application.”[1], I think I have got it, camel-nagios didn't care about the passive check result, the result is displayed in the nagios's web console. What camel-nagios do is to trigger a special check on nagios,nagios then excute the check. [1] https://code.google.com/p/jsendnsca/
2013/12/17 Johan Edstrom-2 [via Camel] < ml-node+s465427n5744906...@n5.nabble.com> > Same purpose as sending udp would have in networking. > > Sent from my pressure cooker. > > On Dec 16, 2013, at 18:19, gigglesun <[hidden > email]<http://user/SendEmail.jtp?type=node&node=5744906&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 ? > > > > > > 2013/12/16 Willem.Jiang [via Camel] < > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5744906&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. > > > ------------------------------ > 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-tp5744840p5744906.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-tp5744840p5744909.html Sent from the Camel Development mailing list archive at Nabble.com.