Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Iostat - check_tps

Rating
3 votes
Favoured:
2
Current Version
1.0
Compatible With
  • Nagios 3.x
Owner
Hits
194520
Files:
FileDescription
check_tps.shcheck_tps.sh
Readme.txtReadme.txt
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Iostat - check_tps
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
Reviews (2)
bykonstantin, May 7, 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 ;-)
byjeimyoliveira, September 29, 2009
Era o que estava precisando...