[hobbit] Remote worker module?
Steve Cochran
scochran at univaud.com
Wed Apr 8 22:57:15 CEST 2009
Cari Hobbittini,
So, having dug into this a bit deeper, I see that the --net= argument to
the hobbitd_channel program appears to have never been implemented. At
least I don't see it in the source base anywhere for versions 4.2.0,
4.2.2 or 4.2.3. It's also not mentioned in the man pages that ship with
these versions. But it is in this version of the man page:
http://hobbitmon.sourceforge.net/docs/man8/hobbitd_channel.8.html
Is there something that I'm missing here? I'm planning to go ahead and
implement the --net= argument since I will need it to cover my own
scenario. I'd like to contribute the code back to the Hobbit/Xymon
source base, but wanted to check here first if either a) it has been
implemented somewhere and I'm just not looking in the right place or b)
there is a reason that it has not/should not be implemented.
Any help?
thanks,
steve
Steve Cochran wrote:
>
> (Sorry if these questions are already covered somewhere. I'm a
> newbie, and all of my searching didn't turn anything up.)
>
> I'm working on an integration with Hobbit for a client. They are
> using version 4.2.0. I need to be able to process incoming data on a
> server that is remote to the Hobbit server. I read in the
> hobbitd_channel man page that you can locate worker modules remotely
> by using the --net argument. Something like:
>
> bin/hobbitd_channel --channel=data
> --log=$BBSERVERLOGS/remote_data.log --net 10.10.4.67:12345
>
> should (I believe) send "data" messages to host 10.10.4.67 on port
> 12345. However when I try this, I just get error messages in my log
> saying:
>
> Our child has failed and will not talk to us: Channel data, PID 3251,
> cause Bad file descriptor
>
> (My remote client is, for now, just a netcat listener on the port. I
> can telnet to it, so I know that it's there and listening.)
>
> So my questions are:
>
> 1) Does this remote capability exist in version 4.2?
> 2) Are there any special requirements of the client such that a
> generic listener (like netcat) would provoke this error message?
> 3) Is there a sample (or real) worker module I could look at, that
> is capable of being remoted in this way? Or what's the remote
> equivalent of the get_hobbitd_message() function call?
>
> any insight or examples would be appreciated.
>
> thanks,
> steve
---------------------------------------------------------------------
Notice from Univa UD Postmaster:
This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. This message has been content scanned by the Univa UD Tumbleweed MailGate.
---------------------------------------------------------------------
More information about the Xymon
mailing list