Tested it. All new added devices on my observium aren't polled. Test Install, it works. Strange.
btw, where is the map?
regards
Am 17.05.2013 19:38, schrieb observium@velder.li:
Tried multiple devices. Still exists. Will try a fresh installation of observium tonight.
Am 17.05.2013 15:13, schrieb Adam Armstrong: There are no issues with that SQL query, so I'm not sure where the problem could be.
adam.
On 2013-05-16 21:10, observium@velder.li wrote: Hi Adam
Thx for your answer.
Output:
SQL[UPDATE `devices` set `uptime` ='7915',`sysObjectID` ='.1.3.6.1.4.1.8072.3.2.10',`sysDescr` ='Linux ns3 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64',`location_geoapi` ='mapquest',`location_lat` ='33.7490987',`location_lon` ='-84.3901849',`location_city` ='Atlanta',`location_county` ='Fulton County',`location_state` ='Georgia',`location_country` ='us',`version` ='3.2.0-4-amd64',`features` ='Debian 7.0',`hardware` ='Generic x86 64-bit',`last_polled` =NOW(),`last_polled_timetaken` ='85.83',`device_state` ='a:2:{s:7:"ucd_mem";a:7:{s:10:"swap_total";s:6:"522236";s:10:"swap_avail";s:6:"521932";s:9:"mem_total";s:6:"250904";s:9:"mem_avail";s:5:"17104";s:10:"mem_shared";s:1:"0";s:10:"mem_buffer";s:5:"18036";s:10:"mem_cached";s:6:"160488";}s:8:"ucd_load";s:1:"1";}' WHERE `device_id` = '55'] SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`) VALUES ('poll','ns3.mydomain.li','1368734745.1935','85.83','1')] ./poller.php ns3.mydomain.li May 16, 2013, 22:07 - 1 devices polled in 85.83 secs
But it still shows not polled yet. Any Idea?
Regards Patrick
Am 16.05.2013 21:38, schrieb Adam Armstrong: This is definitely a bug.
It's failing to update the device record for some reason.
Run :
./poller.php -h <host> -d
there will be a SQL query towards the end which is trying to update the location and set the last_polled time. This might help explain why it's failing.
adam.
On 2013-05-16 20:25, observium@velder.li wrote: Hello there
i changed a complete device (hostname is the same, but different location). Location was not updated. Hmmm, ok, i deleted the device, rm -r'ed rrd dir and re-added the device. Now it says
Device not yet polled
That's not correct. Device is polled. And the LocationBar does not update the locations. There's only UNKNOWN (1).
Bug or my problem?
Regards, patrick _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium