Looking at `update_nrpe_config`, I think the whole thing can be simplified with a check there..
`
def update_nrpe_config():
config_data = config_get()
if config_data['enable_monitoring'] is False:
return
...
`
Testing this shows it works as well. Does this sound ok?
Looking at `update_ nrpe_config` , I think the whole thing can be simplified with a check there.. nrpe_config( ): data['enable_ monitoring' ] is False:
`
def update_
config_data = config_get()
if config_
return
...
`
Testing this shows it works as well. Does this sound ok?