Updated install docs to specify copying librenms.cron rather than symlink

This commit is contained in:
laf
2015-03-25 20:42:19 +00:00
parent 0cd8b17d37
commit 590a4321cf
3 changed files with 8 additions and 8 deletions

View File

@@ -154,13 +154,13 @@ Discover localhost and poll it for the first time:
php discovery.php -h all && php poller.php -h all php discovery.php -h all && php poller.php -h all
LibreNMS uses Job Snijders' [poller-wrapper.py][1]. By default, the cron job runs `poller-wrapper.py` with 16 threads. The current recommendation is to use 4 threads per core as a rule of thumb. If the thread count needs to be changed, you can do so by editing `librenms.cron` before copying (or by editing `/etc/cron.d/librenms` if you've already copied the cron file). Just add a number after `poller-wrapper.py`, as in the example below: LibreNMS uses Job Snijders' [poller-wrapper.py][1]. By default, the cron job runs `poller-wrapper.py` with 16 threads. The current recommendation is to use 4 threads per core as a rule of thumb. If the thread count needs to be changed, you can do so by editing the cron file (`/etc/cron.d/librenms`). Just add a number after `poller-wrapper.py`, as in the example below:
/opt/librenms/poller-wrapper.py 12 >> /dev/null 2>&1 /opt/librenms/poller-wrapper.py 12 >> /dev/null 2>&1
Create the cronjob Create the cronjob
ln -s $PWD/librenms.cron /etc/cron.d/librenms cp librenms.cron /etc/cron.d/librenms
### Daily Updates ### ### Daily Updates ###

View File

@@ -187,9 +187,8 @@ the public domain by its author. By default, the LibreNMS cronjob runs `poller-
wrapper.py` with 16 threads. The current LibreNMS recommendation is to use 4 th wrapper.py` with 16 threads. The current LibreNMS recommendation is to use 4 th
reads per core. The default if no thread count is `16 threads`. reads per core. The default if no thread count is `16 threads`.
If the thread count needs to be changed, you can do so by editing `librenms.cron If the thread count needs to be changed, you can do so by editing the cron file (`/etc/cron.d/librenms`).
` before copying (or by editing `/etc/cron.d/librenms` if you've already copied the cron file). Just add a number after `poller-wrapper.py`, as in the below ex Just add a number after `poller-wrapper.py`, as in the below example:
ample:
/opt/librenms/poller-wrapper.py 12 >> /dev/null 2>&1 /opt/librenms/poller-wrapper.py 12 >> /dev/null 2>&1

View File

@@ -130,13 +130,14 @@ Discover localhost and poll it for the first time:
The polling method used by LibreNMS is `poller-wrapper.py`, which was placed in the public domain by its author. By default, the LibreNMS cronjob runs `poller-wrapper.py` with 16 threads. The current LibreNMS recommendation is to use 4 threads per core. The default if no thread count is `16 threads`. The polling method used by LibreNMS is `poller-wrapper.py`, which was placed in the public domain by its author. By default, the LibreNMS cronjob runs `poller-wrapper.py` with 16 threads. The current LibreNMS recommendation is to use 4 threads per core. The default if no thread count is `16 threads`.
If the thread count needs to be changed, you can do so by editing `librenms.cron` before copying (or by editing `/etc/cron.d/librenms` if you've already copied the cron file). Just add a number after `poller-wrapper.py`, as in the below example: If the thread count needs to be changed, you can do so by editing the cron file (`/etc/cron.d/librenms`).
Just add a number after `poller-wrapper.py`, as in the below example:
/opt/librenms/poller-wrapper.py 12 >> /dev/null 2>&1 /opt/librenms/poller-wrapper.py 12 >> /dev/null 2>&1
Create the cronjob Create the cronjob
ln -s librenms.cron /etc/cron.d/librenms cp librenms.cron /etc/cron.d/librenms
### Daily Updates ### ### Daily Updates ###
@@ -146,4 +147,4 @@ LibreNMS performs daily updates by default. At 00:15 system time every day, a `
so that it looks like this: so that it looks like this:
$config['update'] = 0; $config['update'] = 0;