Setup: use lowercase of hostname when creating sensornames #988

Closed
dougburks opened this Issue Sep 2, 2016 · 4 comments

Projects

None yet

1 participant

@dougburks
Contributor

No description provided.

@dougburks
Contributor
dougburks commented Sep 2, 2016 edited

Scenario:
Sensor has a hostname of SENSOR1 (uppercase).
Setup currently forms a sensorname like SENSOR1-eth1.
If at some point the sensor has to be wiped and is reinstalled with the same hostname but lowercase (sensor1), then Sguil/Squert/MySQL will be inconsistent. Logging into the Sguil client will prompt for network to monitor and will show the OLD net-name (SENSOR1) which will then prevent any new alerts from being displayed. By forcing hostname to lowercase, we avoid case-sensitivity issues like this.

@dougburks dougburks closed this Nov 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment