Server groups & SSH array #17

Closed
opened 2 years ago by momar · 5 comments
momar commented 2 years ago
Owner

Create groups of servers that show as a single section with the specific server name below each check.

Also, allow to run the same checks on multiple servers using an array as the "ssh" field.

Create groups of servers that show as a single section with the specific server name below each check. Also, allow to run the same checks on multiple servers using an array as the "ssh" field.
momar added this to the v2 milestone 2 years ago
momar added the
backend
label 2 years ago
momar added
feature
critical
and removed
critical
labels 2 years ago
Poster
Owner

This could look e.g. like this:

group {
  name = "example"
  server {
    ...
  }
  server {
    ...
  }
  check { # valid for all servers, also possible at top-level
    ...
  }
}

Or, using SSH arrays:

server {
  ssh = ["...", "..."]
  check {
    ...
  }
]
This could look e.g. like this: ```hcl group { name = "example" server { ... } server { ... } check { # valid for all servers, also possible at top-level ... } } ``` Or, using SSH arrays: ```hcl server { ssh = ["...", "..."] check { ... } ] ```
Poster
Owner

Alright, SSH array is not needed if we have groups, I'd rather keep this simple & configuring than doing a lot of magic.

Alright, SSH array is not needed if we have groups, I'd rather keep this simple & configuring than doing a lot of magic.
Poster
Owner

Groups are working in the feature-hcl branch, and sub-groups and checks in the config root are also possible.

Groups are working in the feature-hcl branch, and sub-groups and checks in the config root are also possible.
momar added the
waiting-for-merge
label 2 years ago
Poster
Owner

It's not shown in the UI yet though, which will be moved to a different issue for v3

It's not shown in the UI yet though, which will be moved to a different issue for v3
Collaborator

Approved!

Approved!
zottelchin closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.