summaryrefslogtreecommitdiff
path: root/files/centos/private
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-04-25 16:56:08 +0000
committermh <mh@immerda.ch>2008-04-25 16:56:08 +0000
commitb02e8ca70dae3e8c21b3927df3a5b0f96dbc5fff (patch)
tree25d5cc76585e1f3afaab57f8cd28e16b08e6a86e /files/centos/private
parent96f6c68481aa62cf27a7d8d9cfd983841105a635 (diff)
moved source
Diffstat (limited to 'files/centos/private')
-rw-r--r--files/centos/private/resource.cfg.i38634
-rw-r--r--files/centos/private/resource.cfg.x86_6434
2 files changed, 68 insertions, 0 deletions
diff --git a/files/centos/private/resource.cfg.i386 b/files/centos/private/resource.cfg.i386
new file mode 100644
index 0000000..0ccf2e1
--- /dev/null
+++ b/files/centos/private/resource.cfg.i386
@@ -0,0 +1,34 @@
+###########################################################################
+#
+# RESOURCE.CFG - Sample Resource File for Nagios 2.9
+#
+# Last Modified: 09-10-2003
+#
+# 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.
+#
+# Nagios 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/lib/nagios/plugins
+
+# Sets $USER2$ to be the path to event handlers
+#$USER2$=/usr/lib64/nagios/plugins/eventhandlers
+
+# Store some usernames and passwords (hidden from the CGIs)
+#$USER3$=someuser
+#$USER4$=somepassword
+
diff --git a/files/centos/private/resource.cfg.x86_64 b/files/centos/private/resource.cfg.x86_64
new file mode 100644
index 0000000..b9f0841
--- /dev/null
+++ b/files/centos/private/resource.cfg.x86_64
@@ -0,0 +1,34 @@
+###########################################################################
+#
+# RESOURCE.CFG - Sample Resource File for Nagios 2.9
+#
+# Last Modified: 09-10-2003
+#
+# 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.
+#
+# Nagios 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/lib64/nagios/plugins
+
+# Sets $USER2$ to be the path to event handlers
+#$USER2$=/usr/lib64/nagios/plugins/eventhandlers
+
+# Store some usernames and passwords (hidden from the CGIs)
+#$USER3$=someuser
+#$USER4$=somepassword
+