Autodiscovery $config['mydomain'] variable check #423

merged 1 commit into from Jan 23, 2015


None yet

3 participants

tuomari commented Jan 23, 2015

When host is added via autodiscovery and $config['mydomain'] variable is empty, an additional '.' is added to the end of hostname. This can cause host to be added multiple times via autodiscovery: with and without trailing '.'

Tuomas Riihimäki Do not add empty $config['mydomain'] when autodiscovering
When \$config['mydomain'] variable is empty, '.' is appended to
the device hostname. This patch adds a check to prevent that."
f0o commented Jan 23, 2015

This is correct. 👍

@laf laf merged commit e634be7 into librenms:master Jan 23, 2015

1 check passed

Scrutinizer No new issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment