![](https://secure.gravatar.com/avatar/49f9bd045ef6a43709020ba6bc56f455.jpg?s=120&d=mm&r=g)
Hello,
For some reason, on my observium at work, seems that location doesn't want to work. On device menun, still marked as "unkown".
I tried to find is there is an issue with the location part, but on a setup at home, it is working.
Location like Paris, FR / Belfort, FR still fail into unknown, so I wish to debug what happened, and how to fix it (maybe this an issue with my setup, but I cannot find where).
Any hints about that?
Regards, Xavier
-- Xavier Beaudouin - Senior Network and System Administrator Infrastructure and network director Horizon Software - http://www.hsoftware.com/ 13 rue La Fayette - 75009 PARIS - France Phone: +33 (0)1 4260 9490 Fax: +33 (0)1 44 56 97 01
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
You can try switching to the google geolocation API, the details are on the wiki.
You then need to set the location_lat and location_lon to NULL in your database for all devices to trigger a re-geolocation.
adam.
On 2013-08-26 11:25, Xavier Beaudouin wrote:
Hello,
For some reason, on my observium at work, seems that location doesn't want to work. On device menun, still marked as "unkown".
I tried to find is there is an issue with the location part, but on a setup at home, it is working.
Location like Paris, FR / Belfort, FR still fail into unknown, so I wish to debug what happened, and how to fix it (maybe this an issue with my setup, but I cannot find where).
Any hints about that?
Regards, Xavier
-- Xavier Beaudouin - Senior Network and System Administrator Infrastructure and network director Horizon Software - http://www.hsoftware.com/ 13 rue La Fayette - 75009 PARIS - France Phone: +33 (0)1 4260 9490 Fax: +33 (0)1 44 56 97 01
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/c8654f3c4e8aa6d198892bd2aeebd789.jpg?s=120&d=mm&r=g)
Hi Xavier,
is your server able to reach the internet directly? If you have to use a proxy-server it has to be configured in your config.php
$config['http_proxy'] = "proxy.server.domain:port"; // Proxy for HTTP/HTTPS requests (e.g. for geocoding)
greetings, Chris
You can try switching to the google geolocation API, the details are on the wiki.
You then need to set the location_lat and location_lon to NULL in your database for all devices to trigger a re-geolocation.
adam.
On 2013-08-26 11:25, Xavier Beaudouin wrote:
Hello,
For some reason, on my observium at work, seems that location doesn't want to work. On device menun, still marked as "unkown".
I tried to find is there is an issue with the location part, but on a setup at home, it is working.
Location like Paris, FR / Belfort, FR still fail into unknown, so I wish to debug what happened, and how to fix it (maybe this an issue with my setup, but I cannot find where).
Any hints about that?
Regards, Xavier
-- Xavier Beaudouin - Senior Network and System Administrator Infrastructure and network director Horizon Software - http://www.hsoftware.com/ 13 rue La Fayette - 75009 PARIS - France Phone: +33 (0)1 4260 9490 Fax: +33 (0)1 44 56 97 01
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
![](https://secure.gravatar.com/avatar/49f9bd045ef6a43709020ba6bc56f455.jpg?s=120&d=mm&r=g)
Hi Chris,
It has now direct access... Previously only "restricted access" but I have opened the firewall to get out access (with keep state). I doesn't change anything :(
![](https://secure.gravatar.com/avatar/49f9bd045ef6a43709020ba6bc56f455.jpg?s=120&d=mm&r=g)
Last news, changed in config.php :
$config['geocoding']['api'] = 'google';
has fixed my issue. Very strange indeed.
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
On 2013-08-27 11:12, Xavier Beaudouin wrote:
Last news, changed in config.php :
$config['geocoding']['api'] = 'google';
has fixed my issue. Very strange indeed.
Not strange at all. I told you to do this in the first reply.
The default API is less accurate, but has fewer restrictions. The google API is more accurate, but is restricted to use on google maps and charts only, so we don't enable it as default.
adam.
participants (3)
-
Adam Armstrong
-
Chris
-
Xavier Beaudouin