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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...