Skip to content

Commit

Permalink
Fixes bad argument #3 to 'format' in snmp alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
simonemainardi committed Apr 26, 2021
1 parent 05306b9 commit d53e296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lua/modules/alert_store/snmp_alert_store.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function snmp_alert_store:insert(alert)
"(alert_id, tstamp, tstamp_end, severity, ip, name, port, port_name, json) "..
"VALUES (%u, %u, %u, %u, '%s', '%s', %u, '%s', '%s'); ",
self._table_name,
alert.alert_type,
alert.alert_id,
alert.tstamp,
alert.tstamp_end,
alert.severity,
Expand Down

0 comments on commit d53e296

Please sign in to comment.