summaryrefslogtreecommitdiffstats
path: root/plugins/utils.h
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-02-20 05:21:21 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-02-20 05:21:21 +0000
commit7ba54264fb8b614f0ea0bc9eab5c974e2dca7cd8 (patch)
tree78785a8fc62d7b89937efa9b5c23d007be7cee43 /plugins/utils.h
parent01a27016b794c8f779231bdf9ca48b371a4c7c85 (diff)
downloadmonitoring-plugins-7ba54264fb8b614f0ea0bc9eab5c974e2dca7cd8.tar.gz
add perfdata function for floats to complement ints, also spell fix "received"
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@817 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.h')
-rw-r--r--plugins/utils.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/utils.h b/plugins/utils.h
index c2b06415..35e62ab4 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
95char *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 */