Saltstack Official Linux Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {%- from "linux/map.jinja" import monitoring with context %}
  2. agent:
  3. input:
  4. cpu:
  5. percpu: false
  6. totalcpu: true
  7. disk:
  8. ignore_fs:
  9. - aufs
  10. - rootfs
  11. - sysfs
  12. - proc
  13. - devtmpfs
  14. - devpts
  15. - tmpfs
  16. - fusectl
  17. - cgroup
  18. - overlay
  19. diskio:
  20. kernel:
  21. net:
  22. mem:
  23. nstat:
  24. fieldpass:
  25. - packet_drop
  26. - time_squeeze
  27. processes:
  28. swap:
  29. system:
  30. procstat:
  31. process:
  32. sshd:
  33. exe: sshd
  34. cron:
  35. exe: cron
  36. linux_sysctl_fs:
  37. {%- if monitoring.bond_status.interfaces is defined and monitoring.bond_status.interfaces %}
  38. bond:
  39. template: linux/files/telegraf.conf
  40. {%- if monitoring.bond_status.interfaces is list %}
  41. bond_interfaces: {{ monitoring.bond_status.interfaces }}
  42. {%- endif %}
  43. {%- if monitoring.bond_status.host_proc is defined %}
  44. host_proc: {{ monitoring.bond_status.host_proc }}
  45. {%- endif %}
  46. {%- endif %}