Apply an operator on query_ifspeed

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
moxxbiales
Posts: 41
Joined: Thu Jun 04, 2015 11:36 am
Location: France

Apply an operator on query_ifspeed

Post by moxxbiales »

Hi again,
I'd like to convert the speed in bits to Mb or Gbit.
I'm using the Interface - traffic (bits/sec) graph template.
The graph item comment Speed : |query_IfSpeed| displays speed in bits and give numbers like 10000000 wich are not very readable.
I'd like to apply an operator to divide it and get speed in Mb or Gb.
I've tried to apply operators but nothing works.
Examples :
|query_ifSpeed|,/,100
|query_ifSpeed:/:100|

It must be a syntax error but I couldn't find out on the web the right syntax to do it.
May be It's impossible...
thanks
vishnubraj
Posts: 23
Joined: Thu Aug 08, 2013 6:37 am

Re: Apply an operator on query_ifspeed

Post by vishnubraj »

I am also trying to achieve the same. Anyone knows the solution
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests