X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcollectd.c;h=984ff757f3911fdc156717261bbb9c195907930a;hb=89783745dc59079eab34e0c52de6e5e972f50eb2;hp=2d161aad6062815d4bdf220a7f30c02319e33075;hpb=4cf9eb921f5994d4515613efa8739ce445cfd9a1;p=collectd.git diff --git a/src/collectd.c b/src/collectd.c index 2d161aad..984ff757 100644 --- a/src/collectd.c +++ b/src/collectd.c @@ -87,7 +87,11 @@ static int init_hostname (void) status = getaddrinfo (hostname_g, NULL, &ai_hints, &ai_list); if (status != 0) { - ERROR ("getaddrinfo failed."); + ERROR ("Looking up \"%s\" failed. You have set the " + "\"FQDNLookup\" option, but I cannot resolve " + "my hostname to a fully qualified domain " + "name. Please fix you network " + "configuration.", hostname_g); return (-1); }