Code

Adding check_mysql_query, using new ranges and threshold checking
[nagiosplug.git] / plugins / utils.h
index ffcb39daeec77c5e16e0c6b76b9e5bb7527f02d0..2345ed560d24ab694052fa19578a325f9af5e273 100644 (file)
@@ -181,6 +181,12 @@ char *fperfdata (const char *,
  -c, --critical=DOUBLE\n\
     Response time to result in critical status (seconds)\n"
 
+#define UT_WARN_CRIT_RANGE "\
+ -w, --warning=RANGE\n\
+    Warning range (format: start:end). Alert if outside this range\n\
+ -c, --critical=RANGE\n\
+    Critical range\n"
+
 #define UT_TIMEOUT "\
  -t, --timeout=INTEGER\n\
     Seconds before connection times out (default: %d)\n"