Reporting

bru1n at comcast.net bru1n at comcast.net
Fri Apr 29 16:31:25 CEST 2005


Hey folks,

I have a requirement to report monthly stats on my unix boxes with at least 
- System Uptime, percent
- Process totals, averaged
- System CPU Average
-- Kernel CPU usage
-- User CPU usage
- Average Free Memory

I'm in a place where the previous admin got everyone hooked on "top" style reports. So he would run top on every box for about an hour at reporting time, and plug in the numbers to an excel spreadsheet. When I stopped laughing, I realized how screwed I really was having to change the mindset, change the reports (yay, more work), and basically throw this admin under the bus in the process to make it right.

I have played around with check_procs, and check_load and cannot for the life of me figure out how I can get the average system cpu usage. I can get it by user, and by pid, but not just the whole box.

nagios @ miata: ./check_procs -w 75 -c 90 -m CPU
CPU OK: 83 processes

The processes is the part of this result that messes me up. Yes, I can monitor for threshholds, but cannot report the threshold, only the occurance of crashing the thresholds.

check_load only goes back 15 minutes, so that won't do it either. These are simple functions that appear to work in check_nt (or at least I read that they do, I'm not monitoring wintel, yet)

I made some nice reports using nagiostats, and for the 50000 foot view folks, its perfect. For the micromanagers (make it stop!) its not going to work.

Are there any other plugins I haven't run across that do this?
How are you folks reporting basic system health metrics?

Thanks,
-Marc


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list