check_lv_snap.conf 526 B

1234567891011121314151617181920212223
  1. object CheckCommand "check_lv_snap" {
  2. import "plugin-check-command"
  3. command = [ "/usr/bin/sudo", FFHOPluginDir + "/check_lv_snap" ]
  4. arguments = {
  5. "--regex" = {
  6. required = false
  7. value = "$lv_snap_regex$"
  8. repeat_key = false
  9. }
  10. "--warning" = {
  11. required = false
  12. value = "$lv_snap_warning_secs$"
  13. }
  14. "--critical" = {
  15. required = false
  16. value = "$lv_snap_critical_secs$"
  17. }
  18. "--delete" = {
  19. set_if = "$lv_snap_delete$"
  20. description = "Only show snapshots overdue for deletion in output"
  21. }
  22. }
  23. }