Hi Adam,
Thanks, but no, none of the General options in the Locations section are selected. It looks exactly like the picture you posted. Any other idea's?
Thanks,
Martin
On 13/02/2024 17:32, Adam Armstrong via observium wrote:
It means you most likely have rewrites defined in the config:
adam.
Martin via observium wrote on 2024-02-13 19:12:
Hello,
I am experiencing something I don't understand. During polling of a host the syslocation -which is returned correctly by snmp- gets changed into another location (which is an old location before moving from "Address B" to "Address A").
$ /usr/bin/snmpget -v3 -l 'authPriv' -n '' -x 'AES' -X 'passwd' -a 'SHA' -A 'passwd' -u 'username' -Pud -Ih -OQUs --hexOutputLength=0 -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'HostName':'161' sysUpTime.0 sysLocation.0 sysUpTime.0 = 0:8:31:49.72 sysLocation.0 = "Address A" This is the correct address returned.
A few lines lower in my debugging output I see: sysLocation rewritten from 'Address A' to 'Address B' by DB override.
Even if I change the address in mysql to the correct address the polling process keeps changing it to the old address. MariaDB [observium]> select hostname, location from devices where device_id=9811; +-------------------------+--------------+ | hostname | location | +-------------------------+--------------+ | HostName | Address B | +-------------------------+--------------+
My questions:
- Why is this happening?
- How can I prevent this from happening?
- Where does the old address come from?
I hope someone can shed some light on this strange issue...
Thanks,
Martin
observium mailing list -- observium@lists.observium.org To unsubscribe send an email to observium-leave@lists.observium.org
observium mailing list -- observium@lists.observium.org To unsubscribe send an email to observium-leave@lists.observium.org