summaryrefslogtreecommitdiffstats
path: root/plugins/utils.h
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-26 10:44:14 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-26 10:44:14 (GMT)
commit68e8cc5f4dde114f706e28130b6c0f2779706a01 (patch)
treeb49a0330a9700e344c3df5542b52e2f1ad6c3fbd /plugins/utils.h
parent1db3424e5f6b0b8cfbf41a287fe48296931be72b (diff)
downloadmonitoring-plugins-68e8cc5f4dde114f706e28130b6c0f2779706a01.tar.gz
function to make perfdata output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@696 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 efdbed4..282f299 100644
--- a/plugins/utils.h
+++ b/plugins/utils.h
@@ -79,6 +79,18 @@ const char *state_text (int result);
79 79
80#define max(a,b) (((a)>(b))?(a):(b)) 80#define max(a,b) (((a)>(b))?(a):(b))
81 81
82char *perfdata (const char *label,
83 long int val,
84 const char *uom,
85 int warnp,
86 long int warn,
87 int critp,
88 long int crit,
89 int minp,
90 long int minv,
91 int maxp,
92 long int maxv);
93
82/* The idea here is that, although not every plugin will use all of these, 94/* The idea here is that, although not every plugin will use all of these,
83 most will or should. Therefore, for consistency, these very common 95 most will or should. Therefore, for consistency, these very common
84 options should have only these meanings throughout the overall suite */ 96 options should have only these meanings throughout the overall suite */