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 efdbed41..282f299e 100644 --- a/plugins/utils.h +++ b/plugins/utils.h @@ -79,6 +79,18 @@ const char *state_text (int result); #define max(a,b) (((a)>(b))?(a):(b)) +char *perfdata (const char *label, + long int val, + const char *uom, + int warnp, + long int warn, + int critp, + long int crit, + int minp, + long int minv, + int maxp, + long int maxv); + /* The idea here is that, although not every plugin will use all of these, most will or should. Therefore, for consistency, these very common options should have only these meanings throughout the overall suite */ |