{"action":"opened","issue":{"url":"https://api.github.com/repos/Cacti/cacti/issues/2121","repository_url":"https://api.github.com/repos/Cacti/cacti","labels_url":"https://api.github.com/repos/Cacti/cacti/issues/2121/labels{/name}","comments_url":"https://api.github.com/repos/Cacti/cacti/issues/2121/comments","events_url":"https://api.github.com/repos/Cacti/cacti/issues/2121/events","html_url":"https://github.com/Cacti/cacti/issues/2121","id":374589817,"node_id":"MDU6SXNzdWUzNzQ1ODk4MTc=","number":2121,"title":"[1.2.0 Beta 2] Remote Data Collector Pollers / trouble with poller_time table","user":{"login":"eschoeller","id":12864741,"node_id":"MDQ6VXNlcjEyODY0NzQx","avatar_url":"https://avatars2.githubusercontent.com/u/12864741?v=4","gravatar_id":"","url":"https://api.github.com/users/eschoeller","html_url":"https://github.com/eschoeller","followers_url":"https://api.github.com/users/eschoeller/followers","following_url":"https://api.github.com/users/eschoeller/following{/other_user}","gists_url":"https://api.github.com/users/eschoeller/gists{/gist_id}","starred_url":"https://api.github.com/users/eschoeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschoeller/subscriptions","organizations_url":"https://api.github.com/users/eschoeller/orgs","repos_url":"https://api.github.com/users/eschoeller/repos","events_url":"https://api.github.com/users/eschoeller/events{/privacy}","received_events_url":"https://api.github.com/users/eschoeller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-27T00:56:33Z","updated_at":"2018-10-27T00:56:33Z","closed_at":null,"author_association":"NONE","body":"I'm getting closer to a more complete report on this issue, but I've run short on time. \r\nAs it stands right now, my remote data collectors are completing all polling functions in a normal amount of time, but they do not finish until they are terminated by the poller max runtime is exceeded. \r\nI think there is an issue with how they are interacting with their local poller_runtime table. Entries are not being deleted, so the entries in the table are ever increasing. But it appears that the remote data collectors are actually attempting to calculate $finished_processes by querying the main data collector's poller_time table? And this is not receiving any poller start_time data because that's being written locally? \r\nAlso, this output:\r\n<pre>print 'Waiting on ' . ($started_processes - $finished_processes) . ' of ' . $started_processes . \" pollers.\\n\";</pre>\r\nDoesn't really appear to go anywhere. \r\nThis is all happening in poller.php around lines 625-650. \r\nSorry this is half-baked right now, but maybe this has an obvious fix? "}}
{"actor":{"display_login":"eschoeller"}}