diff options
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index c2b0641..35e62ab 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -92,6 +92,18 @@ char *perfdata (const char *label, | |||
92 | int maxp, | 92 | int maxp, |
93 | long int maxv); | 93 | long int maxv); |
94 | 94 | ||
95 | char *fperfdata (const char *label, | ||
96 | double val, | ||
97 | const char *uom, | ||
98 | int warnp, | ||
99 | double warn, | ||
100 | int critp, | ||
101 | double crit, | ||
102 | int minp, | ||
103 | double minv, | ||
104 | int maxp, | ||
105 | double maxv); | ||
106 | |||
95 | /* The idea here is that, although not every plugin will use all of these, | 107 | /* The idea here is that, although not every plugin will use all of these, |
96 | most will or should. Therefore, for consistency, these very common | 108 | most will or should. Therefore, for consistency, these very common |
97 | options should have only these meanings throughout the overall suite */ | 109 | options should have only these meanings throughout the overall suite */ |