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.

38 lines
1.3KB

  1. check:
  2. local_linux_system_zombie_procs:
  3. command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -w 3 -c 7 -s Z"
  4. interval: 60
  5. occurrences: 3
  6. subscribers:
  7. - local-linux-system
  8. local_linux_system_total_procs:
  9. command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -w 5000 -c 10000"
  10. interval: 60
  11. occurrences: 5
  12. subscribers:
  13. - local-linux-system
  14. local_linux_system_load:
  15. command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_load -r -w 6,4,2 -c 12,8,4"
  16. interval: 60
  17. occurrences: 1
  18. subscribers:
  19. - local-linux-system
  20. local_linux_storage_swap_usage:
  21. command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_swap -a -w 50% -c 20%"
  22. interval: 60
  23. occurrences: 1
  24. subscribers:
  25. - local-linux-storage
  26. local_linux_storage_disk_usage:
  27. command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_disk -w 15% -c 5% -p / -p /var -p /usr -p /tmp -p /var/log"
  28. interval: 60
  29. occurrences: 1
  30. subscribers:
  31. - local-linux-storage
  32. local_linux_network_fqdn:
  33. command: "PATH=$PATH:/etc/sensu/plugins check_fqdn.py -n :::hostname::: -f :::fqdn:::"
  34. interval: 60
  35. occurrences: 1
  36. subscribers:
  37. - local-linux-network