Вопрос по Macros for Event Processing
-
-
Есть событие SYS_NODE_ADDED. Если нода найдена через Network Discovery то это событие генерится после того, как произошел configuration poll и нода уже добавлена под объекты подсетей.
И тогда в EPP в правиле для этого события можно поставить filtering scriptsubnets = [];
for (p : $node.parents) if (classof(p) == "Subnet") subnets.append(p.name);
$event.addParameter("subnets", subnets.join(", "));
return true;и скрипт добавит в событие еще один параметр, который потом можно достать макросом %<subnets>
-
-
Да, все верно - это NXSL
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login