Hello,


I am trying to add some new devices to monitoring, but I am receiving the error Could not resolve 10.251.15.182


I have added the devices with IP 10.251.15.181, 10.251.15.183,
But devices 10.251.15.182 and 10.251.15.184 presents the Resolve Error.


As you can see, it's an IP address.


Pinging from the console is possible, as the traceroute leads to the same path.


The reverse path works.


Searching I found the way to add by command line.


It was possible to add the two devices, 10.251.15.182 and 10.251.15.184.


Ok. But now, when I try to add other devices on the same network, the error "Could no resolve 10.251.15.xxx" persists.


The server is on the same network. 10.251.15.22


Aparently it's a kind of bug with the interface, that is trying to resolve with the DNS an IP address.


This other case, I am not sure, but in a moment, it aparentely to try to add a device, but not sure what message it gives, but it was related to snmp comunity, I guess, and in a second try,it presents the Can not resolve, error. This case I don't have much details. It only happened one time.


Sorry for my English,


Claudionei Fernandes Mendes

Em sex, 6 de mai de 2016 às 10:12, <observium-request@observium.org> escreveu:

Send observium mailing list submissions to
observium@observium.org

To subscribe or unsubscribe via the World Wide Web, visit
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
or, via email, send a message with subject or body 'help' to
observium-request@observium.org

You can reach the person managing the list at
observium-owner@observium.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of observium digest..."


Today's Topics:

1. Re: Cannot add Device by IP Address but can by hostname
(Spencer Ryan)
2. Re: Cannot add Device by IP Address but can by hostname
(Adam Armstrong)


----------------------------------------------------------------------

Message: 1
Date: Fri, 6 May 2016 09:00:17 -0400
From: Spencer Ryan <sryan@arbor.net>
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Cannot add Device by IP Address but can by
hostname
Message-ID:
<CA+HzidQCxjvbd9iXZm8i1tg4ngZwPKxe9USwsHONn-qY4kwqng@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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.net
*Arbor 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>
>> 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 listobservium@observium.orghttp://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 listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
>
>
>
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20160506/a551d28e/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 06 May 2016 15:12:15 +0200
From: "Adam Armstrong" <adama@memetic.org>
To: "" <observium@observium.org>
Subject: Re: [Observium] Cannot add Device by IP Address but can by
hostname
Message-ID: <411f7295-7691-4c3a-b622-0e59665e6778@getmailbird.com>
Content-Type: text/plain; charset="utf-8"

First port of call would be to fire the people installing devices important enough to need monitoring without hostnames...

adam.

Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&amp;utm_medium=email&amp;utm_campaign=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.net [mailto:sryan@arbor.net]
Arbor Networks
+1.734.794.5033 (d) | +1.734.846.2053 (m)
www.arbornetworks.com [http://www.arbornetworks.com/]

On Fri, May 6, 2016 at 8:48 AM, Joseph Zancocchio <joseph@nyi.net [mailto: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 [mailto: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 < [mailto:joseph@nyi.net]joseph@nyi.net [mailto: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 [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [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 [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 [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 [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]



_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20160506/4455ff15/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


------------------------------

End of observium Digest, Vol 70, Issue 23
*****************************************
--
Claudionei Fernandes Mendes
A.K.A. Nei
+55 (47) 9263 8586