News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

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

Messages - Filipp Sudanov

#271
Да, в рамках одной зоны в NetXMS не может быть интерфейсов с одинаковыми адресами. Выход - в хук скрипте, который запускается перед созданием новых интерфейсов (Hook::CreateInterface) можно запретиться создание интерфейса, например:

for (i : $1.ipAddressList) {
  if (i.address == "10.2.1.188") {
    PollerTrace("  Blocked interface creation, because it is 10.2.1.188");  // this prints in conf poll output
    return false;
  }
}
return true;

Но уже существующие интерфейсы это не удалит, их можно или удалить вручную, или если их много, то можем сделать скрипт, который пройдет по нодам и удалит интерфейсы.
#272
You can do type conversion this way:

b = Math::Floor(12.34);
b = int32(a); println(typeof(b), b);
b = int64(a); println(typeof(b), b);
b = uint32(a); println(typeof(b), b);
b = uint64(a); println(typeof(b), b);
b = real(a); println(typeof(b), b);
b = boolean(a); println(typeof(b), b);
#273
General Support / Re: How to set node dependencies
September 30, 2024, 10:04:23 AM
Can you also show screenshot of interfaces for tower's main router? Does it see APs as peer nodes?

As for "route from" NetXMS server - it shows 10.240.8.1 as the next hop, but looks like there's no corresponding node in NetXMS, that's why it can not continue.
#274
Quote from: Akira on September 23, 2024, 08:42:35 AMТут явно что-то не так, как минимум с кавычками. Парсер в таком виде дает сразу ошибку
да, апостроф со скобочкой не в том порядке были :)
#275
General Support / Re: Huawei switch - emty ports
September 25, 2024, 02:20:59 PM
Great, thanks for the update
#277
General Support / Re: New object class "Collector"
September 16, 2024, 02:05:33 PM
Yes, correct. It's a container, but with data collection capabilities. 
A typical use would be some script DCIs that walk through child nodes to get some summary values, or Web Services. But you can also use "Source node override" on a DCI and collect by agent/snmp/etc from any other node.

#278
General Support / Re: Server crash on "Supported actions"
September 16, 2024, 02:02:03 PM
Does it happen with some remote agent, or also with agent that runs along with the server?

For now the reason is not clear. Can you enable DebugLevel 8 on the server and that agent and share their logs?

Any chances we can remote access to this Windows system?
#279
General Support / Re: Server crash on "Supported actions"
September 13, 2024, 12:29:08 PM
The crash collector service seems to be running fine, so seems that server is nor really crashing.

Can you stop netxms core service and run it from command line:

C:\NetXMS\bin\netxmsd -D 6

and once the issue occurs, pls share the screenshot of whole cmd window.
#280
General Support / Re: How to set node dependencies
September 12, 2024, 09:48:45 PM
NetXMS has automatic event correlation based on topology. For this to work, NetXMS server should have snmp access to all routers between itself and your APs, then it would have full topology picture.

You can check by right-clicking on an AP, Route from... and choosing NetXMS server node. The other way to check is probably an automatic L3 network map.

I might be wrong about peculiarities of how all this works, would be good to hear if this works on your system.
#281
Note that there are two options:

NetworkService.Status(smtp://domain.org:port)
NetworkService.Status(smtps://domain.org:port)

Try specifying port in the metric, e.g. NetworkService.Status(smtps://domain.org:465), make sure you can connect to that port using telnet from your netxms server's command line, e.g.:

telnet domain.org 465
#282
General Support / Re: Server crash on "Supported actions"
September 10, 2024, 02:15:56 PM
Log file in C:\NetXMS\crash ?
Pls share it
#283
General Support / Re: Server crash on "Supported actions"
September 10, 2024, 11:56:20 AM
Looks like DumpDirectory should be specified for dump collection to work. Pls create C:\NetXMS\crash
 folder and try the following in netxmsd.conf:

CreateCrashDumps=yes
DumpDirectory=C:\NetXMS\crash
#284
General Support / Re: Server crash on "Supported actions"
September 10, 2024, 09:51:03 AM
Well, could be that something related to crash dumps is broken.

As additional check, can you stop NetXMS Core service and run server manually from Windows command line:

c:\NetXMS\bin\netxmsd -D 6

pls show last line of output, when it crashes.
#285
General Support / Re: Server crash on "Supported actions"
September 06, 2024, 03:24:23 PM
Please enable

CreateCrashDumps

in server config file and specify folder to store them by DumpDirectory parameter in config (Default is C:\)

Share the file somewhere and send me link to in in private message (or I can provide a place to upload it if needed)