From 645f76d35020dbd97253f242f66042e92e5152ac Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sat, 29 Sep 2018 04:01:33 +0200 Subject: [PATCH] Small typo --- CHANGELOG.md | 2 +- README.md | 8 ++++---- entrypoint.sh | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c38fd9..e454565 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## 1.43-RC5 (2018/09/29) -* Ability to add custom nagios plugins through `/data/nagios-plugins` +* Ability to add custom Nagios plugins through `/data/nagios-plugins` * Install official nagios-plugins package * Services enabled by default diff --git a/README.md b/README.md index 4822912..aec511e 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ If you are interested, [check out](https://hub.docker.com/r/crazymax/) my other * Cron tasks as a ["sidecar" container](#cron) * Syslog-ng support through a ["sidecar" container](#syslog-ng) * Ability to configure [distributed polling](https://docs.librenms.org/#Extensions/Distributed-Poller/#distributed-poller) -* Ability to add custom nagios plugins +* Ability to add custom Nagios plugins * OPCache enabled to store precompiled script bytecode in shared memory ### From docker-compose @@ -87,7 +87,7 @@ If you are interested, [check out](https://hub.docker.com/r/crazymax/) my other ### Volumes -* `/data` : Contains configuration, rrd database, logs, additional nagios plugins, additional syslog-ng config files +* `/data` : Contains configuration, rrd database, logs, additional Nagios plugins, additional syslog-ng config files ### Ports @@ -220,9 +220,9 @@ You have to create a configuration file to enable syslog in LibreNMS too. Create $config['enable_syslog'] = 1; ``` -## Additional nagios plugins +## Additional Nagios plugins -You can add a custom nagios plugin in `/data/nagios-plugins/`. +You can add a custom Nagios plugin in `/data/nagios-plugins/`. > ⚠️ Container has to be restarted to propagate changes diff --git a/entrypoint.sh b/entrypoint.sh index 2829ebe..af4bd88 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -209,8 +209,8 @@ chmod ug+rw ${DATA_PATH}/logs \ ${LIBRENMS_PATH}/storage \ ${LIBRENMS_PATH}/storage/framework/* -# Check additional nagios plugins -echo "Checking additional nagios plugins..." +# Check additional Nagios plugins +echo "Checking additional Nagios plugins..." nagios_plugins=$(ls -l ${DATA_PATH}/nagios-plugins | egrep '^-' | awk '{print $9}') for nagios_plugin in ${nagios_plugins}; do if [ -f "/usr/lib/nagios/plugins/${nagios_plugin}" ]; then @@ -225,7 +225,7 @@ for nagios_plugin in ${nagios_plugins}; do echo " WARNING: Nagios plugin file ${nagios_plugin} has to be executable. Skipping..." continue fi - echo " Adding ${nagios_plugin} nagios plugin" + echo " Adding ${nagios_plugin} Nagios plugin" ln -sf ${DATA_PATH}/nagios-plugins/${nagios_plugin} /usr/lib/nagios/plugins/${nagios_plugin} done