LibreNMS Location on map / GPS Data

Hi, I am trying to correctly place all the devices (mostly cisco and ubnt) on the frontpage map. I have enable
$config[‘geoloc’][‘latlng’] = true;
$config[‘geoloc’][‘engine’] = “google”;
In the smtp-location I tried putting the address of the devices locations but doesn’t seem to place all of them. Is there a better way to do this or by using GPS data?

You dont need to add that to your config… Could be causing issues…

Got to the device settings in the WEBUI type in the address or you could put in the GPS coordinates.

Ahh ok must have missed that. Thank You.
Is there a way to grab the GPS data from the ubnt devices? It has gps built in.

Im not sure…maybe if could pulled from SNMP. that would be pretty cool :smirk:
I guess if you could find out if there is an OID in the SNMP walk and then submit it in git hub.

Where do I submit it to github.
I was able to find the AirFiber ones, I still need to find the others
"gpsSync" ""
“gpsPulse” ""
“gpsFix” ""
“gpsLat” ""
“gpsLong” ""
“gpsAltMeters” ""
“gpsAltFeet” ""
“gpsSatsVisible” ""
“gpsSatsTracked” ""
“gpsHDOP” “”

and follow the doc FAQ - LibreNMS Docs

Do I just run
./discovery.php -h HOSTNAME -d | ./
./poller.php -h HOSTNAME -r -f -d | ./
snmpbulkwalk -OUneb -v2c -c COMMUNITY HOSTNAME . | ./
commands and wait?
or do I have to do something in github also?

you have to paste the outputs into or pastebin. Then open Issue for add support to a device in git hub.

for me the ultimate solution had been like this, and this could be used in a consistent way across all devices no matter if physical, virtual, routers, switches, servers, …

grep syslocation /etc/snmp/snmpd.conf
syslocation F1CONS DC-ER-RACK00 [49.5981, 10.9463]