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!

.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 ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...