On Wed, Oct 25, 2006 at 11:10:31AM +0200, Dijk, Sebastian van wrote: > I am getting the following errors when running the rrd_analyzer :
> ======================================================================== > ================== > 09:59:57 I1260 : Start: 2006-10-25 09:20:00 Stop: 2006-10-25 > 09:50:00 Measures: 6 > 09:59:57 I1260 : storage_block_size(0) storage_block_count(0) > storage_used_blocks(0) > 09:59:57 I1260 : > ------------------------------------------------------------------------ > ------------------ The storage SLA definition is: ((<storage_used_blocks> * 100)/<storage_block_count>) substiting the values (the numbers in the brackets above) we get: ((0 * 100)/0) = 0/0 That sure looks like division by zero! > Warning: Division by zero in > /usr/share/jffnms/engine/analyzers/sla.inc.php(62) : eval()'d code on > line 1 and JFFNMS agrees. This interface is polling anf returning zero for everything, that's you problem. the rrd analyzer is just kicking up a fuss about it. OK, next problem. > ================== > 09:58:42 I1197 : Start: 2006-10-25 09:20:00 Stop: 2006-10-25 > 09:50:00 Measures: 6 > 09:58:42 I1197 : storage_block_size(65536) storage_block_count(192195) > storage_used_blocks(189964) > 09:58:42 I1197 : > ------------------------------------------------------------------------ > ------------------ > > Parse error: syntax error, unexpected ',' in > /usr/share/jffnms/engine/analyzers/sla.inc.php(72) : eval()'d code on > line 1 whoa, where is that coming from? Check your SLA Individual Conditions, especially item 26. mysql> select * from slas_cond where id=26; | 26 | ( <storage_used_blocks> > ((<storage_block_count>*<usage_threshold>)/100)) | Used Storage | Used > <usage_threshold>% | ((<storage_used_blocks> * 100)/<storage_block_count>) | % | - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 Eye-Net Consulting http://www.enc.com.au/ MIEE Debian developer csmall at : enc.com.au ieee.org debian.org ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users