ping and ns check moved into Main::callback_action

ping and ns check is common to all modules, moved
into callback_action

tags: relevant