Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/librenms/files/pkg-message.in
=== Configuration details === | === Configuration details === | ||||
The following is recommended for /var/db/mysql/my.cnf | The following is recommended for /usr/local/my.cnf | ||||
mat: `%%LOCALBASE%%/etc/mysql/my.cnf`. | |||||
NOTE: these are global settings. Please read this first: | NOTE: these are global settings. Please read this first: | ||||
http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html | http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html | ||||
[mysqld] | [mysqld] | ||||
innodb_file_per_table=1 | innodb_file_per_table=1 | ||||
sql-mode="" | sql-mode="" | ||||
Show All 9 Lines | |||||
33 */6 * * * www cd %%WWWDIR%% && %%PHP%% discovery.php -h all >> /dev/null 2>&1 | 33 */6 * * * www cd %%WWWDIR%% && %%PHP%% discovery.php -h all >> /dev/null 2>&1 | ||||
*/5 * * * * www cd %%WWWDIR%% && %%PHP%% discovery.php -h new >> /dev/null 2>&1 | */5 * * * * www cd %%WWWDIR%% && %%PHP%% discovery.php -h new >> /dev/null 2>&1 | ||||
*/5 * * * * www cd %%WWWDIR%% && %%PYTHON%% poller-wrapper.py 16 >> /dev/null 2>&1 | */5 * * * * www cd %%WWWDIR%% && %%PYTHON%% poller-wrapper.py 16 >> /dev/null 2>&1 | ||||
15 0 * * * www %%LOCALBASE%%/bin/bash %%WWWDIR%%/daily.sh >> /dev/null 2>&1 | 15 0 * * * www %%LOCALBASE%%/bin/bash %%WWWDIR%%/daily.sh >> /dev/null 2>&1 | ||||
* * * * * www %%PHP%% %%WWWDIR%%/alerts.php >> /dev/null 2>&1 | * * * * * www %%PHP%% %%WWWDIR%%/alerts.php >> /dev/null 2>&1 | ||||
*/5 * * * * www %%PHP%% %%WWWDIR%%/poll-billing.php >> /dev/null 2>&1 | */5 * * * * www %%PHP%% %%WWWDIR%%/poll-billing.php >> /dev/null 2>&1 | ||||
01 * * * * www %%PHP%% %%WWWDIR%%/billing-calculate.php >> /dev/null 2>&1 | 01 * * * * www %%PHP%% %%WWWDIR%%/billing-calculate.php >> /dev/null 2>&1 | ||||
*/5 * * * * www %%PHP%% %%WWWDIR%%/check-services.php >> /dev/null 2>&1 | */5 * * * * www %%PHP%% %%WWWDIR%%/check-services.php >> /dev/null 2>&1 | ||||
For a fresh install, you need to create an APP_KEY: | |||||
cd %%WWWDIR%% | |||||
cp -i .env.sample .env | |||||
Not Done Inline ActionsThis is something I wish we could do for the user, but it is site-specific and generates a key for the app. dvl: This is something I wish we could do for the user, but it is site-specific and generates a key… | |||||
You might need to set your database details in that file | |||||
Then run: | |||||
php artisan key:generate | |||||
The output should look something like this: | |||||
************************************** | |||||
* Application In Production! * | |||||
************************************** | |||||
Do you really wish to run this command? (yes/no) [no]: | |||||
> y | |||||
Application key [base64:P62La9V........qw=] set successfully. | |||||
After that, follow the LibreNMS documentation for configuration. | |||||
Done Inline ActionsAhh yes, this needs to be added to your configuration file. I think I will also create an UPDATING entry. dvl: Ahh yes, this needs to be added to your configuration file. I think I will also create an… |
%%LOCALBASE%%/etc/mysql/my.cnf.