Skip to content

Commit

Permalink
ndsudo add 'chronyc serverstats' (netdata#18056)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyam8 authored Jul 1, 2024
1 parent eb93428 commit a698070
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/collectors/plugins.d/ndsudo.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ struct command {
const char *params;
const char *search[MAX_SEARCH];
} allowed_commands[] = {
{
.name = "chronyc-serverstats",
.params = "serverstats",
.search = {
[0] = "chronyc",
[1] = NULL,
},
},
{
.name = "dmsetup-status-cache",
.params = "status --target cache --noflush",
Expand Down

0 comments on commit a698070

Please sign in to comment.