Hello Jordi,

I've replaced 'gt' to '>' in that line and network usage works as intended
now.

Thank you very much for help and Monitorix!

P.S. I know that there is newer version of monitorix - 3.6.0 and i see that
it has the same problem. I hope next version of monitorix added to FreeBSD
packages (3.6.0 is still not there) will have patch or changes made in this
line ;-)

On Tue, Sep 9, 2014 at 5:03 PM, Jordi Sanfeliu <jo...@fibranet.cat> wrote:

> Hello Sergey,
>
> I've checked all this and you're right, the code must use the character
> greater than '>' instead of the operator 'gt' since the comparison is
> numerical.
>
> So please, change your line to:
>
> if($config->{kernel} > "7.2")
>
> and let me know if it works for you.
> Thanks.
>
>
> On 09/09/2014 01:37 PM, Sergey Andreyev wrote:
> [...]>
> > So it seems like that "$config->{kernel} gt "7.2" is not working for
> > FreeBSD 10.0
> > I did not dig deeper in the code to find out how does that
> > $config->{kernel} variable sets, but I can guess it has trouble with its
> > length, may be it parses 10.0 to 0.0, but i don't know :)
> >
> > --
> > with best regards
> > Sergey Andreyev
> >
>
> --
> Jordi Sanfeliu
> FIBRANET Network Services Provider
> http://www.fibranet.cat
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce.
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> Monitorix-general mailing list
> Monitorix-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monitorix-general
>



-- 
with best regards
Sergey Andreyev
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general

Reply via email to