summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-03-04 17:44:54 +0000
committerStef Walter <stef@memberwebs.com>2008-03-04 17:44:54 +0000
commita2538698f621d50768e776cdead73d78c4a174de (patch)
tree7c663840327a7dde6da846bd609ebf998f5f2872
parent8d5e7c68825a9adc6baba61b1d8d3bcb6de99f24 (diff)
Add a better message when rrdbot-get cannot contact the server.
-rw-r--r--tools/rrdbot-get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rrdbot-get.c b/tools/rrdbot-get.c
index a140735..6cbc687 100644
--- a/tools/rrdbot-get.c
+++ b/tools/rrdbot-get.c
@@ -253,7 +253,7 @@ had_failure (int code)
ASSERT (code != 0);
if (code < 1)
- errx (1, "couldn't successfully communicate with server");
+ errx (1, "couldn't successfully communicate with server at: %s", ctx.host);
else
errx (1, "server returned error: %s", snmp_get_errmsg (code));
}