Storage Subsystem

Iostat – check_tps

Description:

Nagios plugin/script to check the disk statistic TPS aka IOPS on a Linux machine. I also included a | after the output for performance statistics.

Usage:
Usage: check_tps.sh [-w|–warning] [-c|–critical]

[root@foobar libexec]# ./check_tps.sh -w 200 -c 300
OK: Transactions Per Second = 6.65 | tps=6.65;200;300

Current Version

1.0

Last Release Date

September 1, 2009

Compatible With

  • Nagios 3.x

Owner


Project Files
Project Photos
Project Notes
Reviews (2) Add a Review
Cronjob
by konstantin, May 31, 2012

/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 ;-)



Muito bom
by jeimyoliveira, September 30, 2009

Era o que estava precisando...



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.7 (3)
Favorites
2
Views
194,585