Page 1 of 1

change drive c: disk usage parameter

Posted: Mon Nov 19, 2012 9:50 am
by kruserm
I tried searching and I am not coming up with a definitive way to do this. I want to change the drive c: disk usage on all configured clients and the Windows Server wizard to use a specific integer value instead of a percentage. For instance, I want to change all existing clients to warn at 5gb free and critical at 2gb free on drive c: disk usage. I also want to change the windows server wizard so that all future clients will get these same parameters without having to change it every time we add a client. Let me know if you need more information.

Re: change drive c: disk usage parameter

Posted: Mon Nov 19, 2012 3:16 pm
by kruserm
Does anyone know of a way to do this?

Re: change drive c: disk usage parameter

Posted: Mon Nov 19, 2012 3:18 pm
by BanditBBS
This isn't a bad idea at all. If they come back and say it can't be done, I'd highly recommend adding a feature request. I've always wanted the functionality, but have been to lazy to request it or figure out how(to make the functionality)....that, or I always forgot.

Re: change drive c: disk usage parameter

Posted: Mon Nov 19, 2012 3:52 pm
by scottwilkerson
Can not be done.... :o Just kidding.

This is a good idea, and you should add a feature request.
http://tracker.nagios.com

For the time being you could setup one machine with a command like the following:
command check_nrpe
$ARG1$ -t 30 -c CheckDriveSize -a 'MinWarn=400G MinCrit=300G Drive=C'

Then you could use the bulk host import wizard to add this to your other hosts.

Not totally elegant, I know.