Hi Team,
How to Pass arg values and i want to set 75% of 10GB space.
example : -n -a '85 90
please help on this query
How to Arg values. And i want to set 75% of 10GB space.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to Arg values. And i want to set 75% of 10GB space.
Hi,
For best results, please post the full check command in code wraps to the thread. Every plugin is a little different.
Thanks,
Benjamin
For best results, please post the full check command in code wraps to the thread. Every plugin is a little different.
Thanks,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to Arg values. And i want to set 75% of 10GB space.
Hi Benzaman ,
Thanks for reply. pls see the below image for arg values passing.
check command : check_nrpe
command view : $USER1$/check_nrpe -u -2 -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
$ arg1 $ : check_disk
$arg2$ : -n -a '75 95 /soxdata'
i want to pass 75% of 10.0GB and 90% of 10 GB. how to pass the values
Thanks for reply. pls see the below image for arg values passing.
check command : check_nrpe
command view : $USER1$/check_nrpe -u -2 -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
$ arg1 $ : check_disk
$arg2$ : -n -a '75 95 /soxdata'
i want to pass 75% of 10.0GB and 90% of 10 GB. how to pass the values
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to Arg values. And i want to set 75% of 10GB space.
Hi
Great, thanks for posting that command. So if you are using the Nagios check_disk plugin, it will check the amount of free space remaining (not the amount used), so for example:
Here are a few helpful references:
https://support.nagios.com/kb/article/d ... percentage
https://www.monitoring-plugins.org/doc/ ... _disk.html
--Benjamin
Great, thanks for posting that command. So if you are using the Nagios check_disk plugin, it will check the amount of free space remaining (not the amount used), so for example:
Code: Select all
./check_disk -w 25% -c 10% -p /
DISK OK - free space: / 3438 MiB (29.94% inode=75%);| /=8044MiB;9023;10827;0;12031
https://support.nagios.com/kb/article/d ... percentage
https://www.monitoring-plugins.org/doc/ ... _disk.html
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!