![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Try using the google geolocation api :
$config['geocoding']['api'] = 'mapquest'; // Which GEO API use ('mapquest', 'google')
It's more reliable, but we can't use it as default because you can only use it with a google map.
Set all location to NULL in your database after you change the setting and it should re-locate them.
adam.
On 2014-05-21 06:25, chott@praha1.net wrote:
For example, i have two switche with "Jindrisska, Prague, Czech Republic"
Observium in Device/location resolve one as UNKNOWN and second as CZECH REPUBLIC
I can try delete all sysLocation in device
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Wednesday, May 21, 2014 1:24 PM To: Observium Network Observation System Subject: Re: [Observium] SNMP Location
If openstreetmap/google maps can't resolve the address you're using, then it won't work via their API either.
adam.
On 2014-05-21 05:59, chott@praha1.net wrote: Yes, but iam trying set „Street, City, Country“ or „Street, Country“
And in both i have point of device in middle of Atlantic Ocean J
Tomas
FROM: observium [mailto:observium-bounces@observium.org] ON BEHALF OF Simon Smith SENT: Wednesday, May 21, 2014 12:48 PM TO: Observium Network Observation System SUBJECT: Re: [Observium] SNMP Location
Hi,
I currently just use the sites postcode in the Location field
It may not be 100% accurate or correct but the google maps get it's pretty good and close :)
Regards
Simon
Sent from my iPhone
On 21 May 2014, at 11:28 am, "chott@praha1.net" chott@praha1.net wrote:
Hello everybody!
What is best practice for using location in SNMP, some switches like TP-Link doesnt support special character like „dash, comma“
What is best for using with GOOGLE map, for example „STREET, CITY, COUNTRY“ or i must use only CITY?
Regards, Tomas
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [1]
Links:
[1] 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