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.
How to monitor IO svctm with every 5 mins frequency?
Re: How to monitor IO svctm with every 5 mins frequency?
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
http://exchange.nagios.org/index.php?op ... ord=iostat