Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.0KB

  1. local_plugin:
  2. linux_network_netlink:
  3. plugin: netlink
  4. template: linux/files/collectd_netlink.conf
  5. ignore_selected: false
  6. {%- if 'linux_netlink.ls' in salt.keys() %}
  7. interfaces:
  8. {%- for interface_name in salt['linux_netlink.ls']() %}
  9. - {{ interface_name }}
  10. {%- endfor %}
  11. {%- endif %}
  12. linux_system_cpu:
  13. plugin: cpu
  14. linux_system_entropy:
  15. plugin: entropy
  16. linux_system_load:
  17. plugin: load
  18. linux_system_contextswitch:
  19. plugin: contextswitch
  20. linux_system_memory:
  21. plugin: memory
  22. linux_system_uptime:
  23. plugin: uptime
  24. linux_system_users:
  25. plugin: users
  26. linux_storage_df:
  27. plugin: df
  28. template: linux/files/collectd_df.conf
  29. ignore_selected: True
  30. fs_types:
  31. - rootfs
  32. - sysfs
  33. - proc
  34. - devtmpfs
  35. - devpts
  36. - tmpfs
  37. - fusectl
  38. - cgroup
  39. linux_storage_disk:
  40. plugin: disk
  41. template: linux/files/collectd_disk.conf
  42. ignore_selected: True
  43. linux_storage_swap:
  44. plugin: swap
  45. template: linux/files/collectd_swap.conf
  46. report_bytes: True