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 - Victor Kirhenshtein

#436
General Support / Re: SSH DCI Collection
January 15, 2022, 12:11:49 PM
Hi,

I did some more accurate testing and it seems to be my failure - I manage to get same error with agent 3.9, but it works fine if built from master branch. So looks like we already fixed something, I just have to find out what exactly :)

Best regards,
Victor
#437
Да. Документацию возможно не обновили еще. Для использования нужен portcheck субагент. Он теперь добавляет дополнительные параметры:

TLS.Certificate.ExpirationDate - дата окончания действия YYYYMMDD
TLS.Certificate.ExpirationTime - дата и время окончания действия как UNIX time
TLS.Certificate.ExpiresIn - кол-во дней до окончания действия
TLS.Certificate.Issuer
TLS.Certificate.Subject
TLS.Certificate.TemplateID

Все они принимают 3 параметра: host, port, timeout. Третий параметр можно не указывать.
#438
Announcements / Re: NetXMS 3.9.version 3.9.420
January 14, 2022, 05:36:43 PM
Документацию возможно не обновили еще. Для использования нужен portcheck субагент. Он теперь добавляет дополнительные параметры:

TLS.Certificate.ExpirationDate - дата окончания действия YYYYMMDD
TLS.Certificate.ExpirationTime - дата и время окончания действия как UNIX time
TLS.Certificate.ExpiresIn - кол-во дней до окончания действия
TLS.Certificate.Issuer
TLS.Certificate.Subject
TLS.Certificate.TemplateID

Все они принимают 3 параметра: host, port, timeout. Третий параметр можно не указывать.
#439
Hi,

make sure that you have automake, autoconf, and libtool installed on your system. Also, 3.3 is fairly old version, I really recommend going with 3.9.

Best regards,
Victor
#440
General Support / Re: SSH DCI Collection
January 14, 2022, 05:30:35 PM
Hi,

I just configured it on my home Mikrotik routers and it works, so I suspect it has something to do with Mikrotik firmware version. Mine have 7.1.1 and 6.49.1.
I will also check if I can add additional diagnostic to SSH subagent.

Best regards,
Victor
#441
Hi,

isLocalManagement flag is set automatically. I suggest to find node that currently holds management server flag using object query or NXSL script, delete it, then set server configuration parameter RoamingServer to true and change primary IP address on node that should be local management server to 127.0.0.1. That way management node will be fixed.

Best regards,
Victor
#442
Announcements / NetXMS 3.9.version 3.9.420
December 17, 2021, 06:05:21 PM
Hi all!

We just published new patch release for version 3.9 - 3.9.420. Changes since previous patch release:

- New agent command line option -Q (query values of configuration entry)
- Windows service start mode can be changed from UI
- Improved web API for accessing collected DCI data
- Improved file transfer on slow links
- Fixed bug in network topology discovery
- Fixed issues:
        NX-290 (SSL Certificate expiration check)
        NX-781 (Convert to template item work incorrectly on cluster nodes)
        NX-1032 (Threshold violations are not shown for table DCIs)
        NX-1551 (Multiple execution completion dialogs after executing object tool on container)
        NX-1587 (Fix MySQL error: The 'INFORMATION_SCHEMA.GLOBAL_STATUS' feature is disabled; see the documentation for 'show_compatibility_56')
        NX-2122 (Table DCI last values are not loaded on server start)
        NX-2152 (Map should zoom in relation to mouse cursor, not center of map view)
        NX-2175 (Add hint to SNMP Trap Transformation Script editor)
        NX-2182 (Changing Objects.Nodes.ResolveNames actually requires server restart, but should work without server restart)
        NX-2183 (Daily Email Summary doesn't seem to resolve users properly in "Ack/Resolved by" column)

Best regards,
Victor
#443
General Support / Re: SSH DCI Collection
December 14, 2021, 09:53:49 AM
Hi!

Could you please share script you are using? I did some tests and otherwise SSH to Mikrotiks seems to be working.

Best regards,
Victor
#444
Цвет иконки зависит от статуса ноды, можно поменять правила подсчета статуса, чтобы один интерфейс например не загонял ноду в critical.
#445
Currently named capture groups are not supported. Looks like a good idea though, I'll check if we could do that.

Best regards,
Victor
#446
General Support / Re: No Peer in Object Details
November 30, 2021, 05:28:49 PM
I think I've found logical flaw in topology building code. Will fix it today or tomorrow, next patch release likely will work correctly.

Best regards,
Victor
#447
General Support / Re: Database schema upgrade, sqlite
November 30, 2021, 05:06:45 PM
Next it tries to open second connection to database, which I suppose is not working for SQLite. Do you have any network maps configured?

If you DO NOT have any network maps, you can do this step manually by executing the following queries (it will delete any configured links on network maps):


DROP TABLE network_map_links;
CREATE TABLE network_map_links
(
  map_id integer not null,
  link_id integer not null,
  element1 integer not null,
  element2 integer not null,
  link_type integer not null,
  link_name varchar(255) null,
  connector_name1 varchar(255) null,
  connector_name2 varchar(255) null,
  element_data varchar null,
  flags integer not null,
  color_source integer not null,
  color integer not null,
  color_provider varchar(255) null,
  PRIMARY KEY(map_id,link_id)
);
CREATE INDEX idx_network_map_links_map_id ON network_map_links(map_id);
UPDATE metadata SET var_value='9' WHERE var_name='SchemaVersionMinor';


And then run nxdbmgr upgrade again - it should continue from next step.

Best regards,
Victor
#448
General Support / Re: Node / Interface interaction
November 30, 2021, 05:01:18 PM
The problem here is that $object for SYS_IF_DOWN points to node object, not interface object. Correct script will look like this:


iface = $node->getInterface($event->parameters[5]);
return iface != null and iface->peerNode == null;


Best regards,
Victor
#449
Announcements / NetXMS Jira connector 3.9
November 29, 2021, 04:10:29 PM
Hi all!

We just published NetXMS Jira connector version 3.9 which should be compatible with Jira 8. It also supports passwords obfuscated with nxencpasswd.

Best regards,
Victor
#450
General Support / Re: Database schema upgrade, sqlite
November 26, 2021, 06:27:03 PM
Try to run upgrade with option -t - it will trace SQL queries so we will see what query cause this.

Best regards,
Victor