{"action":"created","issue":{"url":"https://api.github.com/repos/dj-wasabi/puppet-zabbix/issues/111","labels_url":"https://api.github.com/repos/dj-wasabi/puppet-zabbix/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/dj-wasabi/puppet-zabbix/issues/111/comments","events_url":"https://api.github.com/repos/dj-wasabi/puppet-zabbix/issues/111/events","html_url":"https://github.com/dj-wasabi/puppet-zabbix/issues/111","id":101000432,"number":111,"title":"API not working","user":{"login":"andreguilhon","id":4137253,"avatar_url":"https://avatars.githubusercontent.com/u/4137253?v=3","gravatar_id":"","url":"https://api.github.com/users/andreguilhon","html_url":"https://github.com/andreguilhon","followers_url":"https://api.github.com/users/andreguilhon/followers","following_url":"https://api.github.com/users/andreguilhon/following{/other_user}","gists_url":"https://api.github.com/users/andreguilhon/gists{/gist_id}","starred_url":"https://api.github.com/users/andreguilhon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreguilhon/subscriptions","organizations_url":"https://api.github.com/users/andreguilhon/orgs","repos_url":"https://api.github.com/users/andreguilhon/repos","events_url":"https://api.github.com/users/andreguilhon/events{/privacy}","received_events_url":"https://api.github.com/users/andreguilhon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-14T12:23:00Z","updated_at":"2015-08-20T16:24:46Z","closed_at":null,"body":"Hello, I'm using the module to try to configure a Zabbix Server, a Zabbix Agent and import templates.\r\nThe first two things are done! I can correctly install the Zabbix Server and the Zabbix Agent. \r\nI put the manage_resources in the zabbix server declaration, but the Zabbix Agent is not going to the zabbix UI. \r\nAlso, I cannot import templates, as they don't appear in the UI also. \r\nAs I'm a (really) newbie in puppet, I'm almos sure I'm doing something wrong. Can you help me? Bellow is my site.pp file contents. Let me know if I should put some other info. \r\nPs. I'm using Ubuntu 14.04 for both server and client, and puppet 3.8.2 on both.\r\n\r\nnode 'zbxserver.powers.com.br' {\r\n  class { 'apache':\r\n    mpm_module => 'prefork',\r\n  }\r\n  include apache::mod::php\r\n\r\n  #lass { 'postgresql::server': }\r\n  class { 'mysql::server': }\r\n\r\n  class { 'zabbix':\r\n    zabbix_url    => 'zabbix.zbxserver.powers.com.br',\r\n    database_type => 'mysql',\r\n    manage_resources => true,\r\n    zabbix_api_user => 'Admin',\r\n    zabbix_api_pass => 'zabbix',\r\n\r\n  }\r\n  zabbix::template { '.BS. Firewall - Fortinet':\r\n    templ_source => 'puppet:///modules/zasdasdabbix/fn.xmdasdasl',\r\n  }\r\n\r\n}\r\nnode 'zbxagent.powers.com.br' {\r\n  class { 'zabbix::agent':\r\n  server => 'zbxserver.powers.com.br',\r\n}\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/dj-wasabi/puppet-zabbix/issues/comments/133066023","html_url":"https://github.com/dj-wasabi/puppet-zabbix/issues/111#issuecomment-133066023","issue_url":"https://api.github.com/repos/dj-wasabi/puppet-zabbix/issues/111","id":133066023,"user":{"login":"andreguilhon","id":4137253,"avatar_url":"https://avatars.githubusercontent.com/u/4137253?v=3","gravatar_id":"","url":"https://api.github.com/users/andreguilhon","html_url":"https://github.com/andreguilhon","followers_url":"https://api.github.com/users/andreguilhon/followers","following_url":"https://api.github.com/users/andreguilhon/following{/other_user}","gists_url":"https://api.github.com/users/andreguilhon/gists{/gist_id}","starred_url":"https://api.github.com/users/andreguilhon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreguilhon/subscriptions","organizations_url":"https://api.github.com/users/andreguilhon/orgs","repos_url":"https://api.github.com/users/andreguilhon/repos","events_url":"https://api.github.com/users/andreguilhon/events{/privacy}","received_events_url":"https://api.github.com/users/andreguilhon/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T16:24:46Z","updated_at":"2015-08-20T16:24:46Z","body":"**When adding the parameter manage_resource => true, you did execute an puppet run on the agent and server?**\r\nYES! Several times!\r\n**You have an correct DNS entry for 'zabbix.zbxserver.powers.com.br' ?**\r\nI have an entry in the /etc/hosts. This should do the trick, correct? (in both server and agent)\r\n **Does the puppet run show any errors/messages?**\r\nNO!"}}