Wouldn’t enabling “Custom location” under the device itself also give this behavior?
________________________________ Spencer J. Ryan| Manager, Technology and Infrastructure Miller Canfield T +1.313.496.7979 | F +1.313.496.7500 ________________________________ From: Adam Armstrong via observium <observium@lists.observium.org> Sent: Tuesday, February 13, 2024 4:33 PM To: Martin via observium <observium@lists.observium.org> Cc: Adam Armstrong <ad...@observium.org> Subject: [Observium] Re: sysLocation gets rewritten Caution: This is an external email. Do not open attachments or click links from unknown or unexpected emails. It means you most likely have rewrites defined in the config: [cid:image001.png@01DA5E9A.9F054C30] 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<mailto:observium@lists.observium.org> To unsubscribe send an email to observium-le...@lists.observium.org<mailto:observium-le...@lists.observium.org> You have received a message from the law firm Miller Canfield. The information contained in or attached to this electronic mail may be privileged and/or confidential. If you received this transmission and are not the intended recipient, you should not read this message and are hereby notified that any dissemination, distribution or copying of this communication and/or its attachments is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and delete or destroy the original and any copies, electronic, paper or otherwise, that you may have of this communication and any attachments.
_______________________________________________ observium mailing list -- observium@lists.observium.org To unsubscribe send an email to observium-le...@lists.observium.org