Splunk Search

How to get BIOS information like temp and power consumption?

josefa123
Explorer

I need to know how to get temperature and power consumption of my linux pc. How can I do it? Thanks in advance.

0 Karma

MuS
Legend

Hi josefa123,

this is more a question about how you get this information on your flavor of Linux: link in Ubuntu you can use can use powertop or lm-sensors to get this kind of information. If you have found the best tool to get the information you need, create a scripted input http://docs.splunk.com/Documentation/Splunk/6.3.1/AdvancedDev/ScriptedInputsIntro to get this data into Splunk.
You can also check out the *nix App https://splunkbase.splunk.com/app/833/ to get some ideas how it can be done; there are some scripted inputs in there to get CPU or Memory usage.

Hope this helps ...

cheers, MuS

0 Karma

Damien_Dallimor
Ultra Champion

Or more simply you can use the Command Modular Input to easily fire off these commands and index the command output in Splunk.

MuS
Legend

Thanks for the reminder! I forgot this great modular input - sorry!

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...