{"action":"created","issue":{"url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/17","labels_url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/17/comments","events_url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/17/events","html_url":"https://github.com/cavaliercoder/libzbxpgsql/issues/17","id":107662441,"number":17,"title":"items became not supported: Unknown error.","user":{"login":"colttt","id":10084871,"avatar_url":"https://avatars.githubusercontent.com/u/10084871?v=3","gravatar_id":"","url":"https://api.github.com/users/colttt","html_url":"https://github.com/colttt","followers_url":"https://api.github.com/users/colttt/followers","following_url":"https://api.github.com/users/colttt/following{/other_user}","gists_url":"https://api.github.com/users/colttt/gists{/gist_id}","starred_url":"https://api.github.com/users/colttt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colttt/subscriptions","organizations_url":"https://api.github.com/users/colttt/orgs","repos_url":"https://api.github.com/users/colttt/repos","events_url":"https://api.github.com/users/colttt/events{/privacy}","received_events_url":"https://api.github.com/users/colttt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-22T07:51:41Z","updated_at":"2015-09-22T08:41:21Z","closed_at":null,"body":"in version 0.2.0 and 0.2.1 all/most of the items are working, but i get the following error very often for all items:\r\n\r\n```\r\n 30996:20150922:093459.364 item \"morbo:pg.table.idx_scan[{$PG_CONN},zabbix]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.db.tup_deleted[{$PG_CONN},{$PG_DB},zabbix]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.table.n_tup_del[{$PG_CONN},postgres]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.db.tup_inserted[{$PG_CONN},{$PG_DB},postgres]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.db.tup_inserted[{$PG_CONN},{$PG_DB},zabbix]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.db.tup_returned[{$PG_CONN},{$PG_DB},postgres]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.db.tup_returned[{$PG_CONN},{$PG_DB},zabbix]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.setting[{$PG_CONN},{$PG_DB},archive_command]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.setting[{$PG_CONN},{$PG_DB},archive_mode]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.setting[{$PG_CONN},{$PG_DB},archive_timeout]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.setting[{$PG_CONN},{$PG_DB},array_nulls]\" became not supported: Unknown error.\r\n 30996:20150922:093459.364 item \"morbo:pg.setting[{$PG_CONN},{$PG_DB},authentication_timeout]\" became not supported: Unknown error.\r\n```\r\n\r\nhere a grep for a specific item..\r\n```\r\n 30994:20150922:081957.187 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became not supported: Unknown error.\r\n 30996:20150922:083408.464 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became supported\r\n 30995:20150922:083458.585 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became not supported: Unknown error.\r\n 30995:20150922:084904.863 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became supported\r\n 30994:20150922:084954.941 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became not supported: Unknown error.\r\n 30996:20150922:090406.310 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became supported\r\n 30993:20150922:090456.469 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became not supported: Unknown error.\r\n 30995:20150922:091907.890 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became supported\r\n 30994:20150922:091957.976 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became not supported: Unknown error.\r\n 30993:20150922:093409.239 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became supported\r\n 30994:20150922:093454.362 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became not supported: Unknown error.\r\n 30994:20150922:094910.581 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became supported\r\n 30996:20150922:094955.646 item \"morbo:pg.db.temp_files[{$PG_CONN},{$PG_DB},zabbix]\" became not supported: Unknown error.\r\n```\r\ni will try to debug them, to get more informations"},"comment":{"url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/comments/142214612","html_url":"https://github.com/cavaliercoder/libzbxpgsql/issues/17#issuecomment-142214612","issue_url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/17","id":142214612,"user":{"login":"cavaliercoder","id":7133556,"avatar_url":"https://avatars.githubusercontent.com/u/7133556?v=3","gravatar_id":"","url":"https://api.github.com/users/cavaliercoder","html_url":"https://github.com/cavaliercoder","followers_url":"https://api.github.com/users/cavaliercoder/followers","following_url":"https://api.github.com/users/cavaliercoder/following{/other_user}","gists_url":"https://api.github.com/users/cavaliercoder/gists{/gist_id}","starred_url":"https://api.github.com/users/cavaliercoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cavaliercoder/subscriptions","organizations_url":"https://api.github.com/users/cavaliercoder/orgs","repos_url":"https://api.github.com/users/cavaliercoder/repos","events_url":"https://api.github.com/users/cavaliercoder/events{/privacy}","received_events_url":"https://api.github.com/users/cavaliercoder/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T08:41:21Z","updated_at":"2015-09-22T08:41:21Z","body":"Are these logs from the server or agent?\r\n\r\nI noticed recently that the server takes time to apply macros after starting. That is, if your agent requests configuration too early, the macros (`{$PG_CONN}` and `{$PG_DB}`) are not expanded causing the items to become unsupported. After a while, when the agent refreshes its config, the keys are expanded.\r\n\r\nThis doesn't make sense but I was able to reproduce the issue. I'll take a look into it again and confirm.\r\n\r\nPlease also let me know your findings."}}