I'm not allowed to compile anything on the client host, but would like to run a xymon/bb client there.
It appears that I can use netcat to send plain text, as in:
#---------------
D=date
cat << EOF | nc myserver.com 1984
status myclient,com.mycolumn green $D
MyColumn status: All is OK: If you can read this, then the script works.
EOF #---------------
I added a column to the bb-hosts, and ran the script locally sending data to localhost, and the mycolumn indicator shows up properly.
However, I can't get data from the real client to show up in xymon. I've added the proper firewall rules, and wireshark shows the proper data over the connection.
Is there something in xymon that only accepts data from certain hosts? If so, does xymon always allow 127.0.0.1/localhost?
The tips page says to look at the hobbitd indicator for a report about unknown hosts, but I don't see anything there. Is that the Ghost Clients report? I don't see anything there either.
Is there a log file that shows why xymon rejected input?
Thanks,
Wendell
On Fri, May 22, 2009 at 08:25:36AM -0700, Wendell Turner wrote:
I'm not allowed to compile anything on the client host, but would like to run a xymon/bb client there.
It appears that I can use netcat to send plain text, as in:
Nevermind. It turns out that the ISP had an old version of nc that didn't work very well. I switched the script over to python and it works fine.
Wendell
Re: Wendell Turner 2009-05-22 <20090522215559.GA27007 at q.rho.net>
It appears that I can use netcat to send plain text, as in:
Nevermind. It turns out that the ISP had an old version of nc that didn't work very well. I switched the script over to python and it works fine.
A note on that one, the bb protocol needs shutdown() called for the sending file descriptor to fully work correctly. Different nc versions handle that differently, some work, some don't.
Christoph
cb at df7cb.de | http://www.df7cb.de/
participants (2)
-
cb@df7cb.de
-
wendell@enflight.com