ConSol-Monitoring / snclient

SNClient+ - Cross platform monitoring agent
MIT License
48 stars 9 forks source link

add support for multiple "allowed hosts" definitions to improve readability #78

Closed lgmu closed 7 months ago

lgmu commented 7 months ago

For example:

# ABC
allowed hosts = 10.0.0.1,10.0.0.2
# DEF
allowed hosts += 10.0.0.3,10.0.0.4

Currently there is no "+=" Syntax and you can only override it

sni commented 7 months ago

this is possible now, just make sure you add commas where you want them. The config lines will simply be joined as text. See an example here: https://github.com/ConSol-Monitoring/snclient/blob/main/docs/configuration/index.md#appending-values