From b5f3dc2e11daae975e3a28e740eb7bf1c1f47127 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 25 Apr 2008 17:06:44 +0000 Subject: moved configs finally --- files/configs/private/resource.cfg.i386 | 34 ------------------------ files/configs/private/resource.cfg.i386.Centos | 34 ++++++++++++++++++++++++ files/configs/private/resource.cfg.x86_64 | 34 ------------------------ files/configs/private/resource.cfg.x86_64.Centos | 34 ++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 68 deletions(-) delete mode 100644 files/configs/private/resource.cfg.i386 create mode 100644 files/configs/private/resource.cfg.i386.Centos delete mode 100644 files/configs/private/resource.cfg.x86_64 create mode 100644 files/configs/private/resource.cfg.x86_64.Centos (limited to 'files/configs/private') diff --git a/files/configs/private/resource.cfg.i386 b/files/configs/private/resource.cfg.i386 deleted file mode 100644 index 0ccf2e1..0000000 --- a/files/configs/private/resource.cfg.i386 +++ /dev/null @@ -1,34 +0,0 @@ -########################################################################### -# -# 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/configs/private/resource.cfg.i386.Centos b/files/configs/private/resource.cfg.i386.Centos new file mode 100644 index 0000000..0ccf2e1 --- /dev/null +++ b/files/configs/private/resource.cfg.i386.Centos @@ -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/configs/private/resource.cfg.x86_64 b/files/configs/private/resource.cfg.x86_64 deleted file mode 100644 index b9f0841..0000000 --- a/files/configs/private/resource.cfg.x86_64 +++ /dev/null @@ -1,34 +0,0 @@ -########################################################################### -# -# 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 - diff --git a/files/configs/private/resource.cfg.x86_64.Centos b/files/configs/private/resource.cfg.x86_64.Centos new file mode 100644 index 0000000..b9f0841 --- /dev/null +++ b/files/configs/private/resource.cfg.x86_64.Centos @@ -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 + -- cgit v1.2.3