It's a bug in the framework that we use, happens with dark Windows theme. We are working on a fix, but this might take some time. Meanwhile you can try light theme or use web ui.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu if (b->size == 2) h[b] = b[1];
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: if (v == null) return null;
X | Y | Z | |
Objects | 20554 | 56040 | 41542 |
Monitored nodes | 2175 | 2656 | 5376 |
Collectible DCIs | 34260 | 185742 | 372240 |
Collected datapoints per second | 372 | 979 | 2290 |
Stored datapoints, millions | 8995 | 14978 | 44195 |
RAM, GB | 24 | 74 | 160 |
CPU cores | 8 | 10 | 20 |
DB size, GB | 237 | 1500 | 1500 |
Bytes per datapoint | 53 | 108 | 61 |
function main(oid, name) {
transport = $node->createSNMPTransport();
if (transport == null) return null;
v = transport->getValue(oid);
h = %{};
for (a : v->split(",")) {
b = a->split("=");
if (b->size == 2) h[b] = b[1];
}
return h[name];
}