<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[hook::CreateInterface After adding script, interface name become unknown]]></title><description><![CDATA[<p dir="auto">i use netxms server 4.4.2<br />
after hook::CreateInterface add below script ,interface name and descript become unknown. why? </p>
<p dir="auto">if ($1-&gt;name ~= "(?i).*Teredo.*|.*isatap.*|.*Loopback.*|.*Bluetooth.*|Local Area Connection\* 12|Local Area Connection\* 11|Local Area Connection\* 9|Local Area Connection\* 8|Local Area Connection\* 2|6TO4 Adapter|sit0") {<br />
  return false;<br />
} else {<br />
  return true;<br />
}</p>
]]></description><link>https://forum.netxms.org/topic/7775/hook-createinterface-after-adding-script-interface-name-become-unknown</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:11:07 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7775.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Sep 2023 14:43:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to hook::CreateInterface After adding script, interface name become unknown on Mon, 25 Sep 2023 10:31:56 GMT]]></title><description><![CDATA[<p dir="auto">Yes, that's exactly how it works. If at some point server would be able to get info about interfaces from agent, this interface will be recreated with proper name.</p>
]]></description><link>https://forum.netxms.org/post/32831</link><guid isPermaLink="true">https://forum.netxms.org/post/32831</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 25 Sep 2023 10:31:56 GMT</pubDate></item><item><title><![CDATA[Reply to hook::CreateInterface After adding script, interface name become unknown on Sat, 23 Sep 2023 10:33:00 GMT]]></title><description><![CDATA[<p dir="auto">I'm sorry. I found that some interface names appear unknown not because of the hook script but because there is no appropriate snmp mib and agent installation. If the interface is only obtained through icmp and arp, it seems that only the unknown name can be obtained.</p>
]]></description><link>https://forum.netxms.org/post/32825</link><guid isPermaLink="true">https://forum.netxms.org/post/32825</guid><dc:creator><![CDATA[hmjvaline]]></dc:creator><pubDate>Sat, 23 Sep 2023 10:33:00 GMT</pubDate></item><item><title><![CDATA[Reply to hook::CreateInterface After adding script, interface name become unknown on Sat, 23 Sep 2023 09:30:00 GMT]]></title><description><![CDATA[<pre><code>[color=#202124][size=5][font=Verdana, Arial, Helvetica, sans-serif]In the attached file, I have attached normal and abnormal screenshots.[/font][/size][/color]
</code></pre>
<pre><code>[pre][color=#202124][size=5][font=Verdana, Arial, Helvetica, sans-serif]the normal interface display after I remove the script.[/font][/size][/color]
</code></pre>
<pre><code>[color=#202124][size=5][font=Verdana, Arial, Helvetica, sans-serif]I only use the simplest snmp polling and agent. Before adding this script to the hook,
interface name and description was normal without using any regular expressions.[/font][/size][/color]
</code></pre>
<p dir="auto">[/pre]</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006514-abnormal.PNG" alt="abnormal.PNG" class="img-markdown  img-fluid" width="513" height="146" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006516-normal.PNG" alt="normal.PNG" class="img-markdown  img-fluid" width="501" height="128" /></p>
]]></description><link>https://forum.netxms.org/post/32824</link><guid isPermaLink="true">https://forum.netxms.org/post/32824</guid><dc:creator><![CDATA[hmjvaline]]></dc:creator><pubDate>Sat, 23 Sep 2023 09:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to hook::CreateInterface After adding script, interface name become unknown on Fri, 22 Sep 2023 16:02:54 GMT]]></title><description><![CDATA[<p dir="auto">Can you show a screenshot how these "unknown" name and description look like?<br />
Is it so for all interfaces that are being created or for some (agent, snmp, with specific name?)<br />
What if you try a simpler regex, without alternatives, would it change anything?</p>
]]></description><link>https://forum.netxms.org/post/32822</link><guid isPermaLink="true">https://forum.netxms.org/post/32822</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 22 Sep 2023 16:02:54 GMT</pubDate></item></channel></rss>