script to check daemons god and sphinx