I have installed Observium CE on CentOS 7.4 and am trying to get a handle on the question of location for devices.
I have 7 locations, all within the same city. I put in a default location in the configuration, by longitude and latitude. Sure enough, there's a green checkmark on the map right where my main building is.
For Nagios purposes, we have location codes that consist of the company, site (may be omitted) building, and room. So you might find something like mcts-ad-sr (admin building, server room) or mcts-brg-1flidf (Bridge Street Garage, 1st floor IDF.) So far, I am using the same arbitrary codes for Observium, in the SNMP "location" on the switch.
I was hoping to use these sort of codes to precisely locate a switch for the humans that use Observium, while hoping there was already a table built into the tool to translate the codes to map coordinates.
I don't know enough about the SNMP "location" code to understand if I'm using it correctly. We have always just treated it as a free-text locator code, usable only by my IT department.
Does Observium expect to see a street address in there? I tried that; doesn't seem to work. I don't have an API key for the geocoding, and it probably won't work anyhow, since all these devices have non-routable 10.x.x.x addresses, which geocoding can't make sense of.
Any help appreciated- Thanks.
Thomas M. Peters | Sr. Systems Administrator | tpeters@mcts.orgmailto:tpeters@mcts.org Desk: 414.343.1720 | Helpdesk: x3400 or helpdesk@mcts.orgmailto:helpdesk@mcts.org Milwaukee County Transit System http://www.ridemcts.com/
1942 N 17th Street | Milwaukee, WI 53205 Check us out on Facebookhttps://www.facebook.com/mcts & Twitter https://twitter.com/RideMCTS