Skip to content

Latest commit

 

History

History

monitoring

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Near monitoring

With this Ansible playbook you will install prometheus, node_exporter and alertmanager and it will automatically configure to scrape the near RPC + node_exporter. The alertmanager is configured with PagerDuty in order to receive Low and High alerts.

The alrts are configured into the alerts.rules template file.

Update 14.02.2021

With the help of Certus One who created the near exporter (https://github.com/certusone/near_exporter), we can monitor the node with more complex alerting (checking if pool is missing or if the node is missing blocks).

Added alert.rules.yml
Added compiled near_exporter binary + service
Integrated near alerts. 

Install guide:

git clone https://github.com/mabalaru/near
cd near/monitoring

ansible-playbook -b -K monitoring.yml

This will install on the local server all the components and it will install on the near server the node_exporter.

Do not run the near_exporter on the near validator. Run the service on different node and try to use a different RPC node, not the near validator"