Bug NagVis: Checkmk + Nagvis, service line, how to change unit to bit/s?

Continuing the saga with this new tool.
Now on the Nagvis Map the link speed is not shown in bits / s.
A link with consumption at Gigabit’s house shows in Mbits.

In the checkmk rule I have already set this to Bits.
How to adjust this?

do you have changed the option

Edit rule: Network interfaces and switch ports

Speak BH2005 !!!

Grateful for the answer.
But I did change it according to the print.
Version 2.0.

I have noticed that in version 1.6 it is ok in 2.0 it is not ok …
or am I making a mistake.
today I will follow up with new tests
atte,
Vinicius Dalcin

okay my 2.0 Setup is still not running so I can give just the Info how it works in 1.6.22

Greets Bernd

Sorry my english I am from Brazil and I use Google Translator.

So, I’m going to go up the 1.6 even.
And leave the 2.0 in tests.

I don’t know if it is easy to upgrade later or will I have to install everything again?

Atee,
Vinicuis Dalcin

It looks like it has had some recent updates and one of them regarding Checkmk. Will it be a BUG in 2.0?

The bits/bytes problem in NagVis is a little bit more difficult.
It is not possible without a small code change.
The old thread was also with @BH2005 :slight_smile:

Google translate should also work for my German in that post :slight_smile:

The match string inside NagVis looks like this

'In: [0-9].*bit/s.*Out: [0-9]+'

But the output in CMK is this

In: 77.9 kBit/s (<0.01%), Out: 11.6 kBit/s (<0.01%)

This will not match.

My solution from the old post is a general solution for all interface to show the traffic in bits.

2 Likes

In fact I just tested it and in 2.0 it is not with the expected result.
In version 1.6 it’s ok

I’ll look at your post! @andreas-doehler
Thanks !

I changed the variable to true.
I restarted the entire omd instance.

it had no effect. continues in bytes …

The important part is the “NagVisCompressed.js” as there is all the code included as it is in the single files.

1 Like

@ andreas-doehler my friend!

I changed it here and it worked on time !!! Line 3602 display_bits=true;

THANK YOU SO MUCH !!!
THANK YOU SO MUCH !!!
THANK YOU SO MUCH !!!

You know a lot !!!

Atte,
Vinicius Dalcin

Where do I mark how this topic is resolved?

I just analyzed and in the version of checkmk 1.6 this is true and not false 2.0 … … wonderful!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact @fayepal if you think this should be re-opened.