projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd8429c
)
snmp plugin: add hostname to "csnmp_instance_list_add" error message
author
Sergey
<a_s_y@sama.ru>
Tue, 24 Feb 2015 21:13:00 +0000
(22:13 +0100)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Tue, 24 Feb 2015 21:13:00 +0000
(22:13 +0100)
Fixes #939
src/snmp.c
patch
|
blob
|
history
diff --git
a/src/snmp.c
b/src/snmp.c
index
ab59638
..
6a35c26
100644
(file)
--- a/
src/snmp.c
+++ b/
src/snmp.c
@@
-1546,7
+1546,8
@@
static int csnmp_read_table (host_definition_t *host, data_definition_t *data)
if (csnmp_instance_list_add (&instance_list_head, &instance_list_tail,
res, host, data) != 0)
{
- ERROR ("snmp plugin: csnmp_instance_list_add failed.");
+ ERROR ("snmp plugin: host %s: csnmp_instance_list_add failed.",
+ host->name);
status = -1;
break;
}