Simple. Because just of of my devices has many ip addresses that can not have hostnames.On 9 May 2016 at 17:05, Serghei Golipad <s.golipad@uk.cdw.com> wrote:Cmon, it would take less time to assign hostnames to those IP's than argue about it . Why on earth would you refer to something by IP over a hostname? You said you have multiple clients well then come up with naming convention for your IP ranges that incorporate clients name in the hostname...
Sent from my Windows Phone
From: Ivan Jukic
Sent: 09/05/2016 00:58
To: Observium Network Observation System
Subject: Re: [Observium] Cannot add Device by IP Address but can by hostname
PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL.Hostnames are not necessary when monitoring via SNMP, in fact IP Addresses are easier. Second we host many IP address ranges for our clients (Public and Private), so this will be a nightmare to manage. As they tend to change hostnames (and rightly so) all the time. Many of them have managed services.Is adding devices via IP Address not the important to Observium Devs? I thought it would be a given, since many NMS platforms do this?
Cheers,
Ivan
On 6 May 2016 at 23:12, Adam Armstrong <adama@memetic.org> wrote:
First port of call would be to fire the people installing devices important enough to need monitoring without hostnames...
adam.
Sent from MailbirdOn 06/05/2016 15:00:36, Spencer Ryan <sryan@arbor.net> wrote:
Yeah, you adding it by hostname has absolutely nothing to do with you trying to add it by IP address, it simply won't work. Like what Joseph said, you need to get generic DNS entries in via some method (DNS server, /etc/hosts)
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Spencer Ryan | Senior Systems Administrator | sryan@arbor.netArbor Networks+1.734.794.5033 (d) | +1.734.846.2053 (m)
On Fri, May 6, 2016 at 8:48 AM, Joseph Zancocchio <joseph@nyi.net> wrote:
As far as I know, hostnames are strictly required for Observium to talk to a device. If you cannot get DNS records set, or implement some sort of customized DNS server setup, you will have to use /etc/hosts entries (which is basically a custom DNS server setup, just not as elegant/flexible... and its probably somewhat slower when dealing with a lot of addresses).
Observium can't resolve an IP to an IP because it isn't a hostname. Host file (and DNS A/AAAA record) lookups don't work "backwards" like that.
Also, a hosts file pre-filled with a generically syntaxed hostname for each IP address within any of the subnets which you wish to monitor would pretty much never have to be updated. If you ever have any new IP ranges come into play, you would simply have to append the generic entries for it to the hosts file. What else would there be to manage/maintain? It certainly wouldn't require a full-time role.
If you did this, anytime you have a device on an IP without a DNS record, you could add it with the generic hostname.
The only other option would be to do some pretty involved patching of your Observium install, which almost assuredly WOULD be a nightmare to maintain.
On 05/05/2016 07:02 PM, Ivan Jukic wrote:
IvanThe reason why I ask this is that. I've successfully added a device by Hostname, deleted it then tried via IP Address and get "Can't resolve 10.0.0.1". Even though, the hostname/IP address is still in the hosts file.Furthermore, we literally have millions of IP Addresses (both public and private) so managing this would require a full-time role.
Is there any way we can add devices without using hostnames?
Cheers,
On 6 May 2016 at 08:29, Ivan Jukic <ijukic13@gmail.com> wrote:
IvanI was thinking to do that. But I wanted to avoid that all together. So just to confirm, Observium can only add devices by hostname only and not IP Address?Cheers,
On 6 May 2016 at 08:21, Joseph Zancocchio <joseph@nyi.net> wrote:
It would probably be easiest to use a small script to generate a list of "hostnames" in whatever format you'd like for the IP(s) in the subnet that don't have any DNS records (perhaps something like 10.0.0.1 -> 10-0-0-1.noDNS.<yourdomain>, or whatever), and then add corresponding entries to /etc/hosts for those hosts. Then, you can add the range using that list of hostnames.
On 05/05/2016 05:41 PM, Ivan Jukic wrote:
IvanCheers,Is there a way I can simply add a whole subnet range to Observium without using hostname?Hi All,I have many devices in our network that do no have hostnames and nor do I want to maintain DNS records for devices that do as this will be a nightmare to managed.
_______________________________________________ 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
CDW Limited is a Company registered in England and Wales.
This email is sent for and on behalf of CDW Finance Holdings Limited. CDW Finance Holdings Limited is the UK holding company for CDW Limited trading as CDW. The registered office for CDW Finance Holdings Limited (Company Number 05872067) and its UK group undertakings is 10 Fleet Place, London, EC4M 7RB. VAT Registration 902 1949 39.
Confidentiality: This e-mail contains proprietary information, some or all of which may be confidential and/or legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and then delete the original. If you are not the intended recipient you may not use, disclose, distribute, copy, print or rely on any information contained in this e-mail. You must not inform any other person other than CDW or the sender of its existence.
For more information about CDW please visit www.uk.cdw.com
_______________________________________________
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