Hello.
You need to upgrade Java to version 11 or newer.
You need to upgrade Java to version 11 or newer.
We really need your input in this questionnaire
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu#!/usr/bin/env nxshell
TABLE_NAME='MAC Address'
# find mapping table, create if missing
table_id = -1
for t in session.listMappingTables():
if t.name == TABLE_NAME:
table_id = t.id
break
if table_id == -1:
table_id = session.createMappingTable(TABLE_NAME, 'Lookup table for MAC -> Vendor', 0)
target_table = session.getMappingTable(table_id)
with open('oui.txt', 'r') as f:
target_table.data.clear()
for line in f.readlines():
if "(hex)" in line:
(mac, _, name) = line.strip().split('\t')
mac = mac.split(' ')[0].replace('-', ':')
target_table.data.add(MappingTableEntry(mac, name, None))
session.updateMappingTable(target_table)
for (i : $node->interfaces) {
if (i->ipAddr == $node->ipAddr) {
return map("MAC Address", (substr(i->macAddr, 0, 8)));
}
}
Result: Apple, Inc.
LogFile=c:\netxms\logs\nxagentd.log
[EXT:XYZ]
LogFile=c:\netxms\logs\nxagentd.xyx.log
Action=StartApp:c:\...\app.exe
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v NetXMSExternalAgent /t REG_SZ /d "C:\NetXMS\bin\nxagentd.exe -c C:\NetXMS\etc\nxagentd.conf -G EXT:XYZ -H" /f
Quotegenerated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --with-server --with-mariadb --with-mariadb-compat-headers --with-agent --without-curl --disable-ssh --disable-mqtt --disable-dependency-tracking