Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
/usr/bin/iostat -d /dev/sda -t 58 2 | awk ‘NR==9{print $2}’ > /var/lib/nagios/iostat/tps.tmp && mv /var/lib/nagios/iostat/tps.tmp /var/lib/nagios/iostat/tps
ich have changed the cronjob like this using one awk to get the right value. And I also used other log locations due to linux FHS.
May be this is better… or not… just wanted to post 😉