Forum Discussion
Unless something changed, I'm not aware of any way to set the location property directly using what is normally available in LM. For example, you can't set it within a PropertySource which is where you normally would what you want. Attempts would create a "auto.location" which doesn't work.
You likely can use dynamic groups though. Create one with all devices that are in the same site, then set the location property on the group itself. Would mean you have to create a dynamic group for every location/site, but it's very useful to have anyway. Makes it easy to say set a SDT for a whole site that lost internet or power.
Otherwise, perhaps you can use the LM API to pull the snmp data and set the location property? I suggest submitting your request as feedback within LogicMonitor as a feature request though.