Poller output with debugging shows the new location
correctly.
CMD[/usr/bin/snmpget -v3
**************** SNMPv2-MIB -M
/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp
EXITCODE[0])
RUNTIME[0.0304s],
STDOUT[
sysUpTime.0 = 5:18:28:36.57
sysLocation.0 = Arnhem ==> OK, this is the new
location
<cut>
On every poll we see the location change in the
syslog, but the location is not updated in the database.
SQL[INSERT INTO `eventlog`
(`device_id`,`reference`,`type`,`timestamp`,`message`) VALUES
('78','NULL','system',NOW(),'Location -> Arnhem')]
Module [ system ] time: 0.1684s
2014-12-09 11:43:03 System Location -> Arnhem
2014-12-09 11:38:10 System Location -> Arnhem
2014-12-09 11:33:09 System Location -> Arnhem
2014-12-09 11:28:13 System Location -> Arnhem
2014-12-09 11:23:12 System Location -> Arnhem
2014-12-09 11:18:08 System Location -> Arnhem
A manual change of the location in the device record
resolved this issue.
It seems that there is a statement missing to update
the device record.
Met vriendelijke groet, kind regards,
Erwin Heringa
SIDN | Meander 501 | 6825 MD | Postbus 5022 | 6802 EA | ARNHEM
T +31 (0)26 352 55 59 | F +31 (0)26 352 55 05
erwin.heringa@sidn.nl |
www.sidn.nl
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium