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!

Splunk APM & RUM | Upcoming Planned Maintenance

There will be planned maintenance of the streaming infrastructure for Splunk APM and Splunk RUM in the coming ...

Part 2: Diving Deeper With AIOps

Getting the Most Out of Event Correlation and Alert Storm Detection in Splunk IT Service Intelligence   Watch ...

User Groups | Upcoming Events!

If by chance you weren't already aware, the Splunk Community is host to numerous User Groups, organized ...