Now Im really lost, The rrd_analizer output is correct, I have cheked the crontab for the jffnms user and seems correct too.
rrd_analizer: # php -q rrd_analizer.php 770 12:23:36 I770 : ========================================================================================== 12:23:36 I770 : Start: 2010-11-16 11:50:00 Stop: 2010-11-16 12:15:00 Measures: 5 12:23:36 I770 : storage_block_size(4096) storage_block_count(15702527) storage_used_blocks(4266058) 12:23:36 I770 : ------------------------------------------------------------------------------------------ 12:23:36 I770 : sla : Cond0: ( 4266058 > ((15702527*80)/100)) = 0 -FALSE- Used > 80%: 27.17 % 12:23:36 I770 : sla : Final Eval: False. # php -q rrd_analizer.php 771 12:24:33 I771 : ========================================================================================== 12:24:33 I771 : Start: 2010-11-16 11:50:00 Stop: 2010-11-16 12:15:00 Measures: 5 12:24:33 I771 : storage_block_size(4096) storage_block_count(26213631) storage_used_blocks(1716926) 12:24:33 I771 : ------------------------------------------------------------------------------------------ 12:24:33 I771 : sla : Cond0: ( 1716926 > ((26213631*80)/100)) = 0 -FALSE- Used > 80%: 6.55 % 12:24:33 I771 : sla : Final Eval: False. # php -q rrd_analizer.php 772 12:24:52 I772 : ========================================================================================== 12:24:52 I772 : Start: 2010-11-16 11:50:00 Stop: 2010-11-16 12:15:00 Measures: 5 12:24:52 I772 : storage_block_size(4096) storage_block_count(52428031) storage_used_blocks(1430151) 12:24:52 I772 : ------------------------------------------------------------------------------------------ 12:24:52 I772 : sla : Cond0: ( 1430151 > ((52428031*80)/100)) = 0 -FALSE- Used > 80%: 2.73 % 12:24:52 I772 : sla : Final Eval: False. # php -q rrd_analizer.php 773 12:24:58 I773 : ========================================================================================== 12:24:58 I773 : Start: 2010-11-16 11:50:00 Stop: 2010-11-16 12:15:00 Measures: 5 12:24:58 I773 : storage_block_size(4096) storage_block_count(26213631) storage_used_blocks(260845) 12:24:58 I773 : ------------------------------------------------------------------------------------------ 12:24:58 I773 : sla : Cond0: ( 260845 > ((26213631*80)/100)) = 0 -FALSE- Used > 80%: 1 % 12:24:58 I773 : sla : Final Eval: False. # php -q rrd_analizer.php 774 12:25:01 I774 : ========================================================================================== 12:25:01 I774 : Start: 2010-11-16 11:55:00 Stop: 2010-11-16 12:20:00 Measures: 5 12:25:01 I774 : storage_block_size(4096) storage_block_count(39320831) storage_used_blocks(4876576) 12:25:01 I774 : ------------------------------------------------------------------------------------------ 12:25:01 I774 : sla : Cond0: ( 4876576 > ((39320831*80)/100)) = 0 -FALSE- Used > 80%: 12.4 % 12:25:01 I774 : sla : Final Eval: False. # php -q rrd_analizer.php 775 12:25:08 I775 : ========================================================================================== 12:25:08 I775 : Start: 2010-11-16 11:55:00 Stop: 2010-11-16 12:20:00 Measures: 5 12:25:08 I775 : storage_block_size(4096) storage_block_count(78642431) storage_used_blocks(13461077) 12:25:08 I775 : ------------------------------------------------------------------------------------------ 12:25:08 I775 : sla : Cond0: ( 13461077 > ((78642431*80)/100)) = 0 -FALSE- Used > 80%: 17.12 % 12:25:08 I775 : sla : Final Eval: False. # php -q rrd_analizer.php 776 12:25:12 I776 : ========================================================================================== 12:25:12 I776 : Start: 2010-11-16 11:55:00 Stop: 2010-11-16 12:20:00 Measures: 5 12:25:12 I776 : storage_block_size(4096) storage_block_count(52428031) storage_used_blocks(36231711) 12:25:12 I776 : ------------------------------------------------------------------------------------------ 12:25:12 I776 : sla : Cond0: ( 36231711 > ((52428031*80)/100)) = 0 -FALSE- Used > 80%: 69.11 % 12:25:12 I776 : sla : Final Eval: False. # php -q rrd_analizer.php 777 12:25:15 I777 : ========================================================================================== 12:25:15 I777 : Start: 2010-11-16 11:55:00 Stop: 2010-11-16 12:20:00 Measures: 5 12:25:15 I777 : storage_block_size(65536) storage_block_count(131028) storage_used_blocks(63599) 12:25:15 I777 : ------------------------------------------------------------------------------------------ 12:25:15 I777 : sla : Cond0: ( 63599 > ((131028*80)/100)) = 0 -FALSE- Used > 80%: 48.54 % 12:25:15 I777 : sla : Final Eval: False. # php -q rrd_analizer.php 778 12:25:19 I778 : ========================================================================================== 12:25:19 I778 : Start: 2010-11-16 11:55:00 Stop: 2010-11-16 12:20:00 Measures: 5 12:25:19 I778 : storage_block_size(65536) storage_block_count(65528) storage_used_blocks(53499) 12:25:19 I778 : ------------------------------------------------------------------------------------------ 12:25:19 New Event (2158): 2010-11-16 12:25:19 - 12 - 93 - Physical Memory - alert - rrd_analizer_sla - Storage Used > 80%: 81.64 % - 9 12:25:19 I778 : sla : Cond0: ( 53499 > ((65528*80)/100)) = 1 -TRUE- Used > 80%: 81.64 % 12:25:19 I778 : sla : Final Eval: True. INFO: Storage Used > 80%: 81.64 % crontab: */30 * * * * cd $JFFNMS && $PHP -q rrd_analizer.php >/dev/null 2>&1 I have updated this version from 0.8.3 to 0.8.4 and the to 0.8.5. Any ideas? What coukld be wrong if rrd_analizer seems to check it correctly but I have some Interfaces with Storage Used SLAs warning?? Thanks, Felipe -----Mensaje original----- De: Craig Small [mailto:[email protected]] Enviado el: martes, 16 de noviembre de 2010 12:02 Para: [email protected] Asunto: Re: [jffnms-users] Wrong SLAs in fixed disks - JFFNMS 0.8.5 (Debian Lenny x64) On Tue, Nov 16, 2010 at 11:22:07AM +0100, [email protected] wrote: > Did you test the command line > > /usr/share/jffnms/engine# php -q rrd_analizer.php 4959 This is certainly the best way to work out what is going on with the SLA alarms. The command line in the next version changes, but for now just put your interface ID on the command line. > > Its strange that this only happens with some fixed disk, may it be > > produced by the blocks operations in order to calculate the size? I > > don’t really know where in the code JFFNMS does this comparison. It comes from the pollers. - Craig -- Craig Small VK2XLZ http://www.enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
