I've recently had to build node_exporter for an Oracle Solaris system, and noticed that the 'Solaris' support is actually currently Illumos/OpenIndiana support. Both systems have different sets of ZFS kstat information available, and hence the zfs collector doesn't work on Oracle Solaris as-is.
I've modified the collector to properly support both flavours, and enabled the 'uname' collector (bsd variety) for Solaris/Illumos. I've also added a filesystem collector for Solaris/Illumos based on the Linux filesystem collector, but using /etc/mnttab instead. I realise this strictly breaks the rules, namely 'A Collector may only read /proc or /sys files', however under Solaris the kernel mount table is mounted via the 'mnttab' FS as /etc/mnttab.
I also had to tweak Makefile.common to enable a build on both systems, as by default the build expects to be able to download a 'promu' binary, and solaris/illumos are not part of the standard releases.
Could someone take a look please and let me know if this is considered to be in a suitable state for a PR?
Danny