QuoteI have problem too. My enveropment:Do you have netxms-server-dbg package installed on your system? If not, please install it and make the backtrace again.
Docker, Ubuntu 18.04, PG 12.5, NetXMS 4.4.2
We really need your input in this questionnaire
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 MenuQuoteI have problem too. My enveropment:Do you have netxms-server-dbg package installed on your system? If not, please install it and make the backtrace again.
Docker, Ubuntu 18.04, PG 12.5, NetXMS 4.4.2
trace(0, $dci->name . ", $1: " . $1);
lastValue = GetDCIValue($node, $dci->id);
trace(0, "lastValue: " . lastValue);
speed = 0;
for (i: $node->interfaces) {
if (i->name == $dci->instance) speed = i->speed;
}
trace(0, "speed: " . speed);
if (lastValue == null or speed == 0) return $1 * 8; // could not do much
upperLimit = int64(speed / 8L * 1.2); // in bytes
trace(0, "upperLimit: " . upperLimit);
if ($1 > upperLimit) return lastValue;
trace(0, "returning $1*8: " . $1 * 8);
return $1 * 8;