ndsudo add 'chronyc serverstats' (#18056)
Ilya Mashchenko committed
Jul 1, 2024 at 23:38 UTC
a698070253a575f5345fc20437eac004e7cd0399
1 file changed
+8
src/collectors/plugins.d/ndsudo.c
+8
@@ -13,6 +13,14 @@ struct command {
13
const char *params;
14
const char *search[MAX_SEARCH];
15
} allowed_commands[] = {
16
+ {
17
+ .name = "chronyc-serverstats",
18
+ .params = "serverstats",
19
+ .search = {
20
+ [0] = "chronyc",
21
+ [1] = NULL,
22
+ },
23
+ },
24
{
25
.name = "dmsetup-status-cache",
26
.params = "status --target cache --noflush",