Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

Flowmon OS monitoring with Prometheus and node-exporter

 

Information

 

Summary:

Guide how to configure monitoring of Flowmon OS with Docker image of node-exporter.

Environment:

Product: Flowmon OS

Version: 10.x and higher

Platform: Any

Question/Problem Description:

How to monitor Flowmon OS with Prometheus and node-exporter?

Steps to Reproduce:  
Error Message:  
Defect Number:  
Enhancement Number:  
Cause:  
Resolution:

We have a custom script collecting the additional metrics that you might be interested in using a custom format, which is then processed by a tool like Grafana or any other system you might be using.

  1. Copy the script (https://github.com/progress/Flowmon-Various-Scripts/blob/main/perfmon/perfmon-node_exporter.sh) to /home/flowmon/perfmon/textfile_collector/
  2. Add execute right and add the script to cron
    • chmod +x /home/flowmon/perfmon/textfile_collector/perfmon-node_exporter.sh
    • line="*/5 * * * * /home/flowmon/perfmon/textfile_collector/perfmon-node_exporter.sh > /dev/null 2>&1"
    • (crontab -l; echo "$line" ) | crontab -
  3. Create a new firewall rule in Configuration Center - Remote Access for TCP port 9100.
  4. Run the following commands
sudo systemctl start docker
sudo systemctl enable docker
sudo docker run -d --restart unless-stopped\
--net="host" \
--pid="host" \
-v "/:/host:ro,rslave" \
-v "/home/flowmon/perfmon/:/var/lib/node_exporter/textfile_collector:ro,rslave" \
quay.io/prometheus/node-exporter:latest \
--path.rootfs=/host \
--collector.textfile.directory=/var/lib/node_exporter/textfile_collector

When the Docker is started, the node-exporter is downloaded from quay.io.

More information about Docker usage can be found in the Solution Maintenance Guide. 

More information about the monitoring of Flowmon OS can be found on our blog.

Workaround:  
Notes:

Solution Maintenance Guide
https://support.kemptechnologies.com/hc/en-us/articles/4699143864717-Flowmon-12-1-Documentation
A blog post about monitoring

https://www.flowmon.com/en/blog/how-to-monitor-your-flowmon-appliances

 


Was this article helpful?
0 out of 0 found this helpful

Comments