prometheus-community / node-exporter-textfile-collector-scripts

Scripts for node-exporter's textfile collector
Apache License 2.0
488 stars 185 forks source link

Cant open smartmon.prom #205

Open Bobbll opened 6 months ago

Bobbll commented 6 months ago

ts=2024-02-11T18:01:53.246Z caller=textfile.go:209 level=error collector=textfile msg="failed to read textfile collector directory" path=/var/node-exporter err="open /var/node-exporter: no such file or directory" ts=2024-02-11T18:01:53.252Z caller=collector.go:169 level=error msg="collector failed" name=arp duration_seconds=0.001064612 err="could not get ARP entries: rtnetlink NeighMessage has a wrong attribute data length"**

dswarbrick commented 6 months ago

Your logs show two separate errors which have absolutely nothing to do with each other. Since you have posted this in the node-exporter-textfile-collector-scripts project, I will focus on the first error.

Did you do any basic investigation, such as confirming whether /var/node-exporter actually does exist?