snclient icon indicating copy to clipboard operation
snclient copied to clipboard

Periodic config reload when remote source is included

Open deloid opened this issue 1 year ago • 3 comments

EDIT: I have completely misinterpreted config & include inheritance and also the purpose of the INCLUDES MSI property (I interpreted any configuration specified in includes that was already specified in the parent, would be overwritten (ie. NRPEServer = enabled, tls min version = tls1.3, etc). I've since properly tested and it worked. I've struck out my original requests and left them here though and edited the original issue name to reflect my actual request.

Further to using a remote config included during installation, is there a periodic background config reload if the config has changed (hash compare)? https://nsclient.org/docs/settings/#http-settings.
I'm coming up blank in trying to find the settings reference, but I believe the periodic reload is handled by this:

[/settings/core]
settings maintenance interval=5m

I could be way off with that though. This is all I can find referring to the refresh and that above setting https://github.com/mickem/nscp/issues/378

~~Are there any plans to implement settings store configuration like NSClient's boot.ini to specify the config source during service start or the ability to change config sources via snclient.exe?~~

~~An installer option to specify a configuration source (ie. remote https) during installation would also be good. On Windows, it's the CONFIGURATION_TYPE property in the NSClient MSI - https://nsclient.org/docs/installing/#msi-options.~~

deloid avatar Aug 21 '24 12:08 deloid