Don't use that patch, doing a DNS lookup for every page load is a bad idea!
Adam.
On 9 Nov 2016, at 00:15, Nagy Attila <memetic.org@tylla.hu target=_blank>tylla_at_memetic.org@tylla.hu> wrote:Sorry guys, I didn't meant to drop the flame bomb, then disappear and get back much later to see the ruins :))), but I was pretty busy.
As I wrote in my original mail I thought about displaying the address in the overview page.
And yes I was thinking about strictly displaying the (hopefully only) one IP address that the stored hostname gets resolved to.
Exactly as Skyler Blumer resolved it in his small hack.
Actually this small hack could be used to solve the issue.
It could be hardened if you wish, - like you said - checking that the IP address returned is listed anywhere between some interfaces of the host, but I would say if the SNMP service can be reached on a given IP, then let's assume that you can do something with that device using the same address.
Yes of course, there could be complications, and there are a few possible issues that can't be properly taken care of, but an almost perfect solution is way better - if it solves most of the needs - than nothing.
And as Skyler's solution shows, the solution is pretty straight forward, I will patch my copy tomorrow. (thanks again Skyler)
That was my 2 cents.
Tylla
On 2016-11-07 20:37, Adam Armstrong wrote:
Where would you put it on the UI?
Adam.
On 7 Nov 2016, at 18:58, Attila Nagy <memetic.org@tylla.hu target=_blank>tylla_at_memetic.org@tylla.hu> wrote:Hi all! I ran into this small deficit a few times, but now I decided to report it, maybe it gets the attention of other fellow users and/or of developers. So the small thing that I miss sometimes from the GUI is the display of the IP address of a device. In my opinion this information should definitely be listed on the overview page, but optimally it should also appear in the tooltip that appears when hovering the mouse (let's say after the FQDN in square brackets). And given the fact that a device can have many IP addresses, I would say lets display the one that the devices FQDN resolves to (mostly this is that I am eager to know). Yes-yes, I know, DNS solves most of the problems, but sometimes it is just easier if you know the IP address. Any opinions? Regards, Tylla
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium