prometheus=true
in your config file i.e.$HOME/.fxcore/config/config.toml
. Through setting the prometheus_listen_addr
in the config file, you may choose the port for you to monitor your node. It is defaulted to port 26660
../fx-core/develop/prometheus/prometheus.yml
you can configure the target node(s) IP address, multiple nodes can be added in the following format../fx-core/develop/docker-compose.yaml
under alertmanager-bot
- environment
are the variables TELEGRAM_ADMIN
and TELEGRAM_TOKEN
:TELEGRAM_ADMIN
: The Telegram user id for the admin (not the bot itself, you, the user). The bot will only reply to messages sent from an admin. All other messages are dropped and logged on the bot's console. Your can get your user id from @userinfobot
.TELEGRAM_TOKEN
: Token you get from @botfather
:9095
(For eg. http:// <your_IP_address>:9095
) and you will see the prometheus page. Here you can see all the defined alarm rules. You can change these rules in the file ./fx-core/develop/prometheus/rules/fx-chain-alerts.yml
fx
and fxcore
respectively.:9093
(For eg. http:// <your_IP_address>:9093
) and you will see the alertmanager
page. You can manage alarm notifications here.fx
and fxcore
respectively.:3000
(For eg. http:// <your_IP_address>:3000
) and you will see the grafana
page.admin
, once you have logged in you will be asked to set a new password.<your_IP_address>
in node monitoring device. you can also allow the port range 26660 for <node_monitoring_public_ip> in the validator instance.$
in any of your passwords, as it will not work with the alertmanager.url
./fx-core/develop/prometheus/web-config.yml
with the following format:htpasswd -nBC 10 "" | tr -d ':\\n'
web-config.yaml
file there are 3 other areas where you need to update as wellgrafana
to be able to get data from prometheus
you will need to update the username and password in the file ./fx-core/develop/grafana/provisioning/datasources/datasource.yml
prometheus
to be able to send alerts to alertmanager
you will need to update the username and password in the file ./fx-core/develop/prometheus/prometheus.yml
alertmanager
you will need to update the username and password within the --alertmanager.url
in the ./fx-core/develop/docker-compose.yaml
file. Also you may update the alert-manager-bot. alertmanager-bot
, command
you will find --alertmanager.url
$
in any of your passwords, as it will not work with the alertmanager.url
./fx-core/develop/docker-compose.yaml
tendermint_consensus_height
tendermint_consensus_validators
tendermint_consensus_validators
tendermint_consensus_latest_block_height
tendermint_consensus_validator_last_signed_height
tendermint_consensus_validator_missed_blocks
tendermint_consensus_missing_validators
tendermint_consensus_byzantine_validators
tendermint_consensus_byzantine_validators
tendermint_consensus_block_interval_seconds_sum
tendermint_consensus_rounds
tendermint_consensus_num_txs
tendermint_mempool_size
tendermint_mempool_failed_txs
tendermint_consensus_fast_syncing
tendermint_p2p_peers
tendermint_p2p_peers