Hi Craig, 

Thanks for your response.

The division by zero were cause by my college, he had added the A
diskdrive's into jffnms without a floppy into it :).

About the storage sla problem : 

I did the query and this is the result : 


| 26 | ( <storage_used_blocks> >
((<storage_block_count>*<usage_threshold>)/100)) | Used Storage | Used >
<usage_threshold>% | ((<storage_used_blocks> *
100)/<storage_block_count>) | %   

So it's the same result as you typed.

The result is coming from a C drive on a microsoft SQL server : 

ID       Host    Interface Name          Disk Type       Size (Bytes)
Description                                             Usage Threshold
%       Poller Group      SLA  
1179    SQL_SERVER01 Ams        C:              FixedDisk
10577709568     Label:Local Disk SYSTEM Serial Number 40c566fc  80
Storage Device   Storage


Any idea's ?

Tnx in advance !



Met vriendelijke groet, 
 
 
Sebastian van Dijk

 

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Craig Small
Verzonden: donderdag 26 oktober 2006 0:35
Aan: jffnms-users@lists.sourceforge.net
Onderwerp: Re: [jffnms-users] Error's in sla.inc.php when running
analyzer

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



-------------------------------------------------------------------------
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

Reply via email to