Monitoring console : On the monitoring console, two search heads were not reporting CPU/Memory statistics.
It's showing the status as grey. The indexers were reporting all the stats correctly.
We tried below to fix, but with no luck.
We logged into the monitoring console and found two search heads were not reporting Memory and Cpu usage.
We removed the two search heads and added again(Settings ->Distributed Search -> Search Peers : Remove and added)
We still noticed the same issue/error.
When we checked the search head instance details via the monitoring console, we found that only disk status was showing.
We logged into one of the search heads that is not showing cpu/memory stats
i. Checked configuration file for "introspectiongeneratoraddon" and added app.conf under "introspectiongeneratoraddon/local" and enabled introspection
app.conf : appended
state = enabled
ii. Restarted Splunk service
iii. Still, we do not see resource.log under $SPLUNKHOME/var/log/introspection
iv. We checked and found the "introspectiongeneratoraddon" app was enabled and configured but only collecting disk stats.
v. As per "introspectiongenerator_addon/default/app.conf" : We see that introspection is enabled
vi. Upon further checking we found that instrument-resource-usage process was not running.
Checked documentation and found that introspection is enabled but we were able to see only disk usage logs under $SPLUNK_HOME/var/log/introspection
Upon further checking we found that "script://./bin/collector.path" was disabled. We tried enabling it and that fixed the issue. Hope this helps.
disabled = 0