Adds a method to print purged hosts/flows error messages

This commit is contained in:
Simone Mainardi 2016-05-27 14:26:44 +02:00
parent e3a6fd8394
commit c28fe1248e
3 changed files with 9 additions and 4 deletions

View file

@ -2015,3 +2015,8 @@ function getFlowStatus(status)
else return("<font color=orange>Unknown status ("..status..")</font>")
end
end
-- prints purged information for hosts / flows
function purgedErrorString()
return 'Very likely it is expired and ntopng has purged it from memory. You can set purge idle timeout settings from the <A HREF="'..ntop.getHttpPrefix()..'/lua/admin/prefs.lua?subpage_active=data_purge"><i class="fa fa-flask"></i> Preferences</A>.'
end