How to get Disk used/free totals for ALL drives combined

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

How to get Disk used/free totals for ALL drives combined

Post by dlukinski »

Hello XI Support

Is there a way to get Disk used/free totals (both windows and linux hosts) for all drives combined?
- we need this one badly

Thank you,
Dimitri
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: How to get Disk used/free totals for ALL drives combined

Post by avandemore »

I don't know of anything existing which will do this, but there are some plugins which would be a decent start.

https://exchange.nagios.org/directory/P ... sk/details
https://exchange.nagios.org/directory/P ... pl/details
https://exchange.nagios.org/directory/P ... rd/details

If it was me, I'd take one of those closest to the desired functionality and rewrite it to iterate over all the relevant RRD files and do your summation. Probably going to need some methodology to ensure the RRD's are currently in use, and some work for dynamically finding new ones as well.
Previous Nagios employee
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: How to get Disk used/free totals for ALL drives combined

Post by dlukinski »

avandemore wrote:I don't know of anything existing which will do this, but there are some plugins which would be a decent start.

https://exchange.nagios.org/directory/P ... sk/details
https://exchange.nagios.org/directory/P ... pl/details
https://exchange.nagios.org/directory/P ... rd/details

If it was me, I'd take one of those closest to the desired functionality and rewrite it to iterate over all the relevant RRD files and do your summation. Probably going to need some methodology to ensure the RRD's are currently in use, and some work for dynamically finding new ones as well.
Please close this thread
Thank you
Locked