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

Merged
merged 1 commit into from Jan 23, 2015

Projects

None yet

3 participants

@tuomari
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."
ec802ef
@f0o
Member
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
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment