Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    node_exporter is not working properly on 23.05

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 5 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      emmdee
      last edited by

      Hello, we have a fleet of pfsense+ 22.05 Netgate 7100 devices, and recently had to install a new one that has 23.05. This new device cannot get node_exporter running on it without a ton of errors.

      Installed node_exporter through the pfsense built in package manager and I am having the identical issue to this other user on this new device. All the other hosts in the fleet have no issues with node_exporter, just this new one.

      Same error message as the other user essentially: msg="collector failed" name=uname err="cannot allocate memory". Also similar to that user, there is no issue with free memory - this is a 7100 device and has over 5GB free.

      I have the following collectors enabled, note that uname collector isn't even available in the list:

      Screenshot 2023-06-02 at 15.54.32.png

      To note: I've previously had to use "extra flags" to disable certain exporters that do not show up in the collector list (ex: --no-collector.zfs). Why do only some of the collectors show up in that list? I am guessing I could probably do the same tactic for uname but I didn't have to do that on 22.05 and the uname collector should work fine on bsd.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Just to confirm though, does disabling uname using extra flags prevent the errors?

        1 Reply Last reply Reply Quote 2
        • T
          tantu07
          last edited by

          Having same issue.
          Running 23.05-RELEASE on a Intel N5105 Celeron machine.
          For me, disabling uname with the extra flags stops the errors.

          6aeb4821-5a88-4565-a5e1-a630538e0992-image.png

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Ok I replicated that here and opened a bug: https://redmine.pfsense.org/issues/14452

            1 Reply Last reply Reply Quote 2
            • L
              logan5247
              last edited by logan5247

              Just updated to pfSense CE 2.7.0 and am having the same issue (I wasn't on 2.6.0).

              You can see in the logs when the error started to occur. This is running on a PCEngines APU2.

              Screenshot_20230711_223519.png

              Below is from the web scrape page.

              # TYPE node_scrape_collector_success gauge
              node_scrape_collector_success{collector="boottime"} 1
              node_scrape_collector_success{collector="cpu"} 1
              node_scrape_collector_success{collector="exec"} 1
              node_scrape_collector_success{collector="filesystem"} 1
              node_scrape_collector_success{collector="loadavg"} 1
              node_scrape_collector_success{collector="meminfo"} 1
              node_scrape_collector_success{collector="netdev"} 1
              node_scrape_collector_success{collector="os"} 0
              node_scrape_collector_success{collector="textfile"} 1
              node_scrape_collector_success{collector="time"} 1
              node_scrape_collector_success{collector="uname"} 0
              node_scrape_collector_success{collector="zfs"} 0
              
              1 Reply Last reply Reply Quote 0
              • J
                JulieConsultancy
                last edited by

                error is related touname and not for meminfo.

                adding -- "--no-collector.uname" in extra flags has stopped errors. I ahve not seen any impact in data gathering as well as no grafana dashboards are not impacted.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.