is it this line?:
Try running your script via "Execute script" on your PDU node. You can add line like
Code Select
if (b->size == 2) h[b] = b[1];Try running your script via "Execute script" on your PDU node. You can add line like
Code Select
println(b);into your script, this way you'll see what exactly is contained in the variables. I'd start with checking of what comes in variable v, it could be that nothing just comes via snmp. Actually, transport->getValue() can return null if there's some problem, so after that line there should be a check for that:Code Select
if (v == null) return null;