aboutsummarylogtreecommitdiffstats
path: root/nagios-nrpe-plugin.install
diff options
context:
space:
mode:
authorMark Grimes2015-09-24 18:04:37 -0400
committerMark Grimes2015-09-24 18:07:26 -0400
commitf5f9c29f06ccf912d76b21bd5e2dcb8e314271f4 (patch)
treef8f37532e02b009ab522f7400da62de8f8903f8b /nagios-nrpe-plugin.install
parentda076b7cd3ca297ffbb1c0547eee4906a46c0f86 (diff)
downloadaur-f5f9c29f06ccf912d76b21bd5e2dcb8e314271f4.tar.gz
Changes the install location back to /usr/share/nagios/libexec
- Putting it in /usr/lib/monitoring-plugins would require patching (not setting a config flag). Users are better off setting $USER1$ in the /etc/nagios/resource.cfg file to point to /usr/lib/monitoring-plugins rather than monkeying with symlinks. - This requires changing $USER1$/check_nrpe in the /etc/nagios/objects/commands.cfg file, to /usr/share/nagios/libexec/check_nrpe.
Diffstat (limited to 'nagios-nrpe-plugin.install')
-rw-r--r--nagios-nrpe-plugin.install12
1 files changed, 7 insertions, 5 deletions
diff --git a/nagios-nrpe-plugin.install b/nagios-nrpe-plugin.install
index 40975dbc06b4..577e4639c0c7 100644
--- a/nagios-nrpe-plugin.install
+++ b/nagios-nrpe-plugin.install
@@ -1,9 +1,11 @@
post_install() {
- echo "check_nrpe has been moved to /usr/lib/monitoring-plugins to"
- echo "be consistent with the change from nagios-plugins to"
- echo "monitoring-plugins. You may need to tell nagios where the"
- echo "plugins are located, or symlink /usr/share/nagios/libexec to"
- echo "/usr/lib/monitoring-plugins."
+ echo "check_nrpe is now installed in /usr/share/nagios/libexec."
+ echo "If you are using monitoring-plugins, it is recommended"
+ echo "that /usr/share/nagios/libexec *not* be symlinked to"
+ echo "/usr/lib/monitoring-plugins. Instead, in /etc/nagios/resource.cfg"
+ echo "set $USER1$=/usr/lib/monitoring-plugins and in"
+ echo "/etc/nagios/objects/commands.cfg change the relevant lines to"
+ echo "to 'command_line /usr/share/nagios/libexec/check_nrpe ...'."
}
post_upgrade() {