DISK CRITICAL - /var/named/chroot/proc is not accessible: Pe

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Hemdiall
Posts: 2
Joined: Wed Dec 04, 2013 10:23 pm

DISK CRITICAL - /var/named/chroot/proc is not accessible: Pe

Post by Hemdiall »

Hi,
I am getting this message DISK CRITICAL - /var/named/chroot/proc is not accessible: Permission denied
For the life of me i cant figure out why , all the permissions are correct . all other checks are fine.
we are using nagios 3.5 core.
any suggestions would be much appreicated.

Joe

Check / rootFS disk space
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:35:48 1d 18h 55m 27s 1/3 DISK OK - free space: / 2099 MB (19% inode=93%):
Check /data disk space
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:36:53 1d 8h 6m 21s 1/3 DISK OK - free space: /data 9378 MB (44% inode=99%):
Check /data2 disk space
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:27:59 1d 8h 7m 15s 1/3 DISK OK - free space: /data2 151447 MB (28% inode=99%):
Check /mail disk space
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:29:04 1d 18h 56m 10s 1/3 DISK OK - free space: /mail 14637 MB (79% inode=97%):
Check /mailback disk space
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:30:09 1d 18h 55m 4s 1/3 DISK OK - free space: /mailback 3403 MB (73% inode=99%):
Check /urgnet disk space
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:31:15 1d 8h 7m 58s 1/3 DISK OK - free space: /urgnet 4396 MB (13% inode=98%):
Check Disks
This service has 1 comment associated with it This service problem has been acknowledged View Extra Service Notes Perform Extra Service Actions
CRITICAL 12-05-2013 03:32:20 40d 12h 37m 19s 3/3 DISK CRITICAL - /var/named/chroot/proc is not accessible: Permission denied
Check NTP Time
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:33:25 0d 7h 14m 37s 1/3 NTP OK: Offset 0.01152821665 secs
Check Total Processes
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:34:31 1d 19h 0m 41s 1/3 PROCS OK: 192 processes
Check number of pop3-login processes
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:35:36 1d 18h 55m 35s 1/3 PROCS OK: 3 processes with command name 'pop3-login'
Check number of sendmail processes
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:36:41 1d 8h 6m 29s 1/3 PROCS OK: 3 processes with command name 'sendmail'
Check number of uucico processes
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:37:47 1d 18h 55m 24s 1/3 PROCS OK: 15 processes with command name 'uucico'
Current Users
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:28:52 1d 18h 56m 18s 1/3 USERS OK - 4 users currently logged in
Load
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:29:58 0d 16h 58m 4s 1/3 OK - load average: 0.08, 0.11, 0.13
PING
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:33:03 0d 6h 24m 59s 1/3 PING OK - Packet loss = 0%, RTA = 171.71 ms
Processes with high CPU usage
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:30:08 0d 16h 7m 54s 1/3 CPU OK: 194 processes
SSH
View Extra Service Notes Perform Extra Service Actions
OK 12-05-2013 03:29:14 0d 8h 58m 48s 1/3 SSH OK - OpenSSH_4.3 (protocol 2.0)
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: DISK CRITICAL - /var/named/chroot/proc is not accessible

Post by abrist »

First, why are you running a disk check against proc?
Second, it is still most likely a permission issue. What is the output of:

Code: Select all

ls -lad /var/named/chroot/proc
ls -lad /var/named/chroot
ls -lad /var/named
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Hemdiall
Posts: 2
Joined: Wed Dec 04, 2013 10:23 pm

Re: DISK CRITICAL - /var/named/chroot/proc is not accessible

Post by Hemdiall »

here is the out put, sorry ity took so long.

ls -lad /var/named/chroot/proc
dr-xr-xr-x 211 root root 0 Oct 25 02:57 /var/named/chroot/proc
ls -lad /var/named/chroot
drwxr-x--- 6 root named 4096 Oct 7 2011 /var/named/chroot
ls -lad /var/named
drwxr-x--- 5 root named 4096 Apr 11 2008 /var/named
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: DISK CRITICAL - /var/named/chroot/proc is not accessible

Post by scottwilkerson »

It doesn't look like the nagios user will even be able to see these directories with the current permissions

try running

Code: Select all

su nagios -c "ls -lad /var/named/chroot/proc"
su nagios -c "ls -lad /var/named/chroot"
su nagios -c "ls -lad /var/named"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked