Javier,

Interface has 0 traffic is normal.

Min 

-----Original Message-----
From: Javier Szyszlican [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 18, 2005 10:03 AM
Cc: [email protected]
Subject: Re: [jffnms-users] division by zero in rrd_analyzer.php v 0.80

Hi Falz,

This is not a SLA problem, the retrived value was 0, so it tries to
divide by 0.

You have to check why that storage interface had 0.

Javier

falz wrote:
> I've been using .79 for several months now, and all works great. On my

> home network, I decided to try out .80. Instead of upgrading, I 
> decided to set it up from scratch.
> 
> The two snmp devices- a cisco router and the server itsself (freebsd) 
> both have its interfaces and such discovered just fine. However, the 
> graphs are all blank with the sole exception of the Reachability test.
> So, this led me to beleive there's some snmp problem somewhere.
> 
> I've got logging turned on, but I don't see any errors. if I su to my 
> jffnms user, I get errors to stdout when running rrd_analyzer.php:
> 
> 
> Warning: Division by zero in
> /home/jffnms/jffnms-0.8.0/engine/analyzers/sla.inc.php(62) : eval()'d 
> code on line 1
> 19:50:12 I16 : sla : Cond0: ( 0 > ((0*80)/100))                    = 0
>  -FALSE- Used > 80%: 0 %
> 19:50:12 I16 : sla : Final Eval: False.
> 19:50:13 I17 :
========================================================================
==================
> 19:50:13 I17 : Start: 2005-02-17 19:15:00       Stop: 2005-02-17
> 19:45:00       Measures: 6
> 19:50:13 I17 : storage_block_size(0) storage_block_count(0)
> storage_used_blocks(0)
> 19:50:13 I17 : 
> ----------------------------------------------------------------------
> --------------------
> 
> 
> (yes, that's the path I have it in, and yes, apache can write to the 
> images dir and such)
> 
> Basicly, for just about everything, I get this division by zero.
> 
> any ideas?
> 
> --falz
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide Read honest & candid 
> reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> jffnms-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jffnms-users

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you can, please donate at
http://jffnms.org/donate



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid
reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to