| Server IP : 104.21.73.115 / Your IP : 216.73.217.154 Web Server : Apache System : Linux vps42439 6.8.0-136-generic #136~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 3 16:29:11 UTC x86_64 User : dh_7hi3h9 ( 6349477) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /etc/systemd/system/ |
Upload File : |
#
# Ansible managed
#
[Unit]
Description=Prometheus Node Exporter
After=network-online.target
[Service]
Type=simple
User=node_exporter
Group=node_exporter
ExecStart=/usr/local/bin/node_exporter \
'--collector.disable-defaults' \
'--collector.cpu' \
'--collector.stat' \
'--collector.filesystem' \
'--collector.filesystem.fs-types-exclude=^(tmpfs|proc|procfs)$' \
'--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|run|var/(container_share|spool/cron/crontabs|log/journal))($|/)' \
'--collector.meminfo' \
'--collector.systemd' \
'--collector.systemd.unit-include=^(atd|cron|rsyslog|script_exporter|node_exporter|vector|fail2ban|logrotate).*' \
'--web.listen-address=0.0.0.0:9100' \
'--web.telemetry-path=/metrics'
SyslogIdentifier=node_exporter
Restart=always
RestartSec=1
StartLimitInterval=0
ProtectHome=read-only
NoNewPrivileges=yes
ProtectSystem=strict
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=yes
[Install]
WantedBy=multi-user.target