add metrix for fpm
run agent in background (using fork and detach), add start, stop and status actions