summaryrefslogtreecommitdiffstats
path: root/lib/compat/checkresultreader.ti
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compat/checkresultreader.ti')
-rw-r--r--lib/compat/checkresultreader.ti20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/compat/checkresultreader.ti b/lib/compat/checkresultreader.ti
new file mode 100644
index 0000000..0132818
--- /dev/null
+++ b/lib/compat/checkresultreader.ti
@@ -0,0 +1,20 @@
+/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
+
+#include "base/configobject.hpp"
+#include "base/application.hpp"
+
+library compat;
+
+namespace icinga
+{
+
+class CheckResultReader : ConfigObject
+{
+ activation_priority 100;
+
+ [config] String spool_dir {
+ default {{{ return Configuration::DataDir + "/spool/checkresults/"; }}}
+ };
+};
+
+}