Skip to content

docs(system-monitoring): add a new tutorial - #27

Open
AngeCyp wants to merge 2 commits into
mainfrom
docs/add-system-monitoring-tutorial
Open

docs(system-monitoring): add a new tutorial#27
AngeCyp wants to merge 2 commits into
mainfrom
docs/add-system-monitoring-tutorial

Conversation

@AngeCyp

@AngeCyp AngeCyp commented Jun 17, 2026

Copy link
Copy Markdown
Member

add tutorial on how to monitor the current system in markdown book.

@AngeCyp
AngeCyp requested a review from TheElectronWill June 17, 2026 14:53
Comment thread src/tutorials/system-monitoring.md
Comment thread src/tutorials/system-monitoring.md
Comment thread src/tutorials/system-monitoring.md Outdated
Comment thread theme/index.hbs
Comment thread src/tutorials/system-monitoring_images/alumet-systemd-service.png Outdated
Comment thread theme/index.hbs

@TheElectronWill TheElectronWill left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have suggested some modifications for the beginning.
It's important to introduce things gradually:

  • install (very short, don't waste time on it here)
  • systemd service, because system monitoring
  • configuration file
  • start/enable example

Comment thread src/images/alumet-start.png Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put the images in a dedicated dir, e.g. images/tutorials/system-monitoring

Comment thread src/tutorials/system-monitoring.md Outdated
Comment on lines +23 to +32
### important files

Once installed, let's take a quick look at the files.
The configuration file of alumet could be found under:
**/etc/alumet/alumet-config.toml**, you could add all needed plugins and their configuration.

On installation, Alumet add a systemd service.
![systemd service of Alumet](../images/alumet-systemd-service.png)

As you can see, the service is not enabled and not running. So Alumet is not running for now.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### important files
Once installed, let's take a quick look at the files.
The configuration file of alumet could be found under:
**/etc/alumet/alumet-config.toml**, you could add all needed plugins and their configuration.
On installation, Alumet add a systemd service.
![systemd service of Alumet](../images/alumet-systemd-service.png)
As you can see, the service is not enabled and not running. So Alumet is not running for now.
### Systemd Service
For a system-wide monitoring, we'll use the **systemd service** that comes with the alumet package you've just installed.
![systemd service of Alumet](../images/alumet-systemd-service.png)
As you can see, the service is not enabled and not running. So, Alumet is not running for now.

Comment thread src/tutorials/system-monitoring.md Outdated
Comment on lines +34 to +35
## Prepare the configuration

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Prepare the configuration
## Prepare the Configuration
The alumet-agent started by the systemd service uses a global configuration file, located at `/etc/alumet/alumet-config.toml`.
What should we put in this file to get an effective system monitoring?

Comment thread src/tutorials/system-monitoring.md Outdated
to start Alumet

```bash
sudo systemctl start alumet.service

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not enable the service, is it intended?

You have to explain this somewhere:

systemctl enable (--now) alumet.service

@AngeCyp
AngeCyp force-pushed the docs/add-system-monitoring-tutorial branch 3 times, most recently from 2e6df9a to ba1697a Compare June 22, 2026 16:31
Comment thread src/tutorials/system-monitoring.md Outdated
![Alumet config regen](./system-monitoring_images/config-regen.png)

If you want, you can disable some plugin, going under the config file and replacing:
**enabled = true** by **enabled = false** wherever you want to disable the plugin.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not in your example config

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And it's enable not enabled

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change, but both work 😬

@AngeCyp
AngeCyp force-pushed the docs/add-system-monitoring-tutorial branch from ba1697a to 586bab5 Compare June 23, 2026 12:15

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need a screenshot for a piece of toml file?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's to show an example, when words are not enough

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can agree on that for logs in other screenshots, but not for this one

Comment thread src/tutorials/system-monitoring.md Outdated
Comment thread src/tutorials/system-monitoring.md Outdated
Comment thread src/tutorials/system-monitoring.md
Comment thread src/tutorials/system-monitoring.md Outdated
Comment thread src/tutorials/system-monitoring.md Outdated
@AngeCyp
AngeCyp force-pushed the docs/add-system-monitoring-tutorial branch from 586bab5 to 4e18095 Compare June 26, 2026 08:20
@AngeCyp
AngeCyp requested a review from titouanj June 26, 2026 08:22
@AngeCyp
AngeCyp force-pushed the docs/add-system-monitoring-tutorial branch from 4e18095 to 97f3c06 Compare July 3, 2026 10:10

@TheElectronWill TheElectronWill left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the objective of this guide is not clear enough.
Is it (1) for admins who want to use a systemd service, or (2) for a local experiments?

  • If (1), talk about the systemd service and how to enable it.
  • If (2), don't talk about the service, make the user generate a local config and start alumet-agent manually.

@AngeCyp
AngeCyp force-pushed the docs/add-system-monitoring-tutorial branch from 97f3c06 to af9bb8f Compare July 3, 2026 10:36
@AngeCyp

AngeCyp commented Jul 3, 2026

Copy link
Copy Markdown
Member Author

More on option 2

Comment thread src/tutorials/deeper-system-monitoring-tutorial.md Outdated
@AngeCyp
AngeCyp force-pushed the docs/add-system-monitoring-tutorial branch from af9bb8f to 37c121f Compare July 3, 2026 12:43
@AngeCyp
AngeCyp requested a review from TheElectronWill July 6, 2026 14:40
@AngeCyp
AngeCyp force-pushed the docs/add-system-monitoring-tutorial branch from 37c121f to e3a07bc Compare August 6, 2026 15:08
Comment thread src/tutorials/system-monitoring.md Outdated
Like this:
![Disable RAPL plugin](system-monitoring_images/rapl_disable.png)

Also, you can use the following configuration for a easy-start Alumet monitoring.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Also, you can use the following configuration for a easy-start Alumet monitoring.
Also, you can use the following configuration for an easy-start Alumet monitoring.

Comment on lines +32 to +43
### RAPL

This plugin collects measurements of processor energy usage. Also know as `Running average power limit`, follow the link to learn more on [RAPL](https://en.wikipedia.org/wiki/Perf_(Linux)#RAPL).

### Procfs

This plugin collects processes and system-related metrics on Linux based operating systems. Follow the link to learn more on [Procfs](https://en.wikipedia.org/wiki/Procfs).

### CSV

This plugin writes the measurements sent to Alumet in [CSV format](https://en.wikipedia.org/wiki/Comma-separated_values).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could add a link to each plugin user book page, in case people want to take a deeper look at each of them

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the following link instead: ../plugins/3_outputs/csv.md
Same for the others

@AngeCyp
AngeCyp force-pushed the docs/add-system-monitoring-tutorial branch from e3a07bc to 55ea476 Compare August 7, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants