HCL-based check configuration #27

Open
opened 2 years ago by momar · 1 comments
momar commented 2 years ago
Owner

Instead of using plain commands, add the possibility for syntactic sugar like this:

Old version (will still work):

check {
  command = "check_sudo check_disk -w 15% -c 5%"
}

New version:

check {
  type = "disk"
  sudo = true
  warn = "15%"
  crit = "5%"
}
Instead of using plain commands, add the possibility for syntactic sugar like this: Old version (will still work): ```hcl check { command = "check_sudo check_disk -w 15% -c 5%" } ``` New version: ```hcl check { type = "disk" sudo = true warn = "15%" crit = "5%" } ```
Poster
Owner

This would obviously require a plugin-like architecture to add new commands.

This would obviously require a plugin-like architecture to add new commands.
momar added this to the v4 milestone 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.