Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to collect samples of iostat's svctm, await every 5 mins from all of my servers and store them in nagios. I want to get the values for what is happening in every 5 minutes (not since boot time, iostat's first output gives values since boot time). How can I do it in nagios?

EDIT The tps should NOT be calculated #of transactions happened since reboot divided by uptime. What I want is # of transferred happened in last X mins divided X*60.

share|improve this question
    
Nagios can alert you on this, but it's pretty crappy and long-term data trending (e.g., graphing). You might want to consider something like cacti for this. –  Keith Apr 16 '12 at 18:20

1 Answer 1

Nagios has a plugin to check iostat: http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_iostat--2D-I-2FO-statistics/details

You'll also need to configure nagios to collect performance data

and run the checks every 5 minutes by setting check_interval to 5

share|improve this answer
    
Edited the question. Basically I don't want tps getting averaged out since uptime. –  Sabya Apr 16 '12 at 10:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.