Incomplete device name (bug?)
Hi all,
If I add a device with a hostname of br0.abcdefg , it will show up nicely on the front page, however, when I add a device with a hostname of br0.abcdefgh (or longer), the device's name will be 'br0' on the front page under "device alerts" and "Recent Eventlog Entries".
If you hoover over the device name, he popup screen wil display the correct device name.
Could this be a bug, or am I doing something wrong ?
Thanks.
gr, Richard
Hi,
Not a bug, rather a shortening of the name; we have a maximum length, and if we can't display it all, we cut at the last dot within length.
It's not recommended to call all your devices the same ;-)
There's a hidden -unsupported- knob if you want a longer cut-off point:
$config['shorthost']['length'] = 12; // Alter shorthost() target length, changing this is not officially supported!
If it eats your wife and kids, no complaining kthx.
Tom
On 08/28/2013 01:21 PM, Richard Hartensveld wrote:
Incomplete device name (bug?)
Hi all,
If Iadda device with a hostname ofbr0.abcdefg, it will show up nicely on the front page, however, when Iadd a device witha hostname ofbr0.abcdefgh (or longer), the device'sname will be 'br0'on the front page under "device alerts" and "Recent Eventlog Entries".
If you hoover over the device name, he popup screen wil display the correct device name.
Could this be a bug, or am I doing something wrong ?
Thanks.
gr, Richard
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Richard Hartensveld
-
Tom Laermans