Page 1 of 1
change Parameter of a Host
Posted: Tue Aug 07, 2012 9:38 am
by aschmid
Hello,
I am a NAGIOS beginner and I have the need to adjust the Parameter disk usage c: of a host (one disk of a terminal-server)
is there an easy way to adjust this setting?
thanks for your help in advance,
Axel
Re: change Parameter of a Host
Posted: Tue Aug 07, 2012 10:29 am
by slansing
Hello and welcome aschmid,
Just to clarify, you would like to change the parameter of a check that looks at disk space? So for instance if the check is checking disk "C:" if the disk has a warning level of 60, and a critical level of 80 you would like to change these values?
Re: change Parameter of a Host
Posted: Tue Aug 07, 2012 1:52 pm
by aschmid
slansing wrote:Hello and welcome aschmid,
Just to clarify, you would like to change the parameter of a check that looks at disk space? So for instance if the check is checking disk "C:" if the disk has a warning level of 60, and a critical level of 80 you would like to change these values?
yes we noticed that a threshold of 80 is not what we want, so we want to change this value to 90 %
best regards,
Axel
Re: change Parameter of a Host
Posted: Tue Aug 07, 2012 4:34 pm
by slansing
If you look at the following web page it will show examples for the check_disk NRPE check:
http://nagiosplugins.org/man/check_disk
You would be changing the critical value or "-c 80" to "-c 90" in this case.
Since this is a Service specific change it must be made from the Service's config file. All of your Services are located at:
You are going to be looking for a string starting with "check_command" and at the end it will say something along the lines of:
Here, simply change the value as dictated above.
Hope this helps!