1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-07-21 01:15:53 +00:00

Small typo

This commit is contained in:
CrazyMax 2018-09-29 04:01:33 +02:00
parent 4cf15d866d
commit 645f76d350
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
3 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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