Hello All,
We have configured Nagios for server monitoring. But, this demand came from our client side. He wants us to write a script that will give them details of CPU Usage (Min, Max, Average), Memory Usage(Min, Max, Average), Disk partition space status and service up/down status on hourly basis.
I can fetch the current CPU usage or memory usages. But, I want to know how to write a script that will calculate last 1hour CPU usages(maximum, minimum and average) & Memory usages(maximum, minimum and average).
Please suggest.