Files
librenms-librenms/LibreNMS
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
..
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-07-17 08:18:10 -05:00
2023-03-13 22:32:22 +01:00
2023-05-24 22:21:54 +02:00
2023-04-17 06:51:35 -05:00
2023-06-13 13:35:00 +02:00
2022-12-15 21:48:43 -06:00
2023-04-21 19:52:47 -05:00
2022-11-09 09:47:19 +01:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-04-28 17:13:55 +02:00
2021-02-09 00:29:04 +01:00