On Tue, Oct 13, 2015 at 10:56 AM, Gunnar Beutner <[email protected]> wrote:
> FWIW the default value for disk_exclude_type is already [ "none", "tmpfs", > "sysfs", "proc", "devtmpfs", "devfs", "mtmfs“ ]. > > I just installed a Debian jessie VM and I’ve tried to manually run > check_disk on a shell (as ‚nobody‘) which seems to be working just fine > here: > > root@debian:~# su -s /bin/bash nobody > nobody@debian:/root$ /usr/lib/nagios/plugins/check_disk -w 80% -c 90% > DISK OK - free space: / 17106 MB (94% inode=96%); /dev 10 MB (100% > inode=99%); /run 91 MB (95% inode=99%); /dev/shm 240 MB (100% inode=99%); > /run/lock 5 MB (100% inode=99%); /sys/fs/cgroup 240 MB (100% inode=99%);| > /=1058MB;3831;1915;0;19160 /dev=0MB;1;0;0;10 /run=4MB;19;9;0;96 > /dev/shm=0MB;47;23;0;240 /run/lock=0MB;0;0;0;5 > /sys/fs/cgroup=0MB;47;23;0;240 > nobody@debian:/root$ > Thanks Gunnar. I've tested this myself but, oddly, I'm getting "DISK CRITICAL" for all of my servers with Icinga2 installed. See below: root@server:~# su - nobody -s /bin/bash No directory, logging in with HOME=/ nobody@server:/$ /usr/lib/nagios/plugins/check_disk -w 80% -c 90% DISK CRITICAL - free space: / 17302 MB (91% inode=95%); /dev 10 MB (100% inode=99%); /run 86 MB (87% inode=99%); /dev/shm 247 MB (99% inode=99%); /run/lock 5 MB (100% inode=99%); /sys/fs/cgroup 247 MB (100% inode=99%);| /=1690MB;4004;2002;0;20024 /dev=0MB;1;0;0;10 /run=12MB;19;9;0;98 /dev/shm=0MB;49;24;0;247 /run/lock=0MB;0;0;0;5 /sys/fs/cgroup=0MB;49;24;0;247 But I don't get these "critical" errors by email or in the IcingaWeb2 interface.
_______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
