add portraitd updater check, log directory size check, memory metric plugin