On Wed, 30 Aug 2017 08:13:02 +0000 Roger Aas Roger.Aas@atea.no wrote:
Some models of Cisco routers have inbuilt GPS antennas and it is possible to get location data from the router, using both CLI and SNMP.
Cool :-)
Is it possible to add code in NAV to import this GPS data into the "Position" field in the "Rooms" data?
It would be possible, but what happens in the case where there may be multiple GPS-capable routers registered in the same NAV room? Which router should be authoritative for the room location?
Also, how often should the room position be updated? For a router in a trailer, updating every 6 hours would be too slow. For a stationary router, updating every 5 minutes would be a waste of resources ;)
For routers that are in a static location it means the location will be correct, not a best effort by pointing on a map. :-)
How is the GPS coverage inside buildings these days? :)
roger@nav:~$ snmpwalk -On -c secretpw -v 2c 10.140.73.1 1.3.6.1.4.1.9.9.661.1.4.1.1.1
CISCO-WAN-3G-MIB. Good to know :)