sivanesan1
sivanesan1

Reputation: 839

How to change prometheus alert manager port address

I have downloaded prometheus alert manager from prometheus.io and try to run it.

Alert manager is not running because some of our internal applications are running on the port 9093.

So i need to change the alert manager running port from 9093 to some other port say 3002.

How to change this?

Upvotes: 0

Views: 7284

Answers (1)

oldhomemovie
oldhomemovie

Reputation: 15129

Run alertmanager binary with a --web.listen-address option. For example:

alertmanager --web.listen-address=http://localhost:9876
alertmanager --web.listen-address=http://:9876

This flag was added some time ago and can be found in output of alertmanager -h command.

Upvotes: 3

Related Questions