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
change Parameter of a Host
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: change Parameter of a Host
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?
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: change Parameter of a Host
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!
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:
Code: Select all
/usr/local/nagios/etc/servicesCode: Select all
!USEDDISKSPACE! -l C -w 75 -c 80Hope this helps!