Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
00f2abb
Add initial documentation for runtime modules
isbm Jan 21, 2026
13aefca
Add Lua runtime (initial commit)
isbm Jan 21, 2026
a525fb2
Lintfix schema checker
isbm Jan 21, 2026
5329f09
Add examples description
isbm Jan 21, 2026
dbf79bc
Add a module that calls an external command and returns STDOUT back. …
isbm Jan 21, 2026
17ea7bd
Add an example to read an external file and return the desired output…
isbm Jan 21, 2026
a2025c0
Add a bit more complex basic example how to split a Lua program into …
isbm Jan 21, 2026
c31b525
Update Lua runtime loader to be package-aware.
isbm Jan 21, 2026
87ffa2a
Update one of the Lua examples
isbm Jan 21, 2026
c6ca8b5
Add dependencies for man rendering
isbm Jan 22, 2026
2cc4e8c
Render help on Lua modules
isbm Jan 22, 2026
f712346
Update comments
isbm Jan 22, 2026
f0917cc
Change module lister to STDOUT: cleaner, sparse and compact
isbm Jan 22, 2026
eb1235a
Add strum deps
isbm Jan 23, 2026
b665b4b
Add runtime spec (initial)
isbm Jan 23, 2026
7b6b373
Config should auto-add sharelib (used by a runtime)
isbm Jan 23, 2026
d89ec2f
Replace hardcoded stuff with spec in schema checker
isbm Jan 23, 2026
c211784
Replace hardcoded function names with the RT spec
isbm Jan 23, 2026
4545617
Move log to the trace level (still needed, but very little)
isbm Jan 23, 2026
b22ccfa
Fix sharelib resolver
isbm Jan 23, 2026
9015fbc
Add runtime subpath spec for modules (at least it is a standard one),…
isbm Jan 23, 2026
68f6019
Move mod_doc validator to the library
isbm Jan 23, 2026
1c018a2
Add docstrings to the Lua Runtime
isbm Jan 23, 2026
4d4b0b7
Add manpage section to the mod_doc
isbm Jan 23, 2026
ec126b0
Add a very simple markup language to colorise the output
isbm Jan 23, 2026
cfecdfe
Write a small manpage for the help
isbm Jan 23, 2026
e4671fc
Set library directory
isbm Jan 23, 2026
9e21c82
Fix manpage print, add indent block function
isbm Jan 23, 2026
b51ca53
Update examples readme on Lua modules
isbm Jan 23, 2026
89771fd
Move examples to a proper structure
isbm Jan 23, 2026
b89da44
Fix runtime sharelib structure, add manpage to the mod_doc
isbm Jan 23, 2026
1d2dd4b
Allow any types as module params (finally, d'oh!)
isbm Jan 23, 2026
b56f0d0
Renew relinfo
isbm Jan 24, 2026
e1e0df0
Add Lua tutorial
isbm Jan 24, 2026
60fc513
Update params according to the spec
isbm Jan 24, 2026
466ca5e
Add module listing per JSON integration — mostly useless, but why not…
isbm Jan 24, 2026
6aa794a
Add logging from the scripts
isbm Jan 24, 2026
4ea4e47
Add logging example in the Lua script
isbm Jan 24, 2026
4d3ef77
Update documentation
isbm Jan 24, 2026
0752bd6
Update manpage for native clib inclusion
isbm Jan 24, 2026
613b50c
Update Lua runtime description
isbm Jan 24, 2026
653c7b9
Add a flag to allow/ban native module loading
isbm Jan 24, 2026
7eab0cb
Add minion config option to forward logs from modules to the main logger
isbm Jan 24, 2026
bb23f33
Implement log forwarder
isbm Jan 24, 2026
e8a206d
Update minion config documentation
isbm Jan 24, 2026
f7cc37e
Set log forwarding to true by default
isbm Jan 24, 2026
4ae4555
Standardise module data output. Swap internal logs data key, if they …
isbm Jan 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 132 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ openssl = { version = "0.10.75", features = ["vendored"] }
resolver = "2"
members = [
"modules/sys/*",
"modules/runtime/*",
"libsysinspect",
"libeventreg",
"sysmaster",
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ define move_bin
mkdir -p $$dir/sys; \
rm -rf $$dir/fs; \
mkdir -p $$dir/fs; \
rm -rf $$dir/runtime; \
mkdir -p $$dir/runtime; \
mv $$dir/proc $$dir/sys/; \
mv $$dir/net $$dir/sys/; \
mv $$dir/run $$dir/sys/; \
mv $$dir/ssrun $$dir/sys/; \
mv $$dir/file $$dir/fs/;
mv $$dir/file $$dir/fs/; \
mv $$dir/lua-runtime $$dir/runtime/;
endef

setup:
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
project = "Sysinspect"
copyright = "2024, Bo Maryniuk"
copyright = "2026, Bo Maryniuk"
author = "Bo Maryniuk"
version = "0.4.0"
release = "Alpha"
# release = "Alpha"

extensions = [
"myst_parser",
Expand Down
17 changes: 17 additions & 0 deletions docs/global_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,23 @@ Example configuration for the Sysinspect Minion:
master.ip: 192.168.2.31
master.port: 4200

``log.forward``
##################

Type: **boolean**

Forward logs from actions and modules to the main sysinspect log, landing them in the main log file.
If disabled, logs from actions and modules will not be forwarded to the main sysinspect log but are kept
within their own context inside the returned data and will travel across the whole network back to the master.

Thus, disabling this feature on a large cluster might inflate your network traffic so much that your network
admin will start believe in ghosts and aliens.

.. warning::

Disable this option only if you really know what you are doing.

Default is ``true``

Layout of ``/etc/sysinspect``
-----------------------------
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ welcome—see the section on contributing for how to get involved.
tutorial/cfgmgmt_tutor
tutorial/action_chain_tutor
tutorial/module_management
tutorial/lua_modules_tutor


Licence
Expand Down
Loading
Loading