Adding this fixed it for me. I had to turn off authentication on my proxy L so not ideal.

 

config.php

$config['http_proxy'] = "yourproxy:80";

 

Gordon

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Milton Ngan
Sent: 09 July 2015 18:16
To: Observium Network Observation System
Subject: Re: [Observium] Configuring map interface on new observium installation

 

The location_map maps the string retrieved from the sysLocation value of your devices and maps it to a location that can be geolocated via Google or Mapquest. 

 

This is useful if you have special location names which cannot be geolocated, or your device doesn’t support strings long enough to enter in the full address. It doesn’t map the device name to a location which it looks like what you are trying to do. Try configuring the devices’ SNMP sysLocation with the string you have and it should work. 

 

 

 

From: observium on behalf of Andi Qirjazi
Reply-To: Observium Network Observation System
Date: Thursday, July 9, 2015 at 8:11 AM
To: Observium Network Observation System
Subject: Re: [Observium] Configuring map interface on new observium installation

 

Hi,

 

Sorry, this I didn't get it. Should be same location_map for both devices?

 

Thanks,

Andi

 

 

On Thu, Jul 9, 2015 at 4:55 PM, Tom Laermans <tom.laermans@powersource.cx> wrote:

Hi,

The location_map maps locations from one to the other, it's not meant for specific devices, unless you have Device1 as location set for some devices...

If you want to override a single device's location, go to the device properties and set it there.


Tom

 

On 2015-07-09 16:53, Andi Qirjazi wrote:

Hi Rudolf,

 

Yes, I'm still having problems. The Map shows only the green button in Atlantic ocean.

I have the following sysLocation at config file for each device:

 

$config['location_map']['Device1']="HQ, Berlin, DE";
$config['location_map']['Device2']="HQ, Rome, IT";

 

Please, correct me if I'm wrong.

 

Thanks,

Andi

 

 

On Thu, Jul 9, 2015 at 1:30 PM, Rudolf Hoehler <rudolf@saicomvoice.co.za> wrote:

Hello Andi, 

 

Are you still having the problem? What is the sysLocation string that you use?

 

Rudolf

 

From: Andi Qirjazi <aqirjazi@gmail.com>
Reply-To: "observium@observium.org" <observium@observium.org>
Date: Tuesday 07 July 2015 at 17:14
To: "observium@observium.org" <observium@observium.org>
Subject: [Observium] Configuring map interface on new observium installation

 

Hi,

 

I have just installed & configured observium for the first time. The first two devices are added and seems working, but I'm having problem displaying these devices on the map. All the time there is a blue sign on the middle on Atlantic ocean, it doesn't matter what I configure as device location.

 

Please any idea how to configure the map?

I have tried all the possible configurations at /opt/observium/config.php settings but with no success.

This installation is behind a proxy server, but I have allowed all the traffic from observium host and I don't see any traffic from this host towards proxy server.

 

I did the following configuration on monitored devices for SNMP settings as follow:

 

R_TR#sh run | s snmp
snmp-server community aaaaaaa RO
snmp-server ifindex persist
snmp-server location Berlin, DE
snmp-server contact bbbbbbbbbb

 

at Observium main page, at location tab, is listed Berlin, DE (or Rome, IT another device) but no indication on the map for both devices.

 

regarding proxy server configuration, at \opt\observium\config.php file I have the following settings:

//configure proxy server settings
$config['http proxy'] = "myproxy:8080";

with no username and password, because I have allowed all the traffic from observium host and it has internet access, because I did manually update and it worked normally.

 

Please could you send me a sample of a working map configuration?

 

I have the following configuration regarding geolocation at config.php file:

 


// $config['frontpage']['map']['region'] = "https://developers.google.com/chart/interactive/docs/gall$
$config['geocoding']['enable'] =TRUE;                                                                
$config['geocoding']['dns'] = FALSE;                                                                 
$config['location_menu_geocoded'] = FALSE;                                                           
$config['geocoding']['api'] = 'www.googleapis.com/geolocation/v1/geolocate?key=aaaaaaaaaaaaaaaaaaaaa';

 

I even tried with just 'google' as API, but it doesn't change anything.

 

thanks in advance,

Andi Qirjazi


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

 



_______________________________________________
observium mailing list
observium@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