X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fcollectd.c;h=984ff757f3911fdc156717261bbb9c195907930a;hb=d5272dbabf4c7a47f34066c05f479523d7b8beae;hp=2d161aad6062815d4bdf220a7f30c02319e33075;hpb=a2d4be2febb99bf548b991be25f055d37285ddea;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); }