After Ubuntu upgrade 18.04 -18.10, Prometheus Node Exporter started to complain:
startStarting Prometheus exporter for machine metrics prometheus-node-exporter
/etc/init.d/prometheus-node-exporter: 45: /lib/init/init-d-script: /usr/bin/daemon: not found
Fix for this is quite easy – just install missing dependency:
MacOS tends to trash mounted disks with number of useless hidden files (e.g. ._* or .DS_Store ). There were number of recipes in the Internet, some of them were working at some of time but are not anymore.