I am trying to figure out why I cannot get alloy to scrape metrics on a second drive attached to my Splunk Indexer running on Ubuntu. Alloy is working fine in all other regards, I can see my primary 70gb drive and all other metrics fine. I have a 1.6TB drive attached and mounted to /opt/splunk/var/lib/splunk – this is the drive that is not showing up.
This is an EC2 instance. The 70gb drive is ext4, the 1.6TB drive is XFS.
Things I’ve looked into so far:
- /opt/ is not listed in the mount_points_exclude section of the config
- XFS is not listed in the fs_types_exclude section of the config
It’s not listed in Grafana Alloy’s documentation for prometheus_exporter_unix – but I tried adding to the config “mount_points_include” and listed out /opt/splunk/var/lib/splunk. Restarted alloy service on the server but there has been no change. (This was a shot in the dark I was trying)
I’m happy to post my full config here if necessary, but it’s pretty much the basic config that comes with the Linux integration in Grafana Cloud with very little change.
Again, Alloy itself is working fine for all other metrics, it’s just this one drive I can’t seem to get to work.
Please let me know if you need any more info from me to help troubleshoot. Hopefully it’s something simple that I’m overlooking, but I feel like I’m banging my head against the wall at this point and not getting anywhere.
Thanks in advance for any help provided!