Community-based GPL-licensed network monitoring system
Go to file
Marek Wobst 22f84ef3d8
Add additional sorting options for Availability Map (#14073)
* Fix IPv6 in service check host (#13939)

* Add hostName cleaning to Clean

* Apply RFC 5952 formatting to Clean::hostName output

* Use more liberal cleaning for hostnames

* Remove unwanted whitespace

* Apply Clean::hostName() to all relevant fields

* Fix docstring

* Use IP::isValid inline

* Update Clean.php

* Update services.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>

* Add sorting support for additional columns + dual column

Additional columns are Display Name (display) and System Name (sysName)

Dual column means that first is sorted after status, then within
each status group another sort is done (every columns from single column
sorting is possible).

* Change code for styleCI

* Expand availability map sorting menu

Also change sysName to System Name – there is no real reason for
that short form.

* Add german translation for avail. map sorting/display options

* Adjust sorting behaviour in Availability Map

The dropdown now presents two options:

- Display Text: Sort by the selected value of the dropdown 'Display Text'
- Status: Sort by status, then by selected value of dropdown 'Display Text'

As the field 'display' (The display name) may contain template functions
etc., sorting is not done by SQL means; instead custom sorting is done
within the controller.

* Apply fix for styleCI

* Apply fix for styleCI, part 2

* Update availability-map.blade.php

* Update availability-map.blade.php

* Update availability-map.blade.php

* Update de.json

* Update AvailabilityMapController.php

* Update AvailabilityMapController.php

* Update availability-map.blade.php

* Update de.json

Co-authored-by: Sander Steffann <sander@steffann.nl>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-09-07 20:02:00 -05:00
.github PHPStan: Remove PHP version constraint (#14314) 2022-09-06 23:43:51 +02:00
app Add additional sorting options for Availability Map (#14073) 2022-09-07 20:02:00 -05: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 Add @signedGraphTag() and @signedGraphUrl() blade directives (#14269) 2022-09-03 12:48:43 -05:00
database Migrate xDSL code to module, and add support for VDSL2 MIB (#14207) 2022-09-07 19:29:17 -05:00
doc Migrate xDSL code to module, and add support for VDSL2 MIB (#14207) 2022-09-07 19:29:17 -05:00
html Migrate xDSL code to module, and add support for VDSL2 MIB (#14207) 2022-09-07 19:29:17 -05:00
includes Migrate xDSL code to module, and add support for VDSL2 MIB (#14207) 2022-09-07 19:29:17 -05:00
LibreNMS Migrate xDSL code to module, and add support for VDSL2 MIB (#14207) 2022-09-07 19:29:17 -05:00
licenses Swich links to https (#12511) 2021-02-09 00:29:04 +01:00
logs Restore gitignore file contents (#9784) 2019-02-06 06:57:44 -06:00
mibs Initial support for Moxa AWK Industrial APs (#14197) 2022-08-15 08:55:34 +02:00
misc Migrate xDSL code to module, and add support for VDSL2 MIB (#14207) 2022-09-07 19:29:17 -05:00
resources Add additional sorting options for Availability Map (#14073) 2022-09-07 20:02:00 -05:00
routes Add @signedGraphTag() and @signedGraphUrl() blade directives (#14269) 2022-09-03 12:48:43 -05:00
rrd Restore gitignore file contents (#9784) 2019-02-06 06:57:44 -06:00
scripts Save-test-data to refresh all variants of an OS (#14231) 2022-08-26 15:29:14 -05:00
sql-schema Improve Markdown syntax in Document (#12949) 2021-06-16 21:16:21 +02:00
storage Update to Laravel 5.7 (PHP 7.3 support) (#9800) 2019-02-12 17:45:04 -06:00
tests Migrate xDSL code to module, and add support for VDSL2 MIB (#14207) 2022-09-07 19:29:17 -05:00
.codeclimate.yml More codeclimate tuning (#9197) 2018-09-13 12:18:58 -05:00
.editorconfig Update dependencies (#13310) 2021-10-02 18:04:59 -05: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
.git-blame-ignore-revs Add revisions to ignore in git blame (#14206) 2022-08-15 10:13:22 -05:00
.gitignore Add revisions to ignore in git blame (#14206) 2022-08-15 10:13:22 -05:00
.php-cs-fixer.php Bump php-cs-fixer to 3.4.0 (#14224) 2022-08-23 16:45:57 +02: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
addhost.php Better device:add error output (#13913) 2022-04-12 22:07:01 -05:00
adduser.php Apply fixes from StyleCI (#12117) 2020-09-21 14:54:51 +02:00
alerts.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
artisan Update dependencies (#13310) 2021-10-02 18:04:59 -05:00
AUTHORS.md Health Overlib Correction (#12203) 2020-10-11 17:07:52 -05:00
billing-calculate.php Percentage calculation helper (#14235) 2022-08-24 21:01:54 +02:00
CHANGELOG.md Small Cleanup (#8871) 2018-07-07 13:55:17 +01:00
check-services.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
CODE_OF_CONDUCT.md Remove hardcoded URLs to doc (#12364) 2020-11-27 23:34:58 +01:00
composer.json Remove Caffeine (#14277) 2022-09-02 11:11:14 +03:00
composer.lock Remove Caffeine (#14277) 2022-09-02 11:11:14 +03:00
config_to_json.php Install: Validate database before migrating (#12867) 2021-05-13 07:18:54 -05:00
config.php.default Cleanup config.php.default (#13297) 2021-09-30 09:42:03 +02:00
CONTRIBUTING.md documentation link fixes (#10848) 2019-11-19 17:14:15 +01:00
cronic shellcheck (#12258) 2020-11-11 23:21:15 +01:00
daily.php Fix some ErrorExceptions (#14241) 2022-08-25 10:03:06 +02:00
daily.sh Implement system for user packages in composer (#13718) 2022-02-02 17:33:23 +01:00
delhost.php Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
discovery-wrapper.py Full Python code fusion / refactor and hardening 2nd edition (#13188) 2021-09-27 14:24:25 -05:00
discovery.php Validate: use "database version" instead of "mysql version" (#14158) 2022-07-29 11:36:18 -05:00
dist-pollers.php Apply fixes from StyleCI (#12117) 2020-09-21 14:54:51 +02:00
irc.php Swich links to https (#12511) 2021-02-09 00:29:04 +01:00
librenms-service.py Updated dispatcher service (librenms-service.py) to accept a group list (#13413) 2021-10-28 08:22:15 -05:00
librenms.cron Move cronjob time for daily.sh (#14245) 2022-08-25 18:37:24 +02:00
librenms.nonroot.cron Move cronjob time for daily.sh (#14245) 2022-08-25 18:37:24 +02:00
LICENSE.txt Swich links to https (#12511) 2021-02-09 00:29:04 +01:00
lnms Fix disabling of built-in commands when using ./lnms (#12308) 2020-11-19 22:51:20 +01:00
mkdocs.yml Update to mkdocs-material 8.3.9 (#14189) 2022-08-08 14:25:37 +02:00
package-lock.json Bump terser from 4.8.0 to 4.8.1 (#14123) 2022-07-20 10:18:08 +02:00
package.json Update to tailwind 3 (#13695) 2022-01-26 19:10:56 -06:00
pbin.sh Quote bug (#12548) 2021-02-22 15:41:27 +01:00
phpstan-baseline-deprecated.neon Dashboard code cleanup (#13996) 2022-05-31 08:08:40 -05:00
phpstan-baseline.neon Improved Modern Modules (#14315) 2022-09-07 23:53:16 +02:00
phpstan-deprecated.neon Use phpstan-deprecation-rules instead (#13582) 2021-11-30 09:33:14 +01:00
phpstan.neon PHPStan: Remove PHP version constraint (#14314) 2022-09-06 23:43:51 +02:00
phpunit.xml Laravel 8.x Shift (#12235) 2020-11-03 10:18:31 -06:00
ping.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
poll-billing.php Remove billing schema check (#14209) 2022-08-15 19:16:05 -05:00
poller-wrapper.py Full Python code fusion / refactor and hardening 2nd edition (#13188) 2021-09-27 14:24:25 -05:00
poller.php Validate: use "database version" instead of "mysql version" (#14158) 2022-07-29 11:36:18 -05:00
README.md Remove links to freenode (#13101) 2021-08-05 10:33:23 -05:00
renamehost.php Add renamehost function result handling and exit codes (#12980) 2021-06-25 00:34:16 +02:00
requirements.txt Fix PyMySQL upstream dependency bug (#13508) 2021-11-12 09:58:17 -06:00
SECURITY.md Create SECURITY.md 2021-12-03 08:06:33 -06:00
server.php Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
services-wrapper.py Full Python code fusion / refactor and hardening 2nd edition (#13188) 2021-09-27 14:24:25 -05:00
snmp-scan.py Added --ping-only to snmp-scan.py (#13810) 2022-04-22 01:27:40 -05:00
snmpd.conf.example Clarify non-x86 hardware info sources for snmpd (#12253) 2020-10-22 02:39:06 +02:00
snmptrap.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
syslog.php Update syslog.php (#13150) 2021-08-22 19:07:07 -05:00
tailwind.config.js Update to tailwind 3 (#13695) 2022-01-26 19:10:56 -06:00
validate.php Validate: use "database version" instead of "mysql version" (#14158) 2022-07-29 11:36:18 -05:00
webpack.mix.js Update dependencies (#13310) 2021-10-02 18:04:59 -05:00

Test Status

Introduction

LibreNMS is an auto-discovering 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 behavior towards others.

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-2021 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 https://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]