Discovery error - Script error in sensor: java.lang.IllegalArgumentException: pAddx is an integer, but not between 1 and 30!


Description

Sensor error when processing SNMP - Identity: java.lang.IllegalArgumentException: pAddx is an integer, but not between 1 and 30!
undefined (sys_script_include.778011130a0a0b2500c4595ad1d1d768.script; line 32)

Cause

Resolution

From:

var net = new SncIPNetworkV4(eigr.dest_ip_network);
var routeInfo = {net: net, sysid: eigr.sys_id + ''};
exitRoutesByIface[iface].push(routeInfo);

To: (mainly wrapped the above code with an if condition to exclude 0.0.0.0/0 )

if(eigr.dest_ip_network != '0.0.0.0/0') {
var net = new SncIPNetworkV4(eigr.dest_ip_network);
var routeInfo = {net: net, sysid: eigr.sys_id + ''};
exitRoutesByIface[iface].push(routeInfo);}