{"action":"created","issue":{"url":"https://api.github.com/repos/howardjones/network-weathermap/issues/133","repository_url":"https://api.github.com/repos/howardjones/network-weathermap","labels_url":"https://api.github.com/repos/howardjones/network-weathermap/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/howardjones/network-weathermap/issues/133/comments","events_url":"https://api.github.com/repos/howardjones/network-weathermap/issues/133/events","html_url":"https://github.com/howardjones/network-weathermap/issues/133","id":299267845,"number":133,"title":"Cacti Plugin is creating duplicate records in plugin_realms","user":{"login":"netniV","id":9052188,"avatar_url":"https://avatars0.githubusercontent.com/u/9052188?v=4","gravatar_id":"","url":"https://api.github.com/users/netniV","html_url":"https://github.com/netniV","followers_url":"https://api.github.com/users/netniV/followers","following_url":"https://api.github.com/users/netniV/following{/other_user}","gists_url":"https://api.github.com/users/netniV/gists{/gist_id}","starred_url":"https://api.github.com/users/netniV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netniV/subscriptions","organizations_url":"https://api.github.com/users/netniV/orgs","repos_url":"https://api.github.com/users/netniV/repos","events_url":"https://api.github.com/users/netniV/events{/privacy}","received_events_url":"https://api.github.com/users/netniV/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-22T08:56:47Z","updated_at":"2018-02-22T10:34:48Z","closed_at":"2018-02-22T10:34:46Z","author_association":"NONE","body":"Hey @howardjones,\r\n\r\nFor some reason, your plugin is creating many plugin_realm entries.  I am not sure if this is a bug with the cacti realm code or your method of creating the realm but if you select the plugini_realm table, it has a few copies of your plugin within it.\r\n\r\n```sql\r\nselect * from plugin_realms\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/9052188/36528814-4ccb7a2c-17ae-11e8-8afd-3c3235c56cc8.png)\r\n\r\nAs per https://github.com/Cacti/cacti/issues/1388"},"comment":{"url":"https://api.github.com/repos/howardjones/network-weathermap/issues/comments/367639285","html_url":"https://github.com/howardjones/network-weathermap/issues/133#issuecomment-367639285","issue_url":"https://api.github.com/repos/howardjones/network-weathermap/issues/133","id":367639285,"user":{"login":"howardjones","id":912421,"avatar_url":"https://avatars3.githubusercontent.com/u/912421?v=4","gravatar_id":"","url":"https://api.github.com/users/howardjones","html_url":"https://github.com/howardjones","followers_url":"https://api.github.com/users/howardjones/followers","following_url":"https://api.github.com/users/howardjones/following{/other_user}","gists_url":"https://api.github.com/users/howardjones/gists{/gist_id}","starred_url":"https://api.github.com/users/howardjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howardjones/subscriptions","organizations_url":"https://api.github.com/users/howardjones/orgs","repos_url":"https://api.github.com/users/howardjones/repos","events_url":"https://api.github.com/users/howardjones/events{/privacy}","received_events_url":"https://api.github.com/users/howardjones/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T10:34:48Z","updated_at":"2018-02-22T10:34:48Z","author_association":"OWNER","body":"OK, I see what you mean. I can move it to the place where the hooks are registered easily enough."}}
{"actor":{"display_login":"howardjones"}}