Error node_exporter 0.18.1_1
-
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.
-
@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. -
-
I had to install, execute the 2 cmd's, deinstall & reinstall and now it's running and visible in the menu
-
I had the exact same mileage but I was hoping an update would come available rather than trying the hacks above, plus the bundled version of node_exporter is several revs behind upstream.
Is there a way to file an official bug with the package maintaner? -
@dison4linux said in Error node_exporter 0.18.1_1:
I had the exact same mileage but I was hoping an update would come available rather than trying the hacks above, plus the bundled version of node_exporter is several revs behind upstream.
Is there a way to file an official bug with the package maintaner?The fixes will be in the next update:
https://redmine.pfsense.org/issues/11515#note-6 -
In 2.5.x node_exporter once showed in service drop down. Now it doesn't and now 2.6.0 Updating OS didn't help. Same issue is showing up for Wireguard. I don't believe this is a NExport specific issue.
I installed Wireguard today. The VPN dropdown didn't update till a system reboot. Then shortly after maybe a reboot or such. It doesn't show up in the VPN drop down.
Has anyone done a scratch install and see if this issue is from eventual use or if this straight out of the box?
-
@cukal I ended up just uninstalling and reinstalling to resolve the issue.
-
@cube8021 No dice on my side.
-
@cube8021 If go to /pkg_edit.php?xml=node_exporter.xml
because I can find the button. I get this when I save.
Warning: file_put_contents(/usr/local/etc/rc.conf.d/node_exporter): failed to open stream: No such file or directory in /usr/local/pkg/node_exporter.inc on line 50
-
@vukuze said in Error node_exporter 0.18.1_1:
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
My node_exporter 0.18.1_2 on pfsense 2.5.1 gave me the same could not open error. I used these commands verbatim and after reboot the service started up and the metrics were exposed as expected. Thank you