Hello all, I am trying to monitor the following file systems but am getting the below errors?
/ Disk Usage Critical 3h 33m 8s 5/5 2015-12-22 15:55:11 DISK CRITICAL - 20% is not accessible: No such file or directory
/u01 Disk Usage Critical 3h 30m 22s 5/5 2015-12-22 15:55:28 DISK CRITICAL - 20% is not accessible: No such file or directory
/var Disk Usage Critical 3h 30m 22s 5/5 2015-12-22 15:55:28 DISK CRITICAL - 20% is not accessible: No such file or directory
Any help is appreciated.
Thanks
Problem Monitoring Filesystems
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Problem Monitoring Filesystems
How are you monitoring them?
What plugin is being used?
What method is used to execute the plugin?
What plugin is being used?
What method is used to execute the plugin?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Problem Monitoring Filesystems
Can you provide a bit more information about these checks -
- How are these service checks running?
- Are they on the local Nagios server, or a remote host?
- What script are you using to check the filesystem?
- Can you post a screenshot of the service definition page for one of these checks?
- How are these service checks running?
- Are they on the local Nagios server, or a remote host?
- What script are you using to check the filesystem?
- Can you post a screenshot of the service definition page for one of these checks?
Former Nagios Employee
-
rewilliams_spro
- Posts: 4
- Joined: Tue Dec 15, 2015 10:13 am
Re: Problem Monitoring Filesystems
Sorry for the late response. I am very new to nagios so be gentle lol.
1. During the initial setup of a client , you are able to specify the file systems. I specified /var, /d01 and /u01. Can you monitor logical volumes? Does it need to be device. I have tried both of these.
OLD check_nrpe!check_disk!-a '-w 20% -c 10% -p /var'
CHANGED TO check_nrpe!check_disk!-a '-w 20% -c 10% -p /dev/mapper/vg_server-lv_var'
Just noticed that in the nrpe.cfg file the following is hard coded. Do i need to change this to /dev/mapper/vg_server-lv_var?
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
2. I am using the NRPE plugin to monitor the file systems. Should i be using something else?
3. I am not sure what the service definition page is. The only thing that is not working is file system monitoring.
Please ask for other information if needed.
1. During the initial setup of a client , you are able to specify the file systems. I specified /var, /d01 and /u01. Can you monitor logical volumes? Does it need to be device. I have tried both of these.
OLD check_nrpe!check_disk!-a '-w 20% -c 10% -p /var'
CHANGED TO check_nrpe!check_disk!-a '-w 20% -c 10% -p /dev/mapper/vg_server-lv_var'
Just noticed that in the nrpe.cfg file the following is hard coded. Do i need to change this to /dev/mapper/vg_server-lv_var?
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
2. I am using the NRPE plugin to monitor the file systems. Should i be using something else?
3. I am not sure what the service definition page is. The only thing that is not working is file system monitoring.
Please ask for other information if needed.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Problem Monitoring Filesystems
You can create a custom command like:rewilliams_spro wrote:Just noticed that in the nrpe.cfg file the following is hard coded. Do i need to change this to /dev/mapper/vg_server-lv_var?
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
Code: Select all
command[check_disk_custom]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p $ARG1$Code: Select all
check_nrpe!check_disk_custom!-a '/dev/mapper/vg_server-lv_var'This is fine. The NRPE client is actually using the plugin /usr/local/nagios/libexec/check_diskrewilliams_spro wrote:2. I am using the NRPE plugin to monitor the file systems. Should i be using something else?
Core Configuration Manager > Monitoring > Servicesrewilliams_spro wrote:3. I am not sure what the service definition page is. The only thing that is not working is file system monitoring.
Click the service in question
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.