Don't run event commands when hosts/services are OK

fixes #6686