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

#301
Hi,

it's a bug, just fixed it. Fix will be included into next patch release.

Best regards,
Victor
#302
I can confirm that changing server is not implemented yet in new web UI.

Best regards,
Victor
#303
Hi!

This is queue for processing discovered addresses. If you have discovery filters some (or most) of them could be filtered out and then re-discovered again and again. This can create permanently non-empty discovery queue, but this is fine.

Best regards,
Victor
#304
Announcements / Fix for dashboard rendering bug
June 13, 2022, 12:34:07 PM
Dashboards created in old versions (likely before 4.x) may render as empty in GUI client version 4.1.377. We have fixed it in version 4.1.380, so if you experienced that issue, upgrade should have it fixed. No changes to dashboards are required.

Best regards,
Victor
#305
Announcements / NetXMS 4.1 patch release 4.1.377
June 09, 2022, 11:48:04 AM
Hi all!

New patch release for version 4.1 - 4.1.377 is just published. Changes since previous patch release:

- Agent configuration option to disable local database
- Linux subagent can read software inventory from OpenWrt package manager
- Added driver for HPE iLO
- Fixed incorrect return code of NXSL function "SNMPSet" and SNMP transport method "set"
- Original DCI string value returned by transformation script is preserved
- Fixed bug in downtime calculation for hierarchical business services
- Fixed issues:
        NX-2262 (syncUserDatabase() does not wait for CMD_USER_DB_EOF)

Best regards,
Victor
#306
Quote from: Kriptoker on June 07, 2022, 06:13:44 PM
As far as disabling the ssh.nsm local agent, that would be by removing that line 'SubAgent = ssh.nsm' from /etc/nxagentd.conf correct?

Correct.
#307
Try to run netxmsd with elevated debug by adding
DebugLevel = 6
to /etc/netxmsd.conf and share log file for startup.

Best regards,
Victor
#308
General Support / Re: nxadm: Server error 2
June 07, 2022, 09:54:31 AM
Make sure you put password in single quotes. Also, user should have appropriate access rights ("access server console" in global system access rights).

Best regards,
Victor
#309
There is a bug that NetXMS server attempts to access SSH even with empty credentials. It will be fixed in upcoming patch release.

Also, if you are not using SSH, make sure that ssh.nsm is not loaded on server's local agent.

Another option is to use NXSL configuration poll hook to disable SSH on each node by calling

$node->enableSsh(false);


Best regards,
Victor
#310
Actually 6733 (first part of primary key) should be ID of the node this package belongs to.

Best regards,
Victor

#311
General Support / Re: Cisco CBS switches driver
June 07, 2022, 09:49:10 AM
Does it report VLANs correctly with GENERIC driver? If not, does forcing CISCO-SB helps?

VLAN information is most common place where custom driver is required.

Best regards,
Victor
#312
Yes, they are universal. Below is ad-hoc example of script that reads DHCP leases from Mikrotik router and prints IP address of specific node, if found:


for(line : $node->executeSSHCommand("/ip dhcp-server/lease/print"))
{
if (line->contains("raspberrypi") and line ~= '^\s?[0-9]+\s+([0-9.]+).*')
   println("address:", $1);
}


Best regards,
Victor
#313
Hi,

Yes, I think we will use SSH more. Some automation with SSH is already possible - like execute command as a reaction for an event for example, or execute command from script and process output. One obvious direction for improvement is to introduce concept of SSH session to NXSL scripts and allow execution of multiple commands within single session.

Best regards,
Victor
#314
I just checked and there is a bug in SSH polling code - server attempts to connect with empty user name and password if nothing is set. We will fix it until next patch release.

For disabling SSH polling you can use NXSL method enableSsh on node object - either add it to configuration poll hook or run once script that will enumerate all nodes and set SSH flag to false. Also, if you are not using SSH functionality, you can disable SSH subagent on server's local agent and on proxy nodes.

Best regards,
Victor
#315
Hi,

looks like nobody checked that client proxy actually compiles. Do you really use it? If not, just remove --with-client-proxy from configure (we will fix compilation anyway though).

Best regards,
Victor