Xymon Mailing List Archive search

Pulldata problems

list Francesco Duranti
Mon, 14 Aug 2006 17:52:32 +0200
Message-Id: <user-d3fe1b5f38a1@xymon.invalid>

Another little problem... If I define the pulldata=IP:Port without an IP it will use 0.0.0.0 as
the IP address to get data from also if i defined the host with the IP
Address:
10.1.1.1 machine #pulldata=:1985 Hobbitfetch will try to contact 0.0.0.0:1985 instead of 10.1.1.1:1985

-----Original Message-----
From: Francesco Duranti [mailto:user-7104dcecbfef@xymon.invalid] Sent: Monday, August 14, 2006 5:46 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Pulldata problems

Hi, I don't know if this is a bug report or just a work as intended with whom I've some problems..

I'm start using msgcache and pulldata, I've all of my  hosts in the bb-hosts file with 0.0.0.0 ip address so that I can define the ip in the /etc/hosts and use it for every application that need it.

I've 2 hosts with pulldata defined as:
0.0.0.0 itromwb13 # pulldata

and when hobbitfetch try to get the data it will try to use 0.0.0.0:1984 instead of resolving and using the hostname. It's possible to have the pulldata=ip:port accept also hostname or better than this if the ip address is 0.0.0.0 use the hostname defined in the bb-hosts instead of the ip address? 

Thanks