If using prometheus/grafana setup for monitoring you probably used node_exporter for exporting machine metrics.
I will show you how to install node_exporter together with perccli utility on xenserver host. Prior to node_exporter 0.15.0 megacli was integrated as collector (only disabled by default) and used