Install Stress and Stress-ng using YUM
yum install stress ng-stress
CPU alert
Run the command below to produce a spike for your alerting system
stress --cpu 2 --timeout 60
Inode alert
Run the command below to trigger the alert
stress-ng --dirdeep 200
Disk usage alert
they easiest way to do this is to create a very big file and fill up the disk space
Run the command blow in any directory you want to create the file
fallocate -l 50G file
Memory usage alert
Run the command below
stress --vm 4 --vm-bytes 1024M
IO alert
Run the command blow
stress --io 4