[collectd] FQDN on CentOS/RH boxes.

Poil poil at quake.fr
Thu May 3 19:13:46 CEST 2012


oO

/etc/hosts:
On redhat it's
127.0.0.1  localhost.localdomain   localhost
So it's the same for the extIP
XXX.XXX.XXX.XXX fqdn shortname

On Ubuntu the hostname is set in /etc/hostname (must be the short name)
On Redhat the hostname is set in /etc/sysconfig/network (must be the fqdn)

best regards

Le 03/05/2012 18:00, Jeremy MAURO a écrit :
> Hi,
>
> this could be due to the file /etc/hosts:
>
>     On debian/Ubuntu the format is as follow:
>     127.0.0.1       localhost
>     127.0.1.1       fqdn <Short Name>
>
>
> On Redhat/Centos the format could be very different but it should be:
>
>     127.0.0.1               localhost.localdomain   localhost
>     XXX.XXX.XXX.XXX         shortname    fqdn
>
>
> So make sure the fqdn is first and problem is gone :D
>
>
>
>
>
> Cordialement,
> JM
> On 04/30/12 18:39, Josh Behrends wrote:
>> I'm testing out collectd 5.1.0 on both CentOS 6.2 and Ubuntu boxes in 
>> my enviornment.  I've setup collectd to send metrics to our graphite 
>> server.  All seems to be working well with the exception of one 
>> thing.  On our CentOS boxes collectd is sending the servers FQDN vs 
>> the short name.  This doesn't happen on our ubuntu boxes.  I've made 
>> sure the FQDNLookup setting is set to false.  Does anyone have any 
>> idea how to fix this?
>>
>>
>> Thanks!
>>
>>
>> _______________________________________________
>> collectd mailing list
>> collectd at verplant.org
>> http://mailman.verplant.org/listinfo/collectd
>>    
>
>
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20120503/4f03aee1/attachment-0001.html>


More information about the collectd mailing list