How to monitor IO svctm with every 5 mins frequency?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
vrn_shan
Posts: 4
Joined: Tue Apr 10, 2012 10:49 am

How to monitor IO svctm with every 5 mins frequency?

Post by vrn_shan »

I want to collect samples of iostat's svctm, await every 5 mins from my hosts. I am interested in viewing what's happening every 5 minutes (not since boot time, iostat's first output gives values since boot time). How can I do it in Nagios?

I know Nagios has a plugin to check iostat. But that does not solve my problem. As I mentioned, I want that "tps" should NOT be calculated as 'number of transfers happened since reboot' divided by 'uptime'. Because if the host is up since long (say since last two years) any big spike happened recently will get averaged out and may go unnoticed. Calculations based on number of transfers happend in last X min would give more accurate picture. Hence I want to calculate "tps" as: 'number of transfers happened in last X mins' divided by 'X*60'.

How do I do this? Any help would be appreciated.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: How to monitor IO svctm with every 5 mins frequency?

Post by mguthrie »

I forget which plugin I've used to do this before, but I know I found it on the nagios exchange.
http://exchange.nagios.org/index.php?op ... ord=iostat
Locked