Page 1 of 2
[WARN && CRIT] check_disk
Posted: Wed Feb 13, 2013 9:13 am
by ceeper
Hello everybody,
One simple questions:
With this command:
/check_disk -M -w 20% -c 10% -E -p /
DISK CRITICAL - free space: /dev/sda1 5840 MB (10% inode=86%);| /dev/sda1=48902MB;46137;51904;0;57672
Are you agree with me if I write this for the perf data:
Current use: 48902MB
Warning level: 46137MB
Critical level: 51904MB
Scale 0 to 57672
Why is the disk critical??? The critical is by 51904MB and the current is 48902MB. There should be not a Warning??
Thanks in advance.
Best Regards
Re: [WARN && CRIT] check_disk
Posted: Wed Feb 13, 2013 10:01 am
by gshergill
Hi ceeper,
So you have 10% left (critical value).
The 86% is the inode usage.
Run on the server:
To view the inode usage.
Run:
To view the free space (this will correspond to 10%).
Kind Regards,
Gary Shergill
Re: [WARN && CRIT] check_disk
Posted: Wed Feb 13, 2013 10:26 am
by ceeper
gshergill wrote:Hi ceeper,
So you have 10% left (critical value).
The 86% is the inode usage.
Run on the server:
To view the inode usage.
Run:
To view the free space (this will correspond to 10%).
Kind Regards,
Gary Shergill
Hi Gary,
Thanks for your repply.
Ok I understand, but The performance data say me that the critical is at 51904MB, and the current is 48902MB...
Why my graph show me a Warning?
Thanks,
Best Regards,
C.
Re: [WARN && CRIT] check_disk
Posted: Wed Feb 13, 2013 10:30 am
by slansing
It is showing you a warning because your warning value is below where the actual amount of space left is. If it passes the threshold then it will trigger a warning.
Re: [WARN && CRIT] check_disk
Posted: Wed Feb 13, 2013 10:37 am
by ceeper
slansing wrote:It is showing you a warning because your warning value is below where the actual amount of space left is. If it passes the threshold then it will trigger a warning.
Yes the graph say me the truth, I'm over the Warning threshold, I'm agree with this.
But the plugin output give me a CRITICAL.
DISK CRITICAL - free space: /dev/sda1 5840 MB (10% inode=86%);| /dev/sda1=48902MB;46137;51904;0;57672
Why this differencie?
Regards,
C.
Re: [WARN && CRIT] check_disk
Posted: Wed Feb 13, 2013 10:52 am
by gshergill
Hi creeper,
When you run the command:
Do you get the Use% as 90%?
Kind Regards,
Gary Shergill
Re: [WARN && CRIT] check_disk
Posted: Wed Feb 13, 2013 11:13 am
by ceeper
gshergill wrote:Hi creeper,
When you run the command threshold
Do you get the Use% as 90%?
Kind Regards,
Gary Shergill
Hi,
Yes exactly, it's possible to adapt warning and critical threshold in the graph (perfs data) to acording with the reallity?
Regards.
Re: [WARN && CRIT] check_disk
Posted: Wed Feb 13, 2013 11:17 am
by gshergill
Hi creeper,
Sorry, I'm not sure about the graphs, I don't know what data they use, just wanted to confirm that the check_disk is correct on the command line (which it is).
Sorry can't be of more help.
Kind Regards,
Gary Shergill
Re: [WARN && CRIT] check_disk
Posted: Wed Feb 13, 2013 11:23 am
by slansing
How large is the entire disk that you are monitoring? Are you asking how to change the graph so it shows the total size? And not the critical threshold?
Re: [WARN && CRIT] check_disk
Posted: Thu Feb 14, 2013 2:14 am
by ceeper
slansing wrote:How large is the entire disk that you are monitoring? Are you asking how to change the graph so it shows the total size? And not the critical threshold?
I find out the problem, there are 5% of the space used by the root. And this 5% is not calculed by the performance data.
-->
https://github.com/nagios-plugins/nagio ... ns/pull/22
Regards,