From a2538698f621d50768e776cdead73d78c4a174de Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 4 Mar 2008 17:44:54 +0000 Subject: Add a better message when rrdbot-get cannot contact the server. --- tools/rrdbot-get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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)); } -- cgit v1.2.3