All Apps and Add-ons

Splunk Add-on for Unix and Linux: How to collect CPU wait queue parameter requirement?

ab374134
Explorer

I have deployed Splunk Add-on for Unix and Linux to collect data from all Linux machines. However, I need this one parameter
cpu_wait_queue which is not collected from the default scripts.

Command used to view this :

vmstat

Could you please help me to collect this parameter?

0 Karma

kpanchal_splunk
Splunk Employee
Splunk Employee

@ab374134 

Did you try enabling the input "vmstat.sh" of the add-on? This input leverages the same command that you want to get the required information from.

Hope this helps.

0 Karma

codebuilder
Influencer

You need to enable the script:

./splunk cmd sh $SPLUNK_HOME/etc/apps/Splunk_TA_nix/bin/setup.sh --enable-all

If that's already been done, ensure execution privs to the vmstat script (chmod +x) e.g.

Documentation:
https://docs.splunk.com/Documentation/AddOns/released/UnixLinux/Enabledataandscriptedinputs

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...