Community discussions

MikroTik App
 
kamtono
just joined
Topic Author
Posts: 2
Joined: Mon Apr 13, 2009 9:25 pm

graphing minus value ?

Sat Oct 23, 2010 9:24 am

Hi, this is my first thread
i'm following this great howto to create new functions and then graphing it.
http://forum.mikrotik.com/viewtopic.php?f=8&t=45574

but oops, i am realizing that on snmp values what i'd really like to create is minus (-)
my questions is 'how to deal with these things, i'd like to graph power level on each wireless radio i have ?'

thanks

kamtono
 
User avatar
gsandul
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Oct 19, 2009 1:42 pm

Re: graphing minus value ?

Sat Oct 23, 2010 11:43 am

but oops, i am realizing that on snmp values what i'd really like to create is minus (-)
The was some problems with negative values on The Dude v<=3.6 (graphs where not drawed correctly). But on 4.0 there are no such a problems. So if you are dealing with negative SNMP values you should use v 4.0

In any case, when you are in doubts whith some features you always can try and see....
 
kamtono
just joined
Topic Author
Posts: 2
Joined: Mon Apr 13, 2009 9:25 pm

Re: graphing minus value ?

Sun Oct 24, 2010 2:53 pm

Thanks for the response,

i made some error typo on probes, yes it's working perfectly (using latest the dude version 4.2 beta)
 
jmay
Member
Member
Posts: 326
Joined: Tue Jun 23, 2009 8:26 pm

Re: graphing minus value ?

Sat Oct 30, 2010 1:26 am

For anyone else who may still be using 3.6 just multiple your oid by a -1 and your graph will graph as positive numbers. This way it looks proper in the graph.

Example of Canopy power level graph:

oid("iso.org.dod.internet.private.enterprises.mot.whispRoot.whispProducts.whispSm.whispSmStatus.radioDbmInt.0")* -1

Who is online

Users browsing this forum: No registered users and 6 guests