Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PFSense node_exporter is not emitting node_uname_info metric #3090

Open
willagc opened this issue Aug 20, 2024 · 3 comments
Open

PFSense node_exporter is not emitting node_uname_info metric #3090

willagc opened this issue Aug 20, 2024 · 3 comments

Comments

@willagc
Copy link

willagc commented Aug 20, 2024

Host operating system: output of uname -a

FreeBSD pfSense.home.arpa 14.0-CURRENT FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_2-n255948-8d2b56da39c: Wed Dec  6 20:45:47 UTC 2023     root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/obj/amd64/StdASW5b/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/sources/FreeBSD-src-RELENG_2_7_2/amd64.amd64/sys/pfSense amd64

node_exporter version: output of node_exporter --version

image
node_exporter --version
node_exporter, version  (branch: , revision: unknown)
  build user:       
  build date:       
  go version:       go1.20.8
  platform:         freebsd/amd64
  tags:             unknown

node_exporter command line flags

node_exporter log output

ts=2024-08-20T19:22:05.904Z caller=collector.go:169 level=error msg="collector failed" name=uname duration_seconds=1.284e-05 err="cannot allocate memory"

Are you running node_exporter in Docker?

No

What did you do that produced an error?

I am using the following grafana dashboard.

When I try to search for my PFSense target that I configured similar to this photo:
image

It fails to appear.

What did you expect to see?

The hostname.

What did you see instead?

Nothing.

@willagc
Copy link
Author

willagc commented Aug 20, 2024

To elaborate further, the dashboard is searching for this value node_uname_info:

"definition": "label_values(node_uname_info{job=\"$job\"}, instance)",
        "hide": 0,
        "includeAll": false,
        "label": "Host",
        "multi": false,
        "name": "node",
        "options": [],
        "query": {
          "query": "label_values(node_uname_info{job=\"$job\"}, instance)",
          "refId": "Prometheus-node-Variable-Query"

The PFsense node exporter is not emitting that specific metric.

@willagc willagc changed the title PFSense not exporting node_uname_info metric PFSense node_exporter is not emitting node_uname_info metric Aug 20, 2024
@ljasinskipl
Copy link

I've got same error :(

@eriksejr
Copy link

eriksejr commented Aug 30, 2024

It seems to be something related to pfSense specifically or perhaps FreeBSD 14.0. I have some other FreeBSD 14.1 hosts with node-exporter running and node_uname_info is emitted there - but not on pfSense - at least not the community edition which is on 14.0-CURRENT.

Same issue on pfSense+ with FreeBSD 15.0-CURRENT.

In all cases the same version of node-exporter is being used from the ports tree (1.6.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants