mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 10:14:09 +02:00
fmt
This commit is contained in:
parent
1e2a7c2c8b
commit
2f5cc229f3
5 changed files with 67 additions and 60 deletions
17
README.md
17
README.md
|
|
@ -13,7 +13,9 @@ Opinionated system metrics exporter for prometheus
|
|||
|
||||
## Usage
|
||||
|
||||
- Download the binary for your architecture from the [releases](https://github.com/icewind1991/palantir/releases/) and place it at `/usr/local/bin/palantir`
|
||||
- Download the binary for your architecture from the
|
||||
[releases](https://github.com/icewind1991/palantir/releases/) and place it at
|
||||
`/usr/local/bin/palantir`
|
||||
- Place the [palantir.service](palantir.service) file in `/etc/systemd/system/`
|
||||
- Create the `palantir` user: `sudo useradd -m palantir`
|
||||
- Start enable enable the server: `sudo systemctl enable --now palantir`
|
||||
|
|
@ -23,8 +25,10 @@ Some stats require additional permissions described below.
|
|||
|
||||
## Power monitoring permissions
|
||||
|
||||
In recent kernel versions, precise power monitoring is only accessible to root users to prevent using it as a side-channel attack.
|
||||
In order to get the power monitoring output you'll need to give the `palantir` user access to this data using the following steps.
|
||||
In recent kernel versions, precise power monitoring is only accessible to root
|
||||
users to prevent using it as a side-channel attack. In order to get the power
|
||||
monitoring output you'll need to give the `palantir` user access to this data
|
||||
using the following steps.
|
||||
|
||||
- Create a group using
|
||||
|
||||
|
|
@ -59,7 +63,8 @@ In order to get the power monitoring output you'll need to give the `palantir` u
|
|||
|
||||
## Docker monitoring permissions
|
||||
|
||||
To enable monitoring of docker containers, add the `palantir` user to the `docker` group
|
||||
To enable monitoring of docker containers, add the `palantir` user to the
|
||||
`docker` group
|
||||
|
||||
```bash
|
||||
sudo usermod -a -G docker palantir
|
||||
|
|
@ -67,4 +72,6 @@ sudo usermod -a -G docker palantir
|
|||
|
||||
## Windows support
|
||||
|
||||
Palantir has limited windows support out of the box, additional sensors can be enabled by running [LibreHardwareMonitor](https://github.com/LibreHardwareMonitor/LibreHardwareMonitor).
|
||||
Palantir has limited windows support out of the box, additional sensors can be
|
||||
enabled by running
|
||||
[LibreHardwareMonitor](https://github.com/LibreHardwareMonitor/LibreHardwareMonitor).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue