diff --git a/src/collectd.c b/src/collectd.c
index 2d161aad6062815d4bdf220a7f30c02319e33075..984ff757f3911fdc156717261bbb9c195907930a 100644 (file)
--- a/src/collectd.c
+++ b/src/collectd.c
status = getaddrinfo (hostname_g, NULL, &ai_hints, &ai_list);
if (status != 0)
{
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);
}
return (-1);
}