Module that returns a text string with the last user connected Module data module_begin module_name Last Login module_type async_string module_exec last | head -1 module_description User last logged module_end
You need to install the hddtemp program. Adjust which drive/device you are after and if you want it in Celsius or Fahrenheit. Module data module_begin module_name hddtemp module_type generic_data module_exec /usr/sbin/hddtemp -n –unit=C /dev/sda ...
This is a very simple module to get CPU speed in Linux, based on parsing /proc/cpuinfo Module data module_begin module_name cpu_speed module_type generic_data module_exec cat /proc/cpuinfo | grep “cpu MHz” | tail -1 | awk ‘{print $4}’...
This modules returns current throughtput on Disk, based on systat package. This sample is for /dev/sda. You need to install systat package. Module data module_begin module_name IO Sda Read/sec module_type generic_data module_exec iostat -k | grep sda | awk ‘{...
This gets the IOStat from a Linux, using sysstat tools. Module data module_begin module_name IO_Cpu module_type generic_data module_exec iostat -c | tail -2 | head -1 | awk ‘{ print $4 }’ module_description IOStat, obtained with package sysstat ...