This repository was archived by the owner on Feb 29, 2020. It is now read-only.

Description
I'm well aware that "prometheus-junkyard" doesn't sound like an actively maintained project and that munin_exporter is not mentioned at the prometheus homepage. Still...
Compiled it using go 1.4.2, started it and checked http://localhost:8080/metrics
It will show only the metrics build-in into the go-library but not the data it is scraping from munin.
I stripped munin-node down to the "users"-plugin, but still munin_exporter will not provide any munin-data.
Debug-output looks good, though.
2015/06/07 00:57:15 Connecting...
2015/06/07 00:57:15 connected!
2015/06/07 00:57:15 Found hostname: myhostname
2015/06/07 00:57:15 Registered users-other: Logged in users: Other users, Users logged in by indeterminate method
2015/06/07 00:57:15 Registered users-tty: Logged in users: tty
2015/06/07 00:57:15 Registered users-pty: Logged in users: pty
2015/06/07 00:57:15 Registered users-pts: Logged in users: pts
2015/06/07 00:57:15 Registered users-X: Logged in users: X displays, Users logged in on an X display
2015/06/07 00:57:15 Scraping
2015/06/07 00:57:15 users-tty: 0.000000
2015/06/07 00:57:15 users-pty: 0.000000
2015/06/07 00:57:15 users-pts: 9.000000
2015/06/07 00:57:15 users-X: 1.000000
2015/06/07 00:57:15 users-other: 0.000000
2015/06/07 00:57:15 End of list
Any help would be greatly appreciated.