Skip to content

Instantly share code, notes, and snippets.

@apaskulin
Last active January 15, 2019 17:54
Show Gist options
  • Save apaskulin/9b072695de7ecd4985222b05b58de0af to your computer and use it in GitHub Desktop.
Save apaskulin/9b072695de7ecd4985222b05b58de0af to your computer and use it in GitHub Desktop.

Which ports does Sensu use?

The Sensu backend uses:

  • 2379 (TCP) Sensu storage client listener: Required for Sensu backends using an external etcd instance
  • 2380 (HTTP/HTTPS) Sensu storage peer listener: Required for other Sensu backends in a cluster
  • 3000 (HTTP/HTTPS) Sensu dashboard: Required for all Sensu backends using a Sensu dashboard
  • 8080 (HTTP/HTTPS) Sensu API: Required for all users accessing the Sensu API
  • 8081 (WS/WSS) Agent API: Required for all Sensu agents connecting to a Sensu backend

The Sensu agent uses:

  • 3030 (TCP/UDP) Sensu agent socket: Required for Sensu agents using the agent socket
  • 3031 (HTTP) Sensu agent API: Required for all users accessing the agent API
  • 8125 (UDP, TCP on Windows) StatsD listener: Required for all Sensu agents using the StatsD listener
@palourde
Copy link

Both 2379 & 2380 are HTTP/HTTPS. In case an external etcd instance is used, sensu-backend will connect to this instance using this port but sensu-backend itself won't be listening on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment