Actually, the hostname requirement actually finally "inspired" me to get my sh*t together and get a good DNS system running for internal devices, and now everyone else around the office is much happier, they're not having to dog around and do "manual" resolution by asking "what the heck is that IP address again?" To each their own, I guess. I'm glad it does have the hostname resolution requirement. It made me be a better network architect.
Sent from my Verizon Wireless 4G LTE smartphone
-------- Original message -------- From: Ivan Jukic ijukic13@gmail.com Date: 05/08/2016 5:57 PM (GMT-07:00) To: Observium Network Observation System observium@observium.org Subject: Re: [Observium] Cannot add Device by IP Address but can by hostname
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 Mailbird On 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)
Spencer Ryan | Senior Systems Administrator | sryan@arbor.netArbor Networks+1.734.794.5033 (d) | +1.734.846.2053 (m)www.arbornetworks.com
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:
The 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,
Ivan
On 6 May 2016 at 08:29, Ivan Jukic ijukic13@gmail.com wrote:
I 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,
Ivan
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:
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.
Is there a way I can simply add a whole subnet range to Observium without using hostname?
Cheers,
Ivan
_______________________________________________ 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
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- This message has been scanned by E.F.A. Project and is believed to be clean.