From includes/discovery/loadbalancers/f5-ltm.inc.php
$result[‘IP’] = IP::fromHexString($ltmVirtualServEntry[‘1.3.6.1.4.1.3375.2.2.10.1.2.1.3.’.$index], true);
and
$result[‘IP’] = IP::fromHexString($ltmPoolMemberEntry[‘1.3.6.1.4.1.3375.2.2.5.3.2.1.3.’.$index], true);
snmp value receive like : AC 16 49 42 00 00 FF FF
need to parse first char only : AC 16 49 42 to get valide ip addr
Quick and dirty change to librenms/includes/discovery/loadbalancers/f5-ltm.inc.php
For VS
// Now that we have our UID we can pull all the other data we need.
$hexstring=$ltmVirtualServEntry['1.3.6.1.4.1.3375.2.2.10.1.2.1.3.'.$index];
$hexstring=substr($hexstring,0,11);
//$result['IP'] = IP::fromHexString($ltmVirtualServEntry['1.3.6.1.4.1.3375.2.2.10.1.2.1.3.'.$index], true);
$result['IP'] = IP::fromHexString($hexstring, true);
And For PM
// Now that we have our UID we can pull all the other data we need.
$hexstring=$ltmPoolMemberEntry['1.3.6.1.4.1.3375.2.2.5.3.2.1.3.'.$index];
$hexstring=substr($hexstring,0,11);
//$result['IP'] = IP::fromHexString($ltmPoolMemberEntry['1.3.6.1.4.1.3375.2.2.5.3.2.1.3.'.$index], true);
$result['IP'] = IP::fromHexString($hexstring, true);