Well, the funnier thing is...Observium can't talk to anything without IP so this argument doesn’t go very far. Look, I'm not challenging the religion of Observium. I actually don’t mind that it wants to use hostnames. Its cleaner and clearer. But it’s a false argument that Observium doesn’t use IP addresses.
Several functions are going to great lengths to obtain the piece of information. It just needs to be recorded and displayed.
[root@observium includes]# grep -nr 'gethostbyname*'
common.inc.php:2736:// Same as gethostbyname(), but work with both IPv4 and IPv6
common.inc.php:2740:// For get only IPv6 record use gethostbyname6($hostname, OBS_DNS_AAAA)
common.inc.php:2743:function gethostbyname6($host, $flags = OBS_DNS_ALL)
common.inc.php:2750: $dns = gethostbynamel6($host, $flags);
common.inc.php:2759:// Same as gethostbynamel(), but work with both IPv4 and IPv6
common.inc.php:2761:// for get only IPv6 addresses use gethostbynamel6($hostname, OBS_DNS_AAAA)
common.inc.php:2764:function gethostbynamel6($host, $flags = OBS_DNS_ALL)
functions.inc.php:346: $ip = gethostbyname6($new, $flags);
functions.inc.php:587: $ip = gethostbyname6($hostname, $flags);
functions.inc.php:919: $ip = gethostbyname6($hostname);
functions.inc.php:1082: $ip = ($try_a ? gethostbyname($hostname) : FALSE); // Do not check IPv4 if transport IPv6
functions.inc.php:1087: $ip = gethostbyname6($hostname, OBS_DNS_AAAA);
functions.inc.php:1208: return (TRUE && gethostbyname6($hostname, $flags));
discovery/functions.inc.php:49: $ip = gethostbyname6($hostname, $flags);
discovery/functions.inc.php:108: $snmp_ip = gethostbyname6($snmphost, $flags);
discovery/functions.inc.php:119: $ptr_ip = gethostbyname6($ptr, $flags);
discovery/.svn/text-base/functions.inc.php.svn-base:49: $ip = gethostbyname6($hostname, $flags);
discovery/.svn/text-base/functions.inc.php.svn-base:108: $snmp_ip = gethostbyname6($snmphost, $flags);
discovery/.svn/text-base/functions.inc.php.svn-base:119: $ptr_ip = gethostbyname6($ptr, $flags);
-----Original Message-----
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans
Sent: Monday, November 07, 2016 11:32 PM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Small feature request
Well, the funny thing is.. Observium doesn't use an IP to query the device on.
See what can of worms you opened? ;-)
Tom
On 08/11/2016 05:52, Michael wrote:
My vote would be for the IP that observium is using to query the device on.
Surely nobody is using round robin dns A records to get to their management IPs...?
In my mind, the rest of the IPs belong on the interface/port that it is bound to.
Cheers,
Michael
On 8 November 2016 10:06:23 am AEDT, Tom Laermans <tom.laermans@powersource.cx> wrote:
Random single address? :)
On 07/11/2016 23:47, Richard Wigzell wrote:
A single Address on the device page with a hover box possibly? I
too would find this useful.
*Richard Wigzell*
Networks, Security and Server Specialist IT Services | University of
Oxford
13 Banbury Road, Oxford OX2 6NN
*T:* 01865 616282
www.it.ox.ac.uk <https://www.it.ox.ac.uk/>
*From:*observium [mailto:observium-bounces@observium.org] *On Behalf
Of *Adam Armstrong
*Sent:* 07 November 2016 19:58
*To:* Observium Network Observation System
*Subject:* Re: [Observium] Small feature request
What do you do for a router with 50 addresses?
Adam.
Sent from BlueMail <http://www.bluemail.me/r>
On 7 Nov 2016, at 19:45, John Simino <jsimino@cityofmesquite.com
<mailto:jsimino@cityofmesquite.com>> wrote:
I too sometimes look for it on the device page. There is a section
in
the device page that lists Hardware, OS, Name, Location and Uptime.
I
would add IP address to that section.
It could also be displayed as a Known addresses listing on the main
page along with processors, memory, storage, and other tabular data.
If there were multiple addresses for a device, they could all be
listed in the tabular listing.
*From:*observium [mailto:observium-bounces@observium.org] *On Behalf
Of *Adam Armstrong
*Sent:* Monday, November 07, 2016 1:37 PM
*To:* Observium Network Observation System <observium@observium.org
<mailto:observium@observium.org>>
*Subject:* Re: [Observium] Small feature request
Where would you put it on the UI?
Adam.
Sent from BlueMail <http://www.bluemail.me/r>
On 7 Nov 2016, at 18:58, Attila Nagy <memetic.org
<mailto:tylla_at_%3ca>@tylla.hu target=_blank>tylla_at_memetic.org
<http://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
<mailto:observium@observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
---------------------------------------------------------------------
---
observium mailing list observium@observium.org
<mailto: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
_______________________________________________
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