diff options
author | Stef Walter <stef@memberwebs.com> | 2008-03-04 17:44:54 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-03-04 17:44:54 +0000 |
commit | a2538698f621d50768e776cdead73d78c4a174de (patch) | |
tree | 7c663840327a7dde6da846bd609ebf998f5f2872 /tools/rrdbot-get.c | |
parent | 8d5e7c68825a9adc6baba61b1d8d3bcb6de99f24 (diff) |
Add a better message when rrdbot-get cannot contact the server.
Diffstat (limited to 'tools/rrdbot-get.c')
-rw-r--r-- | tools/rrdbot-get.c | 2 |
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)); } |