I think the default should be immediate_check=True. Charms need to explicitly call add_init_service_checks(), and any charm doing that for a bogus service that hangs on the status check is already broken. It is better to discover that now rather than later when there are a zillion hung /usr/local/lib/nagios/plugins/check_exit_status.pl processes. Or just add timeout(1) to the command line.
Minor inline comments.
I think the default should be immediate_ check=True. Charms need to explicitly call add_init_ service_ checks( ), and any charm doing that for a bogus service that hangs on the status check is already broken. It is better to discover that now rather than later when there are a zillion hung /usr/local/ lib/nagios/ plugins/ check_exit_ status. pl processes. Or just add timeout(1) to the command line.