author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 6 Sep 2009 08:54:01 +0000 (10:54 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 6 Sep 2009 08:54:01 +0000 (10:54 +0200) | ||
commit | f4dbf81c3905ad55805a4c8bf7362e2594c7ec98 | |
tree | 8963e5aff082a1ff7a8d2f6de7a1ade9fbb0cd76 | tree | snapshot |
parent | d5b8034697529e745a9173f2b272c9429e97ae4a | commit | diff |
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
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 | diff | blob | history | |
src/unixsock.c | diff | blob | history | |
src/utils_cmd_getthreshold.c | [new file with mode: 0644] | blob |
src/utils_cmd_getthreshold.h | [new file with mode: 0644] | blob |