<?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[Поиск VLAN по всей структуре]]></title><description><![CDATA[<p dir="auto">Хотел по быстрому узнать в NetXMS где же я прописал определенны vlan.<br />
И тут у меня тупик.<br />
Задача то простая. Хочу по номену vlan-а или его названию найти железки где он фигурирует.<br />
И обратная задача. Есть куча точек где этот vlan не поднят. Хочу найти их.<br />
Пробовал с помощю поиска. что то такое (type==NODE) and ($node-&gt;hasVLANs) and ($node-&gt;vlans in  %{id:100 } )</p>
<p dir="auto">Поиск в форуме ничего не дал....Ну или я не там искал.</p>
]]></description><link>https://forum.netxms.org/topic/7164/поиск-vlan-по-всей-структуре</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:45:17 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7164.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Sep 2021 15:11:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Поиск VLAN по всей структуре on Thu, 16 Sep 2021 12:51:26 GMT]]></title><description><![CDATA[<p dir="auto">Про сохранение запросов - пользователю нужно дать право "Manage object queries", но его невозможно дать через GUI в текущей версии. В следующем патч релизе мы это исправим.</p>
]]></description><link>https://forum.netxms.org/post/30497</link><guid isPermaLink="true">https://forum.netxms.org/post/30497</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 16 Sep 2021 12:51:26 GMT</pubDate></item><item><title><![CDATA[Reply to Поиск VLAN по всей структуре on Thu, 09 Sep 2021 10:34:05 GMT]]></title><description><![CDATA[<p dir="auto">Вариант для проверки что устройство во всех указанных VLAN'ах:</p>
<pre><code>with
	vlanIdList = { %(4, 5, 8) },
	vlanMatch = {
		list = %();
		for(v : vlans)
		   if (v-&gt;id in vlanIdList)
				list-&gt;append(v-&gt;id);
		return list-&gt;size == vlanIdList-&gt;size;
	}
type == NODE and hasVLANs and vlanMatch
</code></pre>
<p dir="auto">Здесь vlanIdList содержит список VLAN'ов.</p>
<p dir="auto">Проблему с access denied повторил у себя, похоже какой-то баг. Будем разбираться.</p>
]]></description><link>https://forum.netxms.org/post/30466</link><guid isPermaLink="true">https://forum.netxms.org/post/30466</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 09 Sep 2021 10:34:05 GMT</pubDate></item><item><title><![CDATA[Reply to Поиск VLAN по всей структуре on Thu, 09 Sep 2021 08:47:26 GMT]]></title><description><![CDATA[<p dir="auto">Огромное спасибо! Работет!<br />
Не сочтите за наглость... Вкус приходит во время еды. )))</p>
<p dir="auto">А как сделать поиск c нескольким id.</p>
<p dir="auto">Ну и вишенка на торте... Как бы "Постоянные запросы для поиска" сохранять для повторного использованиия<br />
У меня постоянно говорит<br />
Cannot save object query: Access denied<br />
ver 3.9.235</p>
]]></description><link>https://forum.netxms.org/post/30464</link><guid isPermaLink="true">https://forum.netxms.org/post/30464</guid><dc:creator><![CDATA[deepjohnsea]]></dc:creator><pubDate>Thu, 09 Sep 2021 08:47:26 GMT</pubDate></item><item><title><![CDATA[Reply to Поиск VLAN по всей структуре on Thu, 09 Sep 2021 08:08:09 GMT]]></title><description><![CDATA[<p dir="auto">Попробуйте такой запрос:</p>
<pre><code>with
	vlanIdList = {
		list = %();
		for(v : vlans)
			list-&gt;append(v-&gt;id);
		return list;
	}
type == NODE and hasVLANs and (100 in vlanIdList)
</code></pre>
]]></description><link>https://forum.netxms.org/post/30463</link><guid isPermaLink="true">https://forum.netxms.org/post/30463</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 09 Sep 2021 08:08:09 GMT</pubDate></item></channel></rss>