Did you test the command line

/usr/share/jffnms/engine# php -q rrd_analizer.php 4959
11:15:57 I4959 : 
==========================================================================================
11:15:57 I4959 : Start: 2010-11-16 10:45:00    Stop: 2010-11-16 11:10:00    
Measures: 5
11:15:57 I4959 : storage_block_size(4096) storage_block_count(17912215) 
storage_used_blocks(14346925)
11:15:57 I4959 : 
------------------------------------------------------------------------------------------
11:15:57 New Event (3702429): 2010-11-16 11:15:57 - 12 - 331 - E: - alert - 
rrd_analizer_sla - Storage Used > 80%: 80.1 % - 9
11:15:57 
====================================================================================================
11:15:57 event 3702429:     T 5 - P 3 - R 8    If 'date(2010-11-16 11:15:57) > 
21600' (1)
11:15:57 event 3702429:     T 5 - P 4 - R 9    If 'date(2010-11-16 11:15:57) < 
28800' (0)    Stop
11:15:57 I4959 : sla : Cond0: ( 14346925 > ((17912215*80)/100))      = 1  
-TRUE- Used > 80%: 80.1 %
11:15:57 I4959 : sla : Final Eval: True. INFO: Storage Used > 80%: 80.1 %

(4959 is the ID of one of my interfaces, yours will be different)

----- "Felipe Aceitón Muñoz" <felipe.acei...@3otw.com> a écrit :

> Hi,
> 
> My locale output was:
> 
> LANG=es_ES.UTF-8
> LC_CTYPE="es_ES.UTF-8"
> LC_NUMERIC="es_ES.UTF-8"
> LC_TIME="es_ES.UTF-8"
> LC_COLLATE="es_ES.UTF-8"
> LC_MONETARY="es_ES.UTF-8"
> LC_MESSAGES="es_ES.UTF-8"
> LC_PAPER="es_ES.UTF-8"
> LC_NAME="es_ES.UTF-8"
> LC_ADDRESS="es_ES.UTF-8"
> LC_TELEPHONE="es_ES.UTF-8"
> LC_MEASUREMENT="es_ES.UTF-8"
> LC_IDENTIFICATION="es_ES.UTF-8"
> LC_ALL=
> 
> I have already changed to en_US.UTF-8 but issue is still there, The
> graph have dot values, not coma ones. It was a mistake I commit when I
> typed it (here in Spain we use coma separated values for decimal
> notation).
> 
> 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.
> 
> Thanks Pierre,
> Felipe
> 
> 
> 
> 
> -----Mensaje original-----
> De: p...@free.fr [mailto:p...@free.fr] 
> Enviado el: martes, 16 de noviembre de 2010 10:10
> Para: Felipe Aceitón Muñoz
> CC: jffnms-users@lists.sourceforge.net
> Asunto: Re: [jffnms-users] Debian 5.0.6, 64bits JFFNMS 0.8.5 - No
> Traffic Graphs
> 
> Hi,
> 
> What about your locales ? (can you give the output of #locale ?) In
> your Storage you have *comma* in your values, not *dot*. I think this
> is the problem. Perhaps try dpkg-reconfigure locales and select
> en_US.UTF-8 as default)
> 
> I also had the problem with rrdtool version dropdown list which is not
> displayed correctly.
> 
> Pierre-Damien
> 
> ----- "Felipe Aceitón Muñoz" <felipe.acei...@3otw.com> a écrit :
> 
> > I have already solved the issue, using Debian Lenny 64bits and
> rrdtool
> > 1.3.1 with JFFNMS 0.8.5.
> > 
> > You have to go to the System Setup and configure the rrdtool to use
> > the 1.2.x version, its strange cause it doesn’t keep the select
> list
> > selected after you save it but it runs.
> > 
> > Now I have another issue, in some storage interfaces I have wrong
> SLAs
> > warnings, even when the SLA threshold its not exceeded.
> > 
> > In one of the servers being monitored we have:
> > 
> > (Total Storage / Used Storage / Free Storage as printed in the rrd
> > graph)
> > 
> > C: 64GB / 17,80GB (28%) / 46,87GB (73%)
> > SLA message: C: Storage Used > 80%: 400%
> > 
> > D: 107GB / 7,54GB (7%) / 100,34GB (93%)
> > No SLA message
> > 
> > E: 215GB / 6,90GB (3%) / 208,89GB (97%)
> > No SLA message
> > 
> > F: 107GB / 1,07GB (1%) / 106,30GB (99%)
> > SLA message: F: Storage Used > 80%: 100%
> > 
> > G: 161GB / 19,97GB (12%) / 141,09GB (88%)
> > SLA message: G: Storage Used > 80%: 133,33%
> > 
> > H: 322GB / 55,14GB (17%) / 266,98 (83%)
> > No SLA message
> > 
> > Z: 215GB / 148,78GB (69%) / 72,32GB (34%)
> > No SLA message
> > 
> > Virtual Memory: 9GB / 4,29 (50%) / 4,46GB (52%)
> > SLA message: Virtual Memory Storage Used > 80%: 600%
> > 
> > Physical Memory: 4GB / 3,42GB (80%) / 1,17GB (27%)
> > SLA message: Physical Memory Storage Used > 80%: 83,33%
> > 
> > The last SLA message seems to be the only one that is correct.
> > 
> > Any ideas?
> > 
> > 
> > 
> > -----Mensaje original-----
> > De: p...@free.fr [mailto:p...@free.fr] 
> > Enviado el: jueves, 28 de octubre de 2010 11:37
> > Para: jffnms-users@lists.sourceforge.net
> > Asunto: Re: [jffnms-users] Debian 5.0.6, 64bits JFFNMS 0.8.5 - No
> > Traffic Graphs
> > 
> > What locale do you use ? I remember a problem with french locales
> with
> > the dot and the comma for number. I had to revert to en_US.UTF-8
> > 
> > ----- "Felipe Aceitón Muñoz" <felipe.acei...@3otw.com> a écrit :
> > 
> > > Hi,
> > > 
> > > This version (0.8.5) doesnt have the escaped colon bug, nor the
> > > consulate. Should be another thing...
> > > 
> > > Thanks,
> > > Felipe
> > > 
> > > 
> > > 
> > > -----Mensaje original-----
> > > De: Craig Small [mailto:csm...@enc.com.au] 
> > > Enviado el: jueves, 28 de octubre de 2010 1:59
> > > Para: jffnms-users@lists.sourceforge.net
> > > Asunto: Re: [jffnms-users] Debian 5.0.6, 64bits JFFNMS 0.8.5 - No
> > > Traffic Graphs
> > > 
> > > On Wed, Oct 27, 2010 at 11:54:29AM +0200, Pierre-Damien
> Gatouillat
> > > wrote:
> > > >
> > >
> >
> http://www.mail-archive.com/jffnms-users@lists.sourceforge.net/msg06411.html
> > > 
> > > The strange thing is that I'm not seeing this bug at all on 0.8.5
> > > but yes, that escaped colon or non-escaped colon has cause so
> many
> > > bug reports.
> > > 
> > >  - Craig
> > > -- 

------------------------------------------------------------------------------
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
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to