Xymon Mailing List Archive search

query message : hobbit protocol question

list Etienne Grignon
Fri, 17 Feb 2006 18:37:06 +0100
Message-Id: <user-dd094562f3dc@xymon.invalid>

well,

a shutdown(conn, 1) between the send and the recv was the solution :)


2006/2/17, Asif Iqbal <user-c8222abeff59@xymon.invalid>:
On Fri, Feb 17, 2006 at 05:51:09PM, Etienne Grignon wrote:
Henrik,

I'm having problems to implement query message.

I'm sending the message bellow to the socket :

query myserver.cpu
bb hobbitserverip "query server.fqdn.com.cpu"
Then, on the recv call, I get nothing. Then, the socket seems to be
closed
after somes seconds.

Is it the right syntax ? or is there a way to find what's going on on
the
server at this moment ?

It is done against hobbit 4.1.1

Thank you for your help,


Etienne
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the
credit...try
to be in the first group;...less competition there."  - Indira Gandhi

--
Etienne GRIGNON