purplehazech / puppet-zabbix

zabbix module with focus on using zabbix api to provision zabbix from puppet
GNU Affero General Public License v3.0
7 stars 6 forks source link

Can you add an example of how to deploy the zabbix server & frontend using the module? #12

Open glesperance opened 11 years ago

hairmare commented 11 years ago

Hi Gabriel

Thanks for reporting the issue.

I plan on adding that type of documentation as soon as I do the next round of integration. I plan on doing this soonish, but it is actually difficult to say when it will be ready.

For now, here is a ENC config I am using on a (gentoo) staging environment to test the module.

{
   "_id": "zabbix.example.com",
   "classes": {
       "mysql::server": {
           "config_hash": {
               "root_password": "mysqlrootpassword",
               "bind_address": "local.ip"
           }
       },
       "zabbix::server": {
           "hostname": "zabbix",
           "db_database": "zabbix",
           "db_user": "zabbixuser",
           "db_password": "zabbixpass",
           "db_server": "zabbix.example.com"
       },
       "zabbix::frontend": {
           "server_host": "zabbix.example.com",
           "server_name": "zabbix",
           "version": "2.0.4-r1",
           "db_server": "zabbix.example.com",
           "db_user": "zabbixuser",
           "db_password": "zabbixpass",
           "db_port": "3306"
       },
       "zabbix::frontend::vhost": {
           "timezone": "Europe/Zurich"
       },
       "zabbix::agent": {
           "server": "local.ip"
       },
   },
   "environment": "production"
}

Currently the main development is happening on the api branch. A lot of the issues that have already been fixed are in that branch.

I'll gladly keep your issue open so I don't forget to add the docs when I'm through with integration. Please feel free to ask questions if you need answers now and I'll do my best to answer them.

Regards Lucas

Edit: I grabbed the wrong machine, updated answer...