Community discussions

MikroTik App
 
j1100
just joined
Topic Author
Posts: 11
Joined: Mon Oct 04, 2010 11:59 pm

OID Discrepancy

Fri Nov 17, 2017 4:17 am

I'm trying to graph an OID from a licensed link on the dude, and am having issues with the dude not returning a value. If I use an external utility to probe the OID, I get the correct value (-43 in this case). However, if I walk the OID via the dude I get no value returned - it graphs as "0". Is there something non-standard about the way the dude acquires the value of an OID?

Any ideas on what I should try?

Thanks.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: OID Discrepancy

Fri Nov 17, 2017 10:41 pm

Try to start oid number by a point: "."
 
j1100
just joined
Topic Author
Posts: 11
Joined: Mon Oct 04, 2010 11:59 pm

Re: OID Discrepancy

Fri Nov 17, 2017 11:43 pm

I added a "." to the OID in the Function, however I have yet to see a change - it doesn't look like it is doing anything when I try to re-probe. If I add a "." to the beginning of the OID and walk it, it won't allow me to do so.
 
jebz
Member
Member
Posts: 366
Joined: Sun May 01, 2011 12:03 pm
Location: Australia

Re: OID Discrepancy

Sat Nov 18, 2017 8:45 am

If I use an external utility to probe the OID, I get the correct value (-43 in this case). However, if I walk the OID via the dude I get no value returned - it graphs as "0".
Try
oid_raw("1. 
because sometimes you can have a data type mismatch.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: OID Discrepancy

Sat Nov 18, 2017 11:50 am

Yep. "1." might be the thing I wanted to point at.
 
j1100
just joined
Topic Author
Posts: 11
Joined: Mon Oct 04, 2010 11:59 pm

Re: OID Discrepancy

Mon Nov 20, 2017 5:50 am

Changing to "oid_raw" did the trick. Thanks everyone!

If I use an external utility to probe the OID, I get the correct value (-43 in this case). However, if I walk the OID via the dude I get no value returned - it graphs as "0".
Try
oid_raw("1.
because sometimes you can have a data type mismatch.

Who is online

Users browsing this forum: No registered users and 15 guests