Hi,
Yes, I will gladly contribute in a few weeks, but now I have to finish a
project and I want to get it working first.
I solved the socket issue I mentioned earlier, it was from the firewall.
Now I have this Spring code:
<camel:route>
<camel:from uri="file:path/input/Nagios?noop=true" />
<camel:convertBodyTo type="java.lang.String"/>
<camel:multicast>
<camel:pipeline>
<camel:to uri="stream:out" />
</camel:pipeline>
<camel:pipeline>
<camel:to
uri="nagios://nagHost:5667?password=secret" />
</camel:pipeline>
</camel:multicast>
</camel:route>
The text in the file is going in the output stream, but I don't see it in
the Nagios log. There is no error complaining that the message is not
transmitted to Nagios. When I saw this, I changed the Nagios port to
something else. It gave an error, so it is trying to connect to Nagios. Then
I changed the port to the correct one, there was no more error, but again,
the message is still not being transmitted to Nagios. Please, let me know
what's wrong with this case.
Thank you,
Tereza
--
View this message in context:
http://camel.465427.n5.nabble.com/Sending-Nagios-Passive-Checks-from-Spring-HowTo-tp4694564p4702782.html
Sent from the Camel - Users mailing list archive at Nabble.com.