Advertisement
Guest User

Untitled

a guest
Sep 4th, 2014
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. /etc/zabbix/zabbix_agent.conf:
  2. file:
  3. - managed
  4. - source: salt://zabbix/zabbix_agent.conf
  5.  
  6. /etc/zabbix/zabbix_agentd.conf:
  7. file:
  8. - managed
  9. - source: salt://zabbix/zabbix_agentd.conf
  10.  
  11. /etc/zabbix_agent.conf:
  12. file:
  13. - managed
  14. - source: salt://zabbix/zabbix_agent.conf
  15.  
  16. /etc/zabbix_agentd.conf:
  17. file:
  18. - managed
  19. - source: salt://zabbix/zabbix_agentd.conf
  20.  
  21.  
  22. zabbix22-agent:
  23. pkg:
  24. - installed
  25.  
  26. zabbix-agent:
  27. service:
  28. - running
  29. - enable: True
  30. - watch:
  31. - file: /etc/zabbix/zabbix_agent.conf
  32. - file: /etc/zabbix/zabbix_agentd.conf
  33. - file: /etc/zabbix_agent.conf
  34. - file: /etc/zabbix_agentd.conf
  35.  
  36. {% if grains['host'] == 'mysql?' %}
  37.  
  38. /etc/zabbix_agentd.userparams.conf:
  39. file:
  40. - managed
  41. - source: salt://zabbix/userparameter_percona_mysql.conf
  42.  
  43. /var/lib/zabbix/percona/scripts/ss_get_mysql_stats.php.cnf:
  44. file:
  45. - managed
  46. - source: salt://zabbix/ss_get_mysql_stats.php.cnf
  47.  
  48. /var/lib/zabbix/.my.cnf:
  49. file:
  50. - managed
  51. - source: salt://zabbix/my.cnf
  52.  
  53. {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement