Go to file
RobJE e1497ecf0b
shellcheck (#12258)
* remove unneeded semi-colons at end of line

* fix SC2206: Quote to prevent word splitting/globbing

* fix SC2164: Use 'cd ... || exit' in case cd fails

* fix SC2004: $/${} is unnecessary on arithmetic variables.

* fix SC2155: Declare and assign separately to avoid masking return values.

* fix SC2124: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.

* fix SC2059: Don't use variables in the printf format string. Use printf "..%s.." "$foo".

* fix SC2076: Don't quote rhs of =~, it'll match literally rather than as a regex.

* fix SC1090: Can't follow non-constant source. Use a directive to specify location.

* fix SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.

* SC2223: This default assignment may cause DoS due to globbing. Quote it.

* fix SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.

* fix SC1117: Backslash is literal in "\n". Prefer explicit escaping: "\\n"

* better handling of branch comapre

* add missing local ver_73 from merge

* remove duplicate definition
2020-11-11 23:21:15 +01:00
.github Use lnms dev:check instead of pre-commit.php (#12149) 2020-09-24 12:32:03 +02:00
LibreNMS Convert Virtual Machine pages to Laravel (#12287) 2020-11-11 01:15:20 +01:00
app Convert Virtual Machine pages to Laravel (#12287) 2020-11-11 01:15:20 +01:00
bootstrap Update to Composer 2 (#12263) 2020-11-09 00:28:07 -06:00
cache fix: page/graph load speed: part 1 (#6611) 2017-05-10 08:57:10 +01:00
config Laravel 8.x Shift (#12235) 2020-11-03 10:18:31 -06:00
contrib Remove some unused files (#12307) 2020-11-07 22:00:47 -06:00
database Convert Virtual Machine pages to Laravel (#12287) 2020-11-11 01:15:20 +01:00
doc Update distributed poller documentation (#12312) 2020-11-11 23:05:02 +01:00
html New device support named BTI SA-800 Series (#12264) 2020-11-11 23:13:55 +01:00
includes New device support named BTI SA-800 Series (#12264) 2020-11-11 23:13:55 +01:00
licenses delete old stuff, put licenses into licenses 2011-09-29 15:58:18 +00:00
logs Restore gitignore file contents (#9784) 2019-02-06 06:57:44 -06:00
mibs New device support named BTI SA-800 Series (#12264) 2020-11-11 23:13:55 +01:00
misc Convert Virtual Machine pages to Laravel (#12287) 2020-11-11 01:15:20 +01:00
resources Convert Virtual Machine pages to Laravel (#12287) 2020-11-11 01:15:20 +01:00
routes Convert Virtual Machine pages to Laravel (#12287) 2020-11-11 01:15:20 +01:00
rrd Restore gitignore file contents (#9784) 2019-02-06 06:57:44 -06:00
scripts shellcheck (#12258) 2020-11-11 23:21:15 +01:00
sql-schema Alert template clean up "\r\n\n" (#10541) 2019-09-05 04:34:24 +00:00
storage Update to Laravel 5.7 (PHP 7.3 support) (#9800) 2019-02-12 17:45:04 -06:00
tests New device support named BTI SA-800 Series (#12264) 2020-11-11 23:13:55 +01:00
.codeclimate.yml More codeclimate tuning (#9197) 2018-09-13 12:18:58 -05:00
.editorconfig Update to Laravel 5.7 (PHP 7.3 support) (#9800) 2019-02-12 17:45:04 -06:00
.env.example create .env if non-existing 2020-06-27 07:47:08 -05:00
.env.travis fix test env 2020-06-27 08:23:58 -05:00
.gitignore Unbundle javascript language files (#10788) 2019-11-08 15:18:41 +00:00
.php_cs Update dev:check style to use php-cs-fixer (#12132) 2020-09-23 20:54:00 -05:00
.scrutinizer.yml refactor: use Composer to manage php dependencies (#5216) 2017-01-01 09:37:15 +00:00
.styleci.yml Add StyleCI config (#12126) 2020-09-21 16:02:55 +02:00
.travis.yml Laravel 8.x Shift (#12235) 2020-11-03 10:18:31 -06:00
AUTHORS.md Health Overlib Correction (#12203) 2020-10-11 17:07:52 -05:00
CHANGELOG.md Small Cleanup (#8871) 2018-07-07 13:55:17 +01:00
CODE_OF_CONDUCT.md docs: Added code of conduct doc in root (#7055) 2017-07-21 12:36:33 -05:00
CONTRIBUTING.md documentation link fixes (#10848) 2019-11-19 17:14:15 +01:00
LICENSE.txt Update copyright instructions 2014-06-23 13:44:12 +10:00
README.md Misc changes (#11991) 2020-08-03 13:44:37 +02:00
addhost.php Apply fixes from StyleCI (#12124) 2020-09-21 15:59:34 +02:00
adduser.php Apply fixes from StyleCI (#12117) 2020-09-21 14:54:51 +02:00
alerts.php Support multiple daily process locking backends with distributed polling (#11896) 2020-10-07 07:36:35 -05:00
artisan Update to Composer 2 (#12263) 2020-11-09 00:28:07 -06:00
billing-calculate.php Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
check-services.php Apply fixes from StyleCI (#12124) 2020-09-21 15:59:34 +02:00
composer.json Update to Composer 2 (#12263) 2020-11-09 00:28:07 -06:00
composer.lock Laravel 8.x Shift (#12235) 2020-11-03 10:18:31 -06:00
config.php.default Remove DB credentials from config.php 2020-06-27 07:47:08 -05:00
config_to_json.php Remove DB credentials from config.php 2020-06-27 07:47:08 -05:00
cronic shellcheck (#12258) 2020-11-11 23:21:15 +01:00
daily.php Bump to PHP 7.3 minimum (#12288) 2020-11-03 02:56:49 +01:00
daily.sh shellcheck (#12258) 2020-11-11 23:21:15 +01:00
delhost.php Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
discovery-wrapper.py Remove DB credentials from config.php 2020-06-27 07:47:08 -05:00
discovery.php Support multiple daily process locking backends with distributed polling (#11896) 2020-10-07 07:36:35 -05:00
dist-pollers.php Apply fixes from StyleCI (#12117) 2020-09-21 14:54:51 +02:00
irc.php Apply fixes from StyleCI (#12117) 2020-09-21 14:54:51 +02:00
librenms-service.py Updated shebang on librenms-service.py (#8875) 2018-07-08 22:25:29 +01:00
librenms.cron More more docs (#4197) 2016-08-25 18:40:11 -05:00
librenms.nonroot.cron Add note to cron file advising not to disable daily.sh (#9164) 2018-09-06 22:30:31 +01:00
lnms Update to Composer 2 (#12263) 2020-11-09 00:28:07 -06:00
mkdocs.yml Use variable for PHP min version in docs (#12256) 2020-10-24 11:19:45 +02:00
package-lock.json Bump dot-prop from 4.2.0 to 4.2.1 (#12289) 2020-11-03 10:23:51 -06:00
package.json Bump lodash from 4.17.15 to 4.17.19 (#11942) 2020-07-18 16:02:41 +02:00
pbin.sh shellcheck (#12258) 2020-11-11 23:21:15 +01:00
phpunit.xml Laravel 8.x Shift (#12235) 2020-11-03 10:18:31 -06:00
ping.php Speed up tests by skipping pings (#11642) 2020-05-19 22:08:41 -05:00
poll-billing.php Apply fixes from StyleCI (#12124) 2020-09-21 15:59:34 +02:00
poller-wrapper.py Remove DB credentials from config.php 2020-06-27 07:47:08 -05:00
poller.php Apply fixes from StyleCI (#12124) 2020-09-21 15:59:34 +02:00
renamehost.php Apply fixes from StyleCI (#12117) 2020-09-21 14:54:51 +02:00
requirements.txt Fix midnight poller data loss (#11582) 2020-09-29 23:50:40 -05:00
server.php Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
services-wrapper.py Remove DB credentials from config.php 2020-06-27 07:47:08 -05:00
snmp-scan.py Add functionality to use snmp-scan.py to addto specific poller group (#12029) 2020-09-03 12:51:16 -05:00
snmpd.conf.example Clarify non-x86 hardware info sources for snmpd (#12253) 2020-10-22 02:39:06 +02:00
snmptrap.php Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
syslog.php Apply fixes from StyleCI (#12124) 2020-09-21 15:59:34 +02:00
validate.php Added new authalgo support for SNMPv3 (#11966) 2020-10-29 13:02:26 -05:00
webpack.mix.js Unbundle javascript language files (#10788) 2019-11-08 15:18:41 +00:00

README.md

Scrutinizer Status Scrutinizer Code Quality Travis Status

Introduction

LibreNMS is an autodiscovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry, HP and many more.

We intend LibreNMS to be a viable project and community that:

  • encourages contribution,
  • focuses on the needs of its users, and
  • offers a welcoming, friendly environment for everyone.

The Debian Social Contract will be the basis of our priority system, and mutual respect is the basis of our behaviour towards others. For more about the culture we're trying to build, please read the Freenode philosophy, including guidelines for running an IRC channel and being a community catalyst.

Documentation

Documentation can be found in the doc directory or docs.librenms.org, including instructions for installing and contributing.

Participating

You can participate in the project by:

VM image

You can try LibreNMS by downloading a VM image. Currently, a Ubuntu-based image is supplied and has been tested with VirtualBox.

Download one of the VirtualBox images we have available, documentation is provided which details login credentials and setup details.

License

Copyright (C) 2006-2012 Adam Armstrong adama@memetic.org

Copyright (C) 2013-2020 by individual LibreNMS contributors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

LICENSE.txt contains a copy of the full GPLv3 licensing conditions.

The following additional license conditions apply to LibreNMS (a GPL exception):

As a special exception, you have permission to link or otherwise combine LibreNMS with the included copies of the following third-party software, and distribute modified versions, as long as you follow the requirements of the GNU GPL v3 in regard to all of the remaining software (comprising LibreNMS).

Please see Acknowledgements

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]