This is simple hook script that sets attribute "lastDiscoveryPoll" to current time for all node's subnets:
Best regards,
Victor
Code Select
for(o : GetObjectParents($node))
{
if (o->type == 1)
{
SetCustomAttribute(o, "lastDiscoveryPoll", time());
}
}
Best regards,
Victor