check_disk plugin
Terry.Rankine at csiro.au
Terry.Rankine at csiro.au
Tue Oct 13 03:22:54 CEST 2009
Hi All
When I run the check_disk plugin it only detects the first disks numbers.
[root at wsrv1 nagios]# /usr/lib/nagios/plugins/check_disk -w 80
DISK WARNING - free space: / 14512 MB (50% inode=97%); /boot 58 MB (62% inode=99%); /mnt/disk 16522 MB (53% inode=99%); /mnt/dbdata 2445 MB (7% inode=99%); /dev/shm 633 MB (62% inode=99%);| /=13958MB;29617;;0;29697 /boot=35MB;18;;0;98 /mnt/disk=14090MB;32171;;0;32251 /mnt/dbdata=28166MB;32171;;0;32251 /dev/shm=379MB;933;;0;1013
[root at wsrv1 nagios]# /usr/lib/nagios/plugins/check_disk -w 20
DISK OK - free space: / 14512 MB (50% inode=97%); /boot 58 MB (62% inode=99%); /mnt/disk 16522 MB (53% inode=99%); /mnt/dbdata 2445 MB (7% inode=99%); /dev/shm 633 MB (62% inode=99%);| /=13958MB;29677;;0;29697 /boot=35MB;78;;0;98 /mnt/disk=14090MB;32231;;0;32251 /mnt/dbdata=28166MB;32231;;0;32251 /dev/shm=379MB;993;;0;1013
The second command should still warn me as dbdata is almost full.
[root at wsrv1 nagios]# df --si
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
32G 15G 16G 50% /
/dev/sda1 104M 38M 62M 38% /boot
/dev/sdb5 34G 15G 18G 47% /mnt/disk
/dev/sdc5 34G 30G 2.6G 93% /mnt/dbdata
tmpfs 1.1G 399M 665M 38% /dev/shm
How do i fix it?
[root at wsrv1 nagios]# /usr/lib/nagios/plugins/check_disk --help
check_disk v2025 (nagios-plugins 1.4.13)
Terry Rankine
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list