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

#151
General Support / Re: Asterisk Subagent
January 31, 2023, 07:42:14 PM
I've published libexosip2-11_4.1.0-2.2 to our repository for Ubuntu 22 (jammie).
This package is not available in official Ubuntu repos since version 18(?) so we built it and keep in our repo. Forgot to publish it during initial setup.

UPDATE: it was not indexed due to dpkg changes in Ubuntu (repository is on Debian). Will take a while to rebuild package. In a meantime you can install it manually using attached deb file.
#152
Hello.

Since 4.2 web UI require servlet API version 4 (but not version 5!), and jetty9 does not support that. Looks like we forgot to update it in windows installer.

Simplest solution is to install either Jetty10 or Tomcat9 as a standalone product and deploy war file there.
#153
Announcements / RPM repository
October 22, 2022, 11:03:32 PM
Hello!

Since latest release (4.2.395) we are releasing RPMs as well.
Right now we released packages for *EL (RHEL, Rocky, CentOS8, etc.), Fedora packages will follow.

Repository location: https://packages.netxms.org/epol/
Repository configuration file: https://packages.netxms.org/epel/netxms.repo

Simplest way to install: dnf config-manager --add-repo https://packages.netxms.org/epel/netxms.repo

All packages are build for both amd64 and aarm64.

There are no external dependencies except netxms-agent-mqtt, which requires EPEL repo to be enabled.
#155
General Support / Re: Java SubAgent and OPC UA
October 11, 2022, 02:57:57 PM
Fixed in ee84926388, will be included in upcoming 4.2 release
#156
General Support / Re: Java SubAgent and OPC UA
September 22, 2022, 11:37:58 PM
I just realised that we do not support Variant in the responce - we'll add support in future releases
#157
General Support / Re: Java SubAgent and OPC UA
September 22, 2022, 08:11:46 PM
You need to define section "OPCUA" and add one or more "Server" parameters. Format for server record is "name:[login[/password]@]url" (parts in square brackets are optional)
You can also change timeout from defaul 5 seconds (parameter "Timeout", in ms).

Example:

[OPCUA]
Timeout=5000 # timeout for network operations
Server=s1:opc.tcp://milo.digitalpetri.com:62541/milo # anonymous connection
Server=s2:[email protected]://milo.digitalpetri.com:62541/milo # login "user1", empty password
Server=s3:user1/[email protected]://milo.digitalpetri.com:62541/milo # login "user1", password "password"

Once configured, you can collect metric OPCUA.NodeValue(server name, node id), where "server name" is s1, s2, etc. (values from configuration).

Example:
❯ nxget 127.0.0.1 'OPCUA.NodeValue(s1,ns=0;i=2257)'
Variant{value=DateTime{utcTime=133058236247170000, javaDate=Wed Aug 24 17:07:04 EEST 2022}}
#158
What kind of error?
#159
General Support / Re: NetXMS update 2.2.10 to newest
September 22, 2022, 07:49:05 PM
Hi

Yes, it's supported. You need to install new packages, then run "nxdbmgr upgrade". Don't forget to backup first.

Error is quite unexpected, but to be honest - we never tried such jump with packages. Which distro and version you are running?

You can upgrade this way:
mkdir ~/nx-backup
cp -R /etc/netxmsd.conf /etc/nxagentd.conf /var/lib/netxms ~/nx-backup
systemctl stop netxms-server
nxdbmgr check
apt-get --purge netxms\*
apt-get install netxms-server netxms-dbdrv-pgsql # select correct DB driver, additional packages if needed
systemctl stop netxms-server
cp ~/nx-backup/nxagentd.conf ~/nx-backup/netxmsd.conf /etc/
nxdbmgr upgrade
nxdbmgr check
systemctl enable --now netxms-server
#160
General Support / Re: Java SubAgent and OPC UA
September 19, 2022, 05:29:38 PM
Also I found an issue with plugin packaging, so bundled jar might not work.
Replace $NETXMS_HOME/lib/netxms/java/opcua.jar with this version: https://cloud.radensolutions.com/s/WazFQAC3KrnJpTM.
#161
General Support / Re: Java SubAgent and OPC UA
September 19, 2022, 03:49:58 PM
Check agent's log on debug level 1 or higher, there should be lines like
2022.09.19 15:47:54.074 *D* [                  ] Initializing Java subagent
2022.09.19 15:47:54.074 *D* [                  ] JAVA: Default JVM: /Users/alk/.asdf/installs/java/zulu-17.32.13/zulu-17.jdk/Contents/Home/lib//server/libjvm.dylib
2022.09.19 15:47:54.074 *D* [                  ] JAVA: using JVM /Users/alk/.asdf/installs/java/zulu-17.32.13/zulu-17.jdk/Contents/Home/lib//server/libjvm.dylib
2022.09.19 15:47:54.095 *D* [                  ] Java SubAgent created

If JVM is not found, you can set it with parameter "JVM=..." in "JAVA" section.
#162
General Support / Re: Scheduled Task: Execute.Action?
September 19, 2022, 02:09:54 PM
You can execute any action which is provided by the ageng (e.g. System.Restart). Also you need to select target object (where action will be executed).

List of actions can be queried from the agent, either with "nxget -l AGENT_IP Agent.ActionList" or in the GUI - right click on the node, then select Tools -> Info->Agent->Supported actions
#163
Hi.

"pass" should be "password" in your config. Also debug tag "nc.*" should be "nc".

Correct confiration:

host=10.0.0.1
secondaryHost=10.0.0.2
login=user1
password=password1
mode=TEXT

mode can be either "TEXT" or "PDU". Secondary host is optional.

Sample session attached (added new notification channel and tried to send message to non-existing device):

Screenshot 2022-09-19 at 13.59.25.png
#164
I've build nddload which should be compatible with 4.1.420 packages. Please download it here: https://cloud.radensolutions.com/s/Y8AS9HWgXNb6BfY.
#165
It's missing from packages, I'll add it to next release.