Yep, because you’re still trying to add it by IP address.

 

Try editing your /etc/hosts file and put in a line that says:

 

10.30.1.1              mydevice.mydomain.com

 

Then try doing the device add with the command:

./add_device.php mydevice.mydomain.com atbu+1 v2c

 

You will find it will work much better that way.

 

From: Nurbek Suleimanov [mailto:nurbek@suleimanov.org]
Sent: Saturday, May 07, 2016 12:19 PM
To: ron@rjr-services.com
Cc: observium@observium.org
Subject: Re[2]: [Observium] Could not resolve

 

Thank I check my DNS, and i add hostname to /etc/host no work add Host
But I usualy ip-addres, not hostname.

 ./add_device.php 10.30.1.1 atbu+1 v2c
Observium CE 0.16.1.7533
Add Device(s)

Try to add 10.30.1.1:
Could not resolve 10.30.1.1.
Devices failed: 1.

I make debug, and attached. please look degub.

Thanks

Суббота, 7 мая 2016, 22:28 +06:00 от ron@rjr-services.com:

You cannot add devices by IP address. You need to have working DNS resolution, or have host to IP mapping in your /etc/hosts file. 

 

 

 

Sent from my Verizon Wireless 4G LTE smartphone



-------- Original message --------
From: Nurbek Suleimanov <nurbek@suleimanov.org>
Date: 05/07/2016 10:01 AM (GMT-07:00)
To: observium@observium.org
Subject: [Observium] Could not resolve


--
This message has been scanned for viruses and dangerous content by
E.F.A. Project, and is believed to be clean.



С уважением, Нурбек Сулейманов
+77016622334
АО Транстелеком