Dude 4.0beta3 - Graphs

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

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”)