Aligns max. rrd dump time with configured heartbeat

This commit is contained in:
Simone Mainardi 2017-11-29 15:40:58 +01:00
parent fccb00515f
commit 6d4c9dc1cc
4 changed files with 4 additions and 9 deletions

View file

@ -377,7 +377,7 @@ function rrd_dump.run_5min_dump(_ifname, ifstats, config, when, time_threshold,
end
if not in_time then
callback_utils.print(__FILE__(), __LINE__(), "ERROR: Cannot complete local hosts RRD dump in 5 minutes. Please check your RRD configuration.")
traceError(TRACE_ERROR, TRACE_CONSOLE, i18n("error_rrd_cannot_complete_dump"))
return false
end
end
@ -393,7 +393,7 @@ function rrd_dump.run_5min_dump(_ifname, ifstats, config, when, time_threshold,
end)
if not in_time then
callback_utils.print(__FILE__(), __LINE__(), "ERROR: Cannot devices RRD dump in 5 minutes. Please check your RRD configuration.")
traceError(TRACE_ERROR, TRACE_CONSOLE, i18n("error_rrd_cannot_complete_dump"))
return false
end
end