-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API not working #111
Comments
HI andreguihon, Thank you for making time to create this issue. You also have to specify the agent to manage_resources, like this:
Kind regards, |
Thank you for your reply dj-wasabi! |
No, it should work with setting the |
How can I know that? I installed using puppet module install... Here is the return of the puppet module list: root@ZbxServer:~# puppet module list So I'm guessing I'm on version 1.5.0! |
Not a clue on what I'm missing here? |
When adding the parameter I can't replicate your problem. I have some Ubuntu 14.04 hosts with puppet 3.8.2 with the same wdijkerman-zabbix version (1.5.0) and it all works. |
When adding the parameter manage_resource => true, you did execute an puppet run on the agent and server? |
Ok, as you said you have same environment as me and yours works, I rolled back the VM, installed Ubuntu again, on both server and agent and... Nothing, same problem! :( ON SERVER: ON AGENT SIDE Checked the FrontEnd and the agent is not there yet! Just to be sure, ran the puppet agent -t again, twice on each side, and still nothing. Do you need any other info? Can I help you to help me? |
Have you installed the puppetdb?
|
*Have you installed the puppetdb? * |
PERFECT! That was the problem! As soon as I configured puppetdb properly, it all worked just fine and out of the box! Thank you very much for your help! |
Hello, I'm using the module to try to configure a Zabbix Server, a Zabbix Agent and import templates.
The first two things are done! I can correctly install the Zabbix Server and the Zabbix Agent.
I put the manage_resources in the zabbix server declaration, but the Zabbix Agent is not going to the zabbix UI.
Also, I cannot import templates, as they don't appear in the UI also.
As 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.
Ps. I'm using Ubuntu 14.04 for both server and client, and puppet 3.8.2 on both.
node 'zbxserver.powers.com.br' {
class { 'apache':
mpm_module => 'prefork',
}
include apache::mod::php
#lass { 'postgresql::server': }
class { 'mysql::server': }
class { 'zabbix':
zabbix_url => 'zabbix.zbxserver.powers.com.br',
database_type => 'mysql',
manage_resources => true,
zabbix_api_user => 'Admin',
zabbix_api_pass => 'zabbix',
}
zabbix::template { '.BS. Firewall - Fortinet':
templ_source => 'puppet:///modules/zasdasdabbix/fn.xmdasdasl',
}
}
node 'zbxagent.powers.com.br' {
class { 'zabbix::agent':
server => 'zbxserver.powers.com.br',
}
}
The text was updated successfully, but these errors were encountered: