mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Move `resources/lang` folder * Shift registered middleware * Remove `fruitcake/laravel-cors` dependency * Streamline `$commands` property * Upgrade to Flysystem 3.0 * Shift core files * Convert `optional()` to nullsafe operator * Remove unnecessary `$model` property * Convert route options to fluent methods Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods. * Convert deprecated `$dates` property to `$casts` * Shift config files * Default config files In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used. * Bump Laravel dependencies * Use `<env>` tags for configuration `<env>` tags have a lower precedence than system environment variables making it easier to overwrite PHPUnit configuration values in additional environments, such a CI. Review this blog post for more details on configuration precedence when testing Laravel: https://jasonmccreary.me/articles/laravel-testing-configuration-precedence/ * Fix error provider * Match new symfony syntax * Match upstream syntax * Fix route syntax * generate composer.lock * Sync back configs * routes * composer * Fix more flare * fix cors * sync lang * Apply fixes from StyleCI (#14517) Co-authored-by: StyleCI Bot <bot@styleci.io> * bump larastan * update packages * wip * Temporarily lower phpstan level * Update phpstan.neon * wip * wip * wip * Apply fixes from StyleCI (#14592) Co-authored-by: StyleCI Bot <bot@styleci.io> * test * Update CiHelper.php * Update test.yml * Update CiHelper.php * Update CiHelper.php * Apply fixes from StyleCI (#14616) Co-authored-by: StyleCI Bot <bot@styleci.io> * test? * fix phpstan problems * dont run snmpsim on github ci * Fix whitespace * More whitespace * More whitespace ??? * I think the space broke it * fix the reset of the whitespace * hard code auth guard --------- Co-authored-by: Shift <shift@laravelshift.com> Co-authored-by: StyleCI Bot <bot@styleci.io> Co-authored-by: Tony Murray <murraytony@gmail.com>
105 lines
4.7 KiB
PHP
105 lines
4.7 KiB
PHP
<?php
|
|
|
|
return [
|
|
'settings' => [
|
|
'settings' => [
|
|
'poller_groups' => [
|
|
'description' => 'Assigned Groups',
|
|
'help' => 'This node will only take action on devices in these poller groups.',
|
|
],
|
|
'poller_enabled' => [
|
|
'description' => 'Poller Enabled',
|
|
'help' => 'Enable poller workers on this node.',
|
|
],
|
|
'poller_workers' => [
|
|
'description' => 'Poller Workers',
|
|
'help' => 'Amount of poller workers to spawn on this node.',
|
|
],
|
|
'poller_frequency' => [
|
|
'description' => 'Poller Frequency (Warning!)',
|
|
'help' => 'How often to poll devices on this node. Warning! Changing this without fixing rrd files will break graphs. See docs for more info.',
|
|
],
|
|
'poller_down_retry' => [
|
|
'description' => 'Device Down Retry',
|
|
'help' => 'If a device is down when polling is attempted on this node. This is the amount of time to wait before retrying.',
|
|
],
|
|
'discovery_enabled' => [
|
|
'description' => 'Discovery Enabled',
|
|
'help' => 'Enable discovery workers on this node.',
|
|
],
|
|
'discovery_workers' => [
|
|
'description' => 'Discovery Workers',
|
|
'help' => 'Amount of discovery workers to run on this node. Setting too high can cause overload.',
|
|
],
|
|
'discovery_frequency' => [
|
|
'description' => 'Discovery Frequency',
|
|
'help' => 'How often to run device discovery on this node. Default is 4 times a day.',
|
|
],
|
|
'services_enabled' => [
|
|
'description' => 'Services Enabled',
|
|
'help' => 'Enable services workers on this node.',
|
|
],
|
|
'services_workers' => [
|
|
'description' => 'Services Workers',
|
|
'help' => 'Amount of services workers on this node.',
|
|
],
|
|
'services_frequency' => [
|
|
'description' => 'Services Frequency',
|
|
'help' => 'How often to run services on this node. This should match poller frequency.',
|
|
],
|
|
'billing_enabled' => [
|
|
'description' => 'Billing Enabled',
|
|
'help' => 'Enable billing workers on this node.',
|
|
],
|
|
'billing_frequency' => [
|
|
'description' => 'Billing Frequency',
|
|
'help' => 'How often to collect billing data on this node.',
|
|
],
|
|
'billing_calculate_frequency' => [
|
|
'description' => 'Billing Calculate Frequency',
|
|
'help' => 'How often to calculate bill usage on this node.',
|
|
],
|
|
'alerting_enabled' => [
|
|
'description' => 'Alerting Enabled',
|
|
'help' => 'Enable the alerting worker on this node.',
|
|
],
|
|
'alerting_frequency' => [
|
|
'description' => 'Alerting Frequency',
|
|
'help' => 'How often alert rules are checked on this node. Note that data is only updated based on poller frequency.',
|
|
],
|
|
'ping_enabled' => [
|
|
'description' => 'Fast Ping Enabled',
|
|
'help' => 'Fast Ping just pings devices to check if they are up or down',
|
|
],
|
|
'ping_frequency' => [
|
|
'description' => 'Ping Frequency',
|
|
'help' => 'How often to check ping on this node. Warning! If you change this you must make additional changes. Check the Fast Ping docs.',
|
|
],
|
|
'update_enabled' => [
|
|
'description' => 'Daily Maintenance Enabled',
|
|
'help' => 'Run daily.sh maintenance script and restart the dispatcher service afterwards.',
|
|
],
|
|
'update_frequency' => [
|
|
'description' => 'Maintenance Frequency',
|
|
'help' => 'How often to run daily maintenance on this node. Default is 1 Day. It is highly suggested not to change this.',
|
|
],
|
|
'loglevel' => [
|
|
'description' => 'Log Level',
|
|
'help' => 'Log level of the dispatch service.',
|
|
],
|
|
'watchdog_enabled' => [
|
|
'description' => 'Watchdog Enabled',
|
|
'help' => 'Watchdog monitors the log file and restarts the service it it has not been updated',
|
|
],
|
|
'watchdog_log' => [
|
|
'description' => 'Log File to Watch',
|
|
'help' => 'Default is the LibreNMS log file.',
|
|
],
|
|
],
|
|
'units' => [
|
|
'seconds' => 'Seconds',
|
|
'workers' => 'Workers',
|
|
],
|
|
],
|
|
];
|