X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fsnmp_agent.c;h=bb4a7e4271ed459aa31ced5a4b6ba4378a119a02;hp=97eae7c00879a497f091cb951c8bb230fa8de582;hb=48efd3deb4c9139fd060ff3d289896e9031bcc7c;hpb=43d22c19485997e82d28a9ed7ba17965882dc27f diff --git a/src/snmp_agent.c b/src/snmp_agent.c index 97eae7c0..bb4a7e42 100644 --- a/src/snmp_agent.c +++ b/src/snmp_agent.c @@ -742,7 +742,8 @@ static void snmp_agent_table_data_remove(data_definition_t *dd, .severity = NOTIF_WARNING, .time = cdtime(), .plugin = PLUGIN_NAME}; sstrncpy(n.host, hostname_g, sizeof(n.host)); ssnprintf(n.message, sizeof(n.message), - "Removed data row from table %s with index %s", td->name, index_str); + "Removed data row from table %s with index %s", td->name, + index_str); DEBUG(PLUGIN_NAME ": %s", n.message); plugin_dispatch_notification(&n); @@ -2001,7 +2002,7 @@ static int snmp_agent_update_index(data_definition_t *dd, .severity = NOTIF_OKAY, .time = cdtime(), .plugin = PLUGIN_NAME}; sstrncpy(n.host, hostname_g, sizeof(n.host)); ssnprintf(n.message, sizeof(n.message), - "Data added to table %s with index %s", td->name, index_str); + "Data added to table %s with index %s", td->name, index_str); DEBUG(PLUGIN_NAME ": %s", n.message); plugin_dispatch_notification(&n);