Step 7 : Restart nrpe service and use below commands to test added commands in nrpe.cfg is working properly.
$ /etc/init.d/nagios-nrpe-server restart
Run below Commands on remote host :
$ /usr/local/nagios/libexec/check_cpu -w 60 -c 90
Output will come like this:
OK - user: 6.85, nice: 0.50, sys: 1.23, iowait: 0.50, irq: 0.50, softirq: 0.62 idle: 93.28 | user=6.85; nice=0.50; sys=1.23; softirq=0.62; iowait=0.50; irq=0.50; idle=93.28;
by this way you can check all added commands on remote host.