Node_exporter: Test non-Linux procfs collector support (e.g. Solaris)

Created on 22 Jan 2016  路  9Comments  路  Source: prometheus/node_exporter

Collectors using procfs are currently only built on linux. Procfs is also supported by other operating systems like Solaris. It's not known if the collectors work on solaris though, tests would be necessary. If they work fine, the build flags should allow compilation under solaris.

accepted help wanted test-infra

Most helpful comment

Is there still a desire to build on Solaris?

All 9 comments

My recollection from Solaris 8 is that /proc only contains process information, and I don't believe that's changed. I imagine we'll not get anything useful out of /proc for the node exporter beyond Linux.

That's my feeling as well from what I've found online about procfs on Solaris. I mainly wanted to put out an issue for users as I limited the last two procfs collectors to only compile on linux in #200.

Do we know someone who could sponsor some unix VMs or something to test this? Reviewing #311 right now and I have no way to test this.

@discordianfish There are Vagrant images for Solaris 10/11 available if that helps?

We now have a few BSD builds running on buildkite. We don't publish the binaries, but we're testing the build.

Is there still a desire to build on Solaris?

@derekmarcotte Maybe, but I don't know if we have any collectors that would be useful on Solaris. :frowning_face:

It would seem that IllumOS or SmartOS would be more relevant targets anyhow?

Can I somehow help here?
I've some SmartOS machines to make the tests.

Was this page helpful?
0 / 5 - 0 ratings