Community discussions

MikroTik App
 
dreamor
just joined
Topic Author
Posts: 1
Joined: Tue Mar 22, 2016 11:10 am

Dude 4.0beta3 - Graphs

Tue Mar 22, 2016 11:56 am

Hi guys!

I would like to a SNR graph to the charts with (SNMP) RB411,RB433AH,RB SXT 5nD,RB SXT G-HPnD(r2) devices, that's ok, the graph is running correctly, but plot the "ZERO" entry. (I can't how, because the device is down, his got "empty" but no "ZERO".) How can i fix it?

Best regards,
Gergo
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Dude 4.0beta3 - Graphs

Wed Apr 06, 2016 12:55 am

In your function add 1 to the value just before you examine it so it will never be 0. You can subtract 1 when you graph it for accuracy.

if(string_size(oid("1.3.6.1.4.1.3530.5.8.0",10,5)),oid("1.3.6.1.4.1.3530.5.8.0",10,5)+1,"False")

Who is online

Users browsing this forum: No registered users and 68 guests