Skip to content

node_exporter listen only ipv6 #264

@Kosm0

Description

@Kosm0

I install node_exporter on new, clear CentOS 7.2.1511

netstat -antp | grep LIST
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1328/sshd
tcp6 0 0 :::9100 :::* LISTEN 10804/node_exporter

/etc/systemd/system/node_exporter.service
[Unit]
Description=Node Exporter

[Service]
User=prometheus
ExecStart=/home/prometheus/Prometheus/node_exporter/node_exporter

[Install]
WantedBy=default.target

/etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions