DISK CRITIKAL: No such file or directory
Posted: Mon Jun 04, 2012 2:28 am
Hello,
I want to monitor an ubuntu server 12.04 installation with 3 disks.
Here's the disk configuration from "df":
I set up theses Nagios services:
The first service for "/" gives a correct status.
The other two services give me an error: "DISK CRITICAL - /mnt/db is not accessible: No such file or directory "
Am I doing something wrong?
Thank you!
Best regards,
Stephan
I want to monitor an ubuntu server 12.04 installation with 3 disks.
Here's the disk configuration from "df":
Code: Select all
/dev/md1 78G 4,1G 70G 6% /
...
/dev/sdc1 19T 84G 18T 1% /mnt/images
/dev/sdc2 2,0T 30G 1,8T 2% /mnt/db
Code: Select all
define service{
use generic-service
host_name server
service_description Disk Space /
check_command check_disk!20%!10%!/
}
define service{
use generic-service
host_name server
service_description Disk Space Images
check_command check_disk!20%!10%!/mnt/images
}
define service{
use generic-service
host_name server
service_description Disk Space DB
check_command check_disk!20%!10%!/mnt/db
}
The other two services give me an error: "DISK CRITICAL - /mnt/db is not accessible: No such file or directory "
Am I doing something wrong?
Thank you!
Best regards,
Stephan