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 - BigBlue

#16
ok, thanks.

Sorry for my inexperience with NXSL
:-[

BB
#17
Hi,

I tried a NXSL script to display the content of all alarms.
It works for MAC_ADDRESS_CHANGED_.* for example:
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 ***


But it doesn't work for SERVICE_DOWN_?
alarm = FindAlarmByKeyRegex("SERVICE_DOWN_.*");
println alarm->message;

Error 14 in line 64: Function or operation argument is not an object

I must be doing it wrong...

Can you help me?

Thanks
BB
#18
After the update to version 3.8.226, everything is back to normal.

BB
#19
General Support / Problem Creating a Network Maps.
March 12, 2021, 10:55:22 AM
Hi,

I can't create new maps in the interface (right click on Network Maps) since 3.8.193 version  :-[
My auto-creation scripts work, but the cards are empty and there are no more filters...

Have there been any changes to the Network Maps ?


BB
#20
General Support / Re: NetXMS Console fails to start
January 29, 2021, 12:54:13 PM
Sorry... it-s ok for me after jre update 8 => 11

BB
#21
General Support / Re: NetXMS Console fails to start
January 29, 2021, 12:49:19 PM
Hi,

I allow myself to write in this post because I think the problem is general....

The console is also in error under linux (debian 9.3)
logs: https://transfer.sh/6atbD/1611917056472.log


Regards,
BB
#22
General Support / Re: nxshell
August 26, 2020, 12:00:55 PM
Hi,,

The problem was due to a library conflict...
https://www.netxms.org/forum/general-support/nxdbmgr-init-segmentation-fault/msg28226/
all is ok now.

Thank you for your help.
BB

#23
Hi,

After uninstalling and reinstalling everything properly in /opt/netxms, I no longer have the error:

$ /opt/netxms/bin/nxdbmgr init
NetXMS Database Manager Version 3.4.178 Build 3.4-178-g757c658f4d (UNICODE)

Initializing database...
Database initialized successfully


I think there was a conflict with an older version or system library...

Thank you for your help.
BB
#24
I don't understand exactly what files this is about...
You have here the whole folder (compilation + make).

https://filesender.renater.fr/?s=download&token=1a8b4ccc-ed8a-436b-936e-d77c8ea3f8dd

Is that okay?
#25
Hi,

The file is too large and cannot be attached.
Attached is a download link:
https://filesender.renater.fr/?s=download&token=5d98ef83-96f0-4845-841d-754be24335f0

Thanks
#26
General Support / nxdbmgr init: Segmentation fault
July 03, 2020, 04:30:35 PM
Hi,

I installed the latest version on a new server (CentOS Linux release 7.8.2003).
No compilation or installation problems:


/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


No database creation problems either on MariaDB:
rpm -qa | grep -i maria
MariaDB-compat-10.4.13-1.el7.centos.x86_64
MariaDB-server-10.4.13-1.el7.centos.x86_64
MariaDB-client-10.4.13-1.el7.centos.x86_64
MariaDB-devel-10.4.13-1.el7.centos.x86_64
MariaDB-shared-10.4.13-1.el7.centos.x86_64
MariaDB-common-10.4.13-1.el7.centos.x86_64
$ mysql -u netxms -pPaSsWwDd
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 1056





But I'm getting a segmentation error on initial configuration using nxdbmgr utility:
$ /usr/local/bin/nxdbmgr init
NetXMS Database Manager Version 3.4.178 Build 3.4-178-g757c658f4d (UNICODE)

Initializing database...
Erreur de segmentation


Any ideas on how to fix this?

Thanks
BB
#27
General Support / Re: nxshell
April 08, 2020, 05:30:52 PM
I just found out I have the same problem running Management Console Binaries.
1 minute longer on my server in version 3.2...
#28
General Support / Re: nxshell
April 08, 2020, 04:55:45 PM
Thank you for your response.

I actually have 2 identical servers (same hardware, same OS, same jre...) one in version 2.2 and the other in version 3.2. After a lot of cross testing, the problem seems to be related to this version...
Before installing version 3.2 on a third server, I ran java in debug mode on my server 3.2.
The launch freezes more than 60 seconds on : "Loaded org.simpleframework.xml.core.Function"

$ 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]
...


Also, Java performance is nearly identical on both servers.
#29
General Support / nxshell
April 06, 2020, 01:06:04 PM
Hi,

In version 2.2.2, nxshell takes 10s to launch on my server.
In version 3.2.451 it takes 1m15s !

Do you know why there's such a difference?

By the way, is it possible to launch nxshell once and then have it run scripts on demand?

Thanks
#30
Sorry, I'm really a newbie (I think you can tell), I'm taking over someone's job...

The "Snmp Location KO" card just didn't exist.
After create it, it's ok.

Many thanks.

Best regards,
BB