added new command "thruk -a selfcheck" to perform some self checks