Node_exporter: Problems installing on CentOS 6 and missing query

Created on 21 Feb 2019  路  5Comments  路  Source: prometheus/node_exporter

Host operating system: output of uname -a

Centos 6 2.6.32-754.10.1.el6.x86_64

node_exporter version: output of node_exporter --version

Version 16

### node_exporter command line flags
-

Are you running node_exporter in Docker?

no

What did you do that produced an error?

Installing the node exporter

What did you expect to see?

Node Exporter starting

What did you see instead?

FATAL: kernel too old
Aborted (core dumped)

We are currently going through and installing node exporter onto our machines and we have been using version 16 so far but when it comes to RHEL/CentOS 6 we get the error message stated above when trying to run ./node_exporter

Installing version 17 works fine but we noticed on version 17 the query "node_memory_MemAvailable_bytes" does not exist.

What are looking for is to be able to either install node exporter 16 on RHEL/CentOS 6 or have the query "node_memory_MemAvailable_bytes" added to node exporter 17. If anyone can let us know if we are doing anything wrong or if there is any steps we can do to get this working that would be great.

Kind regards,
Shane

Most helpful comment

You can approximate it with node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes.

For example, we have a recording rule for giving us system utilization.

All 5 comments

For usage questions/help, please use our community. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.

MemAvailable is a feature introduced in Linux 3.14. Your kernel on CentOS 6 is too old for this metric to exist.

@SuperQ So What metric should we use on CentOS 6 to calculate the MemAvailable ?

You can approximate it with node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes.

For example, we have a recording rule for giving us system utilization.

You can approximate it with node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes.

For example, we have a recording rule for giving us system utilization.

tks you very much

Was this page helpful?
0 / 5 - 0 ratings