All Apps and Add-ons

linux cpu utilization

Shark2112
Communicator

Hey everyone.

I need to collect linux cpu utilization from forwarder, so what i did:
1. install universal forwarder and Splunk_TA_nix /opt/splunkforwarder/etc/apps/Splunk_TA_nix
2. add needed splunk server throu /opt/splunkforwarder/bin/splunk add forward-server ....
3. add needed files throu /opt/splunkforwarder/bin/splunk add monitor....
4. copy from default to local inputs.conf file with

Shows stats per CPU (useful for SMP machines)

[script://./bin/cpu.sh]
sourcetype = cpu
source = cpu
interval = 30
index = mods (existing)
disabled = 0
5. restart splunk

File monitor working fine, but CPU utilization not. No errors in splunkd.

0 Karma
1 Solution

Shark2112
Communicator

yum install sysstat -y

View solution in original post

Shark2112
Communicator

yum install sysstat -y

Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...