Modified to handle cases when 'enable_monitoring' can be enabled/disabled in any order.
Although, `remove_check` didn't fail when the scripts don't exist, it did produce a couple of "INFO" complaining that the scripts don't exist. Just to not distract with that, I have added the check to call `remove_check` only they exist.
Modified to handle cases when 'enable_monitoring' can be enabled/disabled in any order.
Although, `remove_check` didn't fail when the scripts don't exist, it did produce a couple of "INFO" complaining that the scripts don't exist. Just to not distract with that, I have added the check to call `remove_check` only they exist.