summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8490780)
raw | patch | inline | side by side (parent: 8490780)
author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 5 Feb 2009 21:38:52 +0000 (22:38 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 5 Feb 2009 21:38:52 +0000 (22:38 +0100) |
src/utils_threshold.c | patch | blob | history |
diff --git a/src/utils_threshold.c b/src/utils_threshold.c
index 68b85a37468bb639e5ea0c5f96c1615b162b7984..fd6257c5a0cb9c2f4a0fc884d88a060c677c85aa 100644 (file)
--- a/src/utils_threshold.c
+++ b/src/utils_threshold.c
return (0);
} /* }}} int ut_check_threshold */
+/*
+ * int ut_check_interesting (PUBLIC)
+ *
+ * Given an identification returns
+ * 0: No threshold is defined.
+ * 1: A threshold has been found. The flag `persist' is off.
+ * 2: A threshold has been found. The flag `persist' is on.
+ * (That is, it is expected that many notifications are sent until the
+ * problem disappears.)
+ */
int ut_check_interesting (const char *name)
-{
+{ /* {{{ */
char *name_copy = NULL;
char *host = NULL;
char *plugin = NULL;
if ((th->flags & UT_FLAG_PERSIST) == 0)
return (1);
return (2);
-} /* int ut_check_interesting */
+} /* }}} int ut_check_interesting */
/* vim: set sw=2 ts=8 sts=2 tw=78 fdm=marker : */