Skip to content

canonical/node-exporter-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Exporter
Node Exporter

This is the snap for node-exporter. Exporter for hardware and OS metrics exposed by *NIX kernels, written in Go with pluggable metric collectors.

Published for with 💝 by The Canonical Observability Team

Install

sudo snap install node-exporter

(Don't have snapd installed?)

Post-installation

The node-exporter snap requires some interfaces to be manually connected in order to grant permission to collect certain metrics. Without these connections, only basic metrics are available. To connect all exposed interfaces, run the following commands after installation:

sudo snap connect node-exporter:hardware-observe
sudo snap connect node-exporter:mount-observe
sudo snap connect node-exporter:network-observe
sudo snap connect node-exporter:system-observe

Configuration

Collectors can be enabled/disabled using the collectors and no-collectors configuration options with this snap. To specify multiple collectors, use a quoted string with space-separated values. For example:

sudo snap set node-exporter collectors=ntp
sudo snap set node-exporter no-collectors="mdadm netstat"

Reference the prometheus/node_exporter README.md for the list of collectors enabled by default.

Known issues

Currently this strictly confined snap has no access to system files that prevents the following collectors from operating correctly:

  • buddyinfo
  • logind
  • mountstats
  • slabinfo
  • softirqs

For more details read:

https://forum.snapcraft.io/t/should-some-snapd-interfaces-be-modified/48242

Releases

No releases published

Packages

No packages published

Languages