Disk alert is not working properly
Posted: Fri May 28, 2021 1:09 am
Good morning everyone,
I have nagios installed and the disk alert does not appear in yellow (warning) and I do not know the reason.
In the server checked I have in the file nrpe
command [check_disk] = / usr / lib64 / nagios / plugins / check_disk / -w 40% -c 20%
In the nagios server I have the verification:
define service {
use generic-service
host_name XXXXX.XX
service_description Free space on / dev / sda1
check_command check_nrpe! check_disk -w 40% -c 20%
}
In nagios it appears as:
DISK OK - free space: / 39439 MiB (20.40% inode = 98%):
And a warning should be displayed.
What is wrong with me?
I have nagios installed and the disk alert does not appear in yellow (warning) and I do not know the reason.
In the server checked I have in the file nrpe
command [check_disk] = / usr / lib64 / nagios / plugins / check_disk / -w 40% -c 20%
In the nagios server I have the verification:
define service {
use generic-service
host_name XXXXX.XX
service_description Free space on / dev / sda1
check_command check_nrpe! check_disk -w 40% -c 20%
}
In nagios it appears as:
DISK OK - free space: / 39439 MiB (20.40% inode = 98%):
And a warning should be displayed.
What is wrong with me?