ok, thanks.
Sorry for my inexperience with NXSL
BB
Sorry for my inexperience with NXSL
BB
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 alarm = FindAlarmByKeyRegex("MAC_ADDRESS_CHANGED_.*");
println alarm->message;
MAC address for interface unknown changed from XX:XX:XX:XX:XX:XX to XX:XX:XX:XX:XX:XX
*** FINISHED ***
alarm = FindAlarmByKeyRegex("SERVICE_DOWN_.*");
println alarm->message;
Error 14 in line 64: Function or operation argument is not an object
$ /opt/netxms/bin/nxdbmgr init
NetXMS Database Manager Version 3.4.178 Build 3.4-178-g757c658f4d (UNICODE)
Initializing database...
Database initialized successfully
/configure --with-server --with-mariadb --with-mariadb-compat-headers --with-agent
...
...
...
---------------------------------------------------------------------
Configure results
---------------------------------------------------------------------
Version : 3.4.178
Prefix : /usr/local
Platform : Linux
Shared library suffix : .so
Shared library version : 34
IPv6 support : YES
MQTT support : YES
Build Server : YES
Server libs :
LDAP support : NO
XMPP support : YES
ZeroMQ support : NO
Python support : NO
Encryption enabled : YES
SSH support enabled : YES
Build DB-Drivers : mariadb sqlite
Build Clients : NO
Build Agent : YES
Agent libs :
Agent extra components :
Subagents list : linux ds18x20 netsvc ssh mqtt lorawan
Systemd support : YES
SD-Bus support : NO
Build Static Agent : NO
UNICODE build : YES
Use internal libexpat : YES
Use internal libjansson : YES
Use internal sqlite : YES
Use internal zlib : NO
Force 32bit build : NO
C compiler : gcc
C++ compiler : g++
C++ compiler info : g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
CPPFLAGS : -D_THREAD_SAFE -D_GNU_SOURCE -O2 -Wformat -Wno-unused-result -Wno-format-truncation -Werror=return-type -fvisibility=hidden -I/usr/local/include -DUNICODE -DPREFIX=L\"${prefix}\" -DDATADIR=L\"${pkgdatadir}\" -DBINDIR=L\"${bindir}\" -DLIBDIR=L\"${libdir}\" -DPKGLIBDIR=L\"${pkglibdir}\" -DSTATEDIR=L\"${localstatedir}/lib/netxms\" -DSYSCONFDIR=L\"${sysconfdir}\" -DNDEBUG
CXXFLAGS : -g -O2 -std=c++11 -fno-rtti -fno-exceptions -fvisibility-inlines-hidden
CFLAGS : -g -O2
LDFLAGS : -L/usr/local/lib
LIBS : -lpcre32 -lpcre -lz -lresolv -ldl -lpthread -lssl -lcrypto -lcurl
Executable LDFLAGS :
Executable LIBS :
MariaDB CPPFLAGS : -I/usr/include/mysql
MariaDB LIBS : -lmariadb
$ mysql -u netxms -pPaSsWwDd
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 1056
$ /usr/local/bin/nxdbmgr init
NetXMS Database Manager Version 3.4.178 Build 3.4-178-g757c658f4d (UNICODE)
Initializing database...
Erreur de segmentation
$ java -verbose -Dnetxms.server=127.0.0.1 -Dnetxms.login=xxxxxxxxx -Dnetxms.password='xxxxxxxxxxxxxxx' -jar ./nxshell-3.2.451.jar
...
[Loaded org.simpleframework.xml.core.MethodScanner$1 from file:/data/infra/scripts/NetXMS/nxshell-3.2.451.jar]
[Loaded org.simpleframework.xml.core.Function from file:/data/infra/scripts/NetXMS/nxshell-3.2.451.jar]
[Loaded org.netxms.client.SessionNotification from file:/data/infra/scripts/NetXMS/nxshell-3.2.451.jar]
...