Community-based GPL-licensed network monitoring system
Go to file
Marek Wobst 0e952b9c98
Add module support for wrapper script calls (#14055)
* Add module support for wrapper script calls

The scripts poller.php and discovery.php offer a module
option (-m), which may be used to specify specific modules
for polling/discovery, possibly for special (and then faster) testing
or for example rediscovering the fdb table (on all hosts).

Until now, this was not possible with the python wrapper scripts.
Now they support a '-m' option, where comma separated module names
may be passed. This will currently only work with poller and discovery, though.

* Replace single quotation signs with double ones (empty strings only)

* Fix more code lines (quotation signs, indentation)

Also 'reduced' if-else-clause size at end of LibreNMS/wrapper.py
(do not call method at each branch, instead prepare a value for modules)

* Add commas after last parameter of dict+methode

Also an additional comment sign before #

* Fix two leftover single quot. signs …

* doc: Add documentation for module support
2023-07-19 23:09:57 -05:00
.github Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
app Skip hostnames which are blank when generating the smokeping config (#15144) 2023-07-14 16:50:37 -05:00
bootstrap Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
cache fix: page/graph load speed: part 1 (#6611) 2017-05-10 08:57:10 +01:00
config Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
database Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
dist Add a validation for checking if the scheduler is running (#14987) 2023-04-24 10:04:50 +02:00
doc Add module support for wrapper script calls (#14055) 2023-07-19 23:09:57 -05:00
html Update dark.css (#15155) 2023-07-19 22:22:42 -05:00
includes add the Mojo CAPE Submit app (#15140) 2023-07-19 22:41:51 -05:00
lang Added missing zh-tw translation. (#15125) 2023-06-27 22:26:01 -05:00
LibreNMS Add module support for wrapper script calls (#14055) 2023-07-19 23:09:57 -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 Add support for PrimeKey Software Appliance (#15059) 2023-07-07 23:35:53 -05:00
misc Logsize monitoring for LibreNMS (#15137) 2023-07-19 22:02:23 -05:00
resources Tests: Fix Dusk tests after 13626 (#15057) 2023-05-23 19:23:15 +02:00
routes Add API endpoint to get service graphs (#15138) 2023-07-19 22:19:43 -05:00
rrd Restore gitignore file contents (#9784) 2019-02-06 06:57:44 -06:00
scripts Exit non-zero if composer bin not found (#15120) 2023-06-26 17:25:42 +02: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 add the Mojo CAPE Submit app (#15140) 2023-07-19 22:41:51 -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 Remove tabs from yaml (#14437) 2022-10-10 18:13:10 +02:00
.gitignore Add a validation for checking if the scheduler is running (#14987) 2023-04-24 10:04:50 +02: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
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 Update AUTHORS.md (#14817) 2023-01-29 20:52:50 +00:00
billing-calculate.php Refactor billing (#14979) 2023-04-21 19:52:47 -05:00
CHANGELOG.md Small Cleanup (#8871) 2018-07-07 13:55:17 +01:00
check-services.php Remove Log::event (#14526) 2022-11-09 09:47:19 +01:00
CODE_OF_CONDUCT.md Remove hardcoded URLs to doc (#12364) 2020-11-27 23:34:58 +01:00
composer.json Update Ziggy (#15151) 2023-07-17 09:56:24 -05:00
composer.lock Update Ziggy (#15151) 2023-07-17 09:56:24 -05: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 change chunk to chunkById (#15139) 2023-07-07 11:53:15 -05:00
daily.sh Add MAC OUI caching when code updates are disabled (#14713) 2022-12-09 17:28:29 +01:00
delhost.php Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
discovery-wrapper.py Add module support for wrapper script calls (#14055) 2023-07-19 23:09:57 -05:00
discovery.php version and git helper improvements (#14412) 2022-10-02 00:41:56 -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
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 Re-add the Ubuntu Image page and links (#15041) 2023-05-18 08:38:45 -05:00
package-lock.json Bump webpack from 5.66.0 to 5.76.1 (#14901) 2023-03-15 08:16:42 -05: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 Refactor billing (#14979) 2023-04-21 19:52:47 -05:00
phpstan-baseline.neon Dependency Updates (#15149) 2023-07-17 08:18:10 -05:00
phpstan-deprecated.neon PHPStan: Enable more checks (#14318) 2022-09-09 07:08:06 -05:00
phpstan.neon phpstan: new baseline (#15015) 2023-04-28 17:13:55 +02:00
phpunit.xml Laravel 9.x Shift (#14504) 2023-04-17 06:51:35 -05:00
ping.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
poll-billing.php Refactor billing (#14979) 2023-04-21 19:52:47 -05:00
poller-wrapper.py Add module support for wrapper script calls (#14055) 2023-07-19 23:09:57 -05:00
poller.php version and git helper improvements (#14412) 2022-10-02 00:41:56 -05:00
README.md Update Copyright year to 2023 in README.md (#14972) 2023-04-17 06:50:57 -05:00
renamehost.php Add renamehost function result handling and exit codes (#12980) 2021-06-25 00:34:16 +02:00
requirements.txt Implement authentication for Redis/Sentinel (#14805) 2023-04-14 07:11:44 -05:00
SECURITY.md Add SECURITY.md (#14359) 2022-09-18 01:00:38 -05: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 snmp-scan filter for dns resolved devices (#14934) 2023-04-07 13:24:18 -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 version and git helper improvements (#14412) 2022-10-02 00:41:56 -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-2023 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]