From: Yves M. <yme...@li...> - 2004-10-06 21:42:18
|
> Clif a =E9crit : > >> When doing <./check_disk -l -w 10% -c 5%> DISK OK - free space: / 31 >> MB (12%); /boot 90 MB (74%); /disk1 658 MB (90%); /dev/shm 503 MB >> (100%); /tmp 450 MB (91%); /usr 1729 MB (43%); /var 321 MB (32%);| >> /=3D30MB;225;237;0;250 /boot=3D90MB;108;114;0;121 >> /disk1=3D657MB;659;696;0;733 /dev/shm=3D503MB;452;477;0;503 >> /tmp=3D450MB;443;468;0;493 /usr=3D1728MB;3627;3828;0;4030 >> /var=3D321MB;909;960;0;1011 >> >> The plugin and Nagios correctly see that all is good (DISK OK), no >> disks have 10% or less free. However, PerfParse shows /dev/shm and >> /tmp to be at Critical and Warning?! >> >> Any ideas? > yes, i've seen it. it seems to me, perfparse check only if we are above > a limit and not under (or something like that). i've seen this strange > effect on some other plugins but doesn't have time to investigate more > for now. When you don't specify the lower limit, the number is the higher limit an= d the lower limit is 0 (see the plugin specs). In Perfarse, there is a limitation with limits : we can parse and store o= nly one number and consider it as the higher limit. I need to investigate to see if vers= ions until 0.100.X consider the lower limit as -infinite or as 0. In perfparse-0.101.X we don't have that limitation in the parser any more= . We will keep that limitation in the database schema for a while because we cannot do e= verything at the same time :) However, fixing this limitation is in our high priorities, with reducing = the database size and with having a better client/server support than just accessing t= he database directly from any machine. Before that we change it, try to avoid plugins that return inversed value= s (as free space, free memory, free candy...) and only have plugins that return WARN= or CRIT with high values. Help is always welcome, and now, help would be particularly appreciated f= or beta-testing perfparse-0.101.0ymX from http://ymettier.chez.tiscali.fr/perfparse-devel= /index.php (warning : I'm very active and I can release more than 1 version a day :) Read doc/UPGRADE that is the only documentation about what changed. Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - GTKtalog - http://www.nongnu.org/gtktalog/ - |