unixsock plugin: Implement the “GETTHRESHOLD” command.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 6 Sep 2009 08:54:01 +0000 (10:54 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 6 Sep 2009 08:54:01 +0000 (10:54 +0200)
commitf4dbf81c3905ad55805a4c8bf7362e2594c7ec98
tree8963e5aff082a1ff7a8d2f6de7a1ade9fbb0cd76
parentd5b8034697529e745a9173f2b272c9429e97ae4a
unixsock plugin: Implement the “GETTHRESHOLD” command.

Example session:
 -> GETTHRESHOLD "leeloo.lan.home.verplant.org/cpu-3/cpu-idle"
 <- 6 Threshold found
 <- Type: cpu
 <- Type Instance: idle
 <- Warning Min: 5
 <- Warning Max: 100
 <- Failure Min: 1
 <- Failure Max: 120
src/Makefile.am
src/unixsock.c
src/utils_cmd_getthreshold.c [new file with mode: 0644]
src/utils_cmd_getthreshold.h [new file with mode: 0644]