Navigation

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

    Error node_exporter 0.18.1_1

    pfSense Packages
    3
    5
    147
    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.
    • D
      dff last edited by dff

      Hi,

      Big thanks for adding this package!

      Netgate XG-7100
      21.02-RELEASE (amd64)
      node_exporter 0.18.1_1

      No logs from the first installation, however when trying to use the webui to enable node_exporter the page turns blank.

      In system.log

      Feb 19 11:19:35 firewall check_reload_status[387]: Syncing firewall
      Feb 19 11:19:35 firewall php-fpm[58710]: /pkg_edit.php: ERROR: Could not open {/usr/local/etc/rc.conf.d/node_exporter} for writing
      

      I deinstall and try to reinstall from the webui

      Loading package instructions...
      Custom commands...
      Executing custom_php_install_command()...=====
      Message from node_exporter-1.0.1:
      
      --
      If upgrading from a version of node_exporter <0.15.0 you'll need to update any
      custom command line flags that you may have set as it now requires a
      double-dash (--flag) instead of a single dash (-flag).
      The collector flags in 0.15.0 have now been replaced with individual boolean
      flags and the -collector.procfs` and -collector.sysfs` flags have been renamed
      to --path.procfs and --path.sysfs respectively.
      >>> Cleaning up cache... done.
      Success
      
      

      In system.log

      Feb 19 12:01:32 firewall php[70253]: /etc/rc.packages: Beginning package installation for node_exporter .
      Feb 19 12:01:32 firewall check_reload_status[387]: Syncing firewall
      Feb 19 12:01:32 firewall check_reload_status[387]: Syncing firewall
      Feb 19 12:01:32 firewall php[70253]: /etc/rc.packages: ERROR: Could not open {/usr/local/etc/rc.conf.d/node_exporter} for writing
      

      The package does not show under the services menu in the webui (it did during the first install)
      Advise is very welcome! : )

      1 Reply Last reply Reply Quote 1
      • vukuze
        vukuze last edited by vukuze

        I am not some kind of pfSense guru and my advice may be wrong, but here is my solution of the same problem:

        mkdir -p /usr/local/etc/rc.conf.d
        cp /usr/local/etc/rc.d/node_exporter /usr/local/share/pfSense-pkg-node_exporter/node_exporter.sh
        
        1 Reply Last reply Reply Quote 0
        • T
          thedude42 last edited by

          There seems to be some pretty significant issues with this package. For one thing, when I ran in to this problem the first thing I tried was re-installing the package. Now the Node_exporter menu is gone from the list of Services drop-down menu. Removing and then reinstalling the package doesn't bring it back.

          Manually addressing the error messages that seem to be related to missing files doesn't really help, and indicate there may be some other quality issues with this package on pfsense.

          vukuze 1 Reply Last reply Reply Quote 0
          • vukuze
            vukuze @thedude42 last edited by

            @thedude42 , Maybe. My solution is of course temporary and based on system logs.
            BTW after these two commands, I see node_exporter in the menu again and everything works for me.

            1 Reply Last reply Reply Quote 1
            • D
              dff last edited by dff

              @vukuze
              @thedude42

              Hopefully this gets sorted : )

              Issue 11515

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy