projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84411c4
)
Add a warning when trying to activate bulktransferts on an SNMP v1 host -- fix formating
author
Benoit Plessis
<benoit.plessis@powerboutique.com>
Fri, 4 Oct 2019 09:08:46 +0000
(11:08 +0200)
committer
Benoit Plessis
<benoit.plessis@powerboutique.com>
Fri, 4 Oct 2019 09:08:46 +0000
(11:08 +0200)
src/snmp.c
patch
|
blob
|
history
diff --git
a/src/snmp.c
b/src/snmp.c
index
6b7b1ae
..
8ff4009
100644
(file)
--- a/
src/snmp.c
+++ b/
src/snmp.c
@@
-822,7
+822,9
@@
static int csnmp_config_add_host(oconfig_item_t *ci) {
break;
}
if (hd->bulk_size > 0 && hd->version < 2) {
- WARNING("snmp plugin: Bulk transferts is only available for snmp v2 and later, host '%s' is configured as version '%d'", hd->name, hd->version );
+ WARNING("snmp plugin: Bulk transferts is only available for snmp v2 and "
+ "later, host '%s' is configured as version '%d'",
+ hd->name, hd->version);
}
if (hd->version == 3) {
if (hd->username == NULL) {