summaryrefslogtreecommitdiff
path: root/package/icinga/src/etc/icinga/resource.cfg
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2011-12-03 12:21:37 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2011-12-03 12:21:37 +0100
commit79f8f9c199a30524b5636c00e86fc8f179caf6f2 (patch)
treea83c54b46d244496d8b7d7a693eab447c407bcbc /package/icinga/src/etc/icinga/resource.cfg
parent80003c2b6747bb215348b6870bd67bae34232f23 (diff)
add icinga core
Diffstat (limited to 'package/icinga/src/etc/icinga/resource.cfg')
-rw-r--r--package/icinga/src/etc/icinga/resource.cfg32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/icinga/src/etc/icinga/resource.cfg b/package/icinga/src/etc/icinga/resource.cfg
new file mode 100644
index 000000000..d8f3e1473
--- /dev/null
+++ b/package/icinga/src/etc/icinga/resource.cfg
@@ -0,0 +1,32 @@
+###########################################################################
+#
+# RESOURCE.CFG - Sample Resource File for Icinga
+#
+# You can define $USERx$ macros in this file, which can in turn be used
+# in command definitions in your host config file(s). $USERx$ macros are
+# useful for storing sensitive information such as usernames, passwords,
+# etc. They are also handy for specifying the path to plugins and
+# event handlers - if you decide to move the plugins or event handlers to
+# a different directory in the future, you can just update one or two
+# $USERx$ macros, instead of modifying a lot of command definitions.
+#
+# The CGIs will not attempt to read the contents of resource files, so
+# you can set restrictive permissions (600 or 660) on them.
+#
+# Icinga supports up to 32 $USERx$ macros ($USER1$ through $USER32$)
+#
+# Resource files may also be used to store configuration directives for
+# external data sources like MySQL...
+#
+###########################################################################
+
+# Sets $USER1$ to be the path to the plugins
+$USER1$=/usr/libexec
+
+# Sets $USER2$ to be the path to event handlers
+#$USER2$=/usr/libexec/eventhandlers
+
+# Store some usernames and passwords (hidden from the CGIs)
+#$USER3$=someuser
+#$USER4$=somepassword
+