Created
October 12, 2023 00:19
-
-
Save questionlp/3f0f3b117cbda0ccbeb02292b30e2340 to your computer and use it in GitHub Desktop.
node_exporter Service File for TrueNAS SCALE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Node Exporter | |
| After=network-online.target | |
| [Service] | |
| User=node_exporter | |
| Group=node_exporter | |
| Type=simple | |
| ExecStart=/usr/bin/node_exporter \ | |
| --collector.filesystem.fs-types-exclude="^(sys|proc|auto|squash|ns|rpc_pipe|tmp|n)(fs|fs4)$" \ | |
| --collector.filesystem.mount-points-exclude="^(main\/.system).*$" | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment