From 73ef54f4efba0c043923dd531d703ee0005d1264 Mon Sep 17 00:00:00 2001 From: Benoit Plessis Date: Fri, 4 Oct 2019 11:08:46 +0200 Subject: [PATCH] Add a warning when trying to activate bulktransferts on an SNMP v1 host -- fix formating --- src/snmp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/snmp.c b/src/snmp.c index 6b7b1ae7..8ff40095 100644 --- 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) { -- 2.11.0