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

#1
Hi Filipp,

Quote from: Filipp Sudanov on January 04, 2021, 07:08:26 PM
try deleting libraries that were installed by older version, these are libnx* libnetxms* files in /usr/local/lib/netxms and /usr/local/lib
then make & make install again

This worked perfectly, thank you!
#2
Hi Filipp,
This is the result I got, I checked logs and saw no error and then I ran the -D5 start and received the following:
[tt][tt][tt]Program received signal SIGSEGV, Segmentation fault.
HashMapBase::find (this=this@entry=0x0, key=key@entry=0x7fffffff1000) at hashmapbase.cpp:104
104        HASH_FIND(hh, m_data, key, m_keylen, entry);
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-23.el7.x86_64 glibc-2.17-317.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-50.el7.x86_64 libcom_err-1.42.9-19.el7.x86_64 libcurl-7.29.0-59.el7_9.1.x86_64 libgcc-4.8.5-44.el7.x86_64 libidn-1.28-4.el7.x86_64 libselinux-2.5-15.el7.x86_64 libssh2-1.8.0-4.el7.x86_64 libstdc++-4.8.5-44.el7.x86_64 mariadb-libs-5.5.68-1.el7.x86_64 nspr-4.25.0-2.el7_9.x86_64 nss-3.53.1-3.el7_9.x86_64 nss-pem-1.0.3-7.el7.x86_64 nss-softokn-3.53.1-6.el7_9.x86_64 nss-softokn-freebl-3.53.1-6.el7_9.x86_64 nss-sysinit-3.53.1-3.el7_9.x86_64 nss-util-3.53.1-1.el7_9.x86_64 openldap-2.4.44-22.el7.x86_64 openssl-libs-1.0.2k-21.el7_9.x86_64 pcre-8.32-17.el7.x86_64 sqlite-3.7.17-8.el7_7.1.x86_64 zlib-1.2.7-18.el7.x86_64
(gdb) bt
#0  HashMapBase::find (this=this@entry=0x0, key=key@entry=0x7fffffff1000) at hashmapbase.cpp:104
#1  0x00007ffff668adcb in HashMapBase::_set (this=0x0, key=key@entry=0x7fffffff1000, value=value@entry=0xb6fb90) at hashmapbase.cpp:116
#2  0x00007fffdbb9883c in set (value=0xb6fb90, key=..., this=<optimized out>) at ../../include/nms_util.h:1858
#3  NXSL_FileClass::NXSL_FileClass (this=0x7fffdbde8aa0 <s_nxslFileClass>) at io.cpp:216
#4  0x00007fffdbb85c30 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at io.cpp:65
#5  _GLOBAL__sub_I_io.cpp(void) () at io.cpp:285
#6  0x00007ffff7dea9c3 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#7  0x00007ffff7def59e in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#8  0x00007ffff7dea7d4 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#9  0x00007ffff7deeb8b in _dl_open () from /lib64/ld-linux-x86-64.so.2
#10 0x00007ffff6021fab in dlopen_doit () from /lib64/libdl.so.2
#11 0x00007ffff7dea7d4 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#12 0x00007ffff60225ad in _dlerror_run () from /lib64/libdl.so.2
#13 0x00007ffff6022041 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#14 0x00007ffff66899af in DLOpenEx (libName=0x7fffffff3900 L"/usr/local/lib/netxms/ndd/airespace.ndd", global=<optimized out>,
    errorText=0x7fffffff15c0 L"rl          ] cURL supported protocols: dict file ftp ftps gopher http h\xf66c3028翿\xffff1b80翿\a") at dload.cpp:51
#15 0x00007ffff794da7c in LoadDriver (blacklist=..., file=0x7fffffff3900 L"/usr/local/lib/netxms/ndd/airespace.ndd") at ndd.cpp:44
#16 LoadNetworkDeviceDrivers () at ndd.cpp:136
#17 0x00007ffff794424f in Initialize () at main.cpp:1110
#18 0x0000000000401427 in main (argc=<optimized out>, argv=<optimized out>) at netxmsd.cpp:525[/tt][/tt][/tt]

#3
Good day,
I also did the update to 3.7.95 today and it keeps failing to start.
Centos 7.9

● netxms-server.service - NetXMS Monitoring Server
   Loaded: loaded (/etc/systemd/system/netxms-server.service; enabled; vendor preset: disabled)
   Active: failed (Result: signal) since Mon 2021-01-04 11:17:06 SAST; 4min 2s ago
  Process: 755 ExecStart=/usr/local/bin/netxmsd -d (code=exited, status=0/SUCCESS)
Main PID: 783 (code=killed, signal=SEGV)

Jan 04 12:31:05 overwatch systemd[1]: Starting NetXMS Monitoring Server...
Jan 04 12:31:05 overwatch systemd[1]: Started NetXMS Monitoring Server.
Jan 04 12:31:06 overwatch systemd[1]: netxms-server.service: main process exited, code=killed, status=11/SEGV
Jan 04 12:31:06 overwatch systemd[1]: Unit netxms-server.service entered failed state.
Jan 04 12:31:06 overwatch systemd[1]: netxms-server.service failed.

Regards
#4
Hi Victor,
I was wondering if someone can maybe help me with the script issue I am having.

I have the following script to only trigger and alarm email when the device is offline for longer that the specified time configured in the Thresholds:

return ($node->runtimeFlags & 0x0004) ? 1 : 0;

The problem I am having is that I get about 100+ emails when a site goes down for power failure or something. I was looking at another thread where there was a script used for filtering alarms.
Quotehttps://www.netxms.org/forum/configuration/dependency-script-based-on-infrastructure/
Code used:
nparents = GetNodeParents($node); // get parent objects of tested node
foreach(i : nparents)
{
if (i->type == 5) // if it is infrastructure object (container)...
{
oparents = GetObjectParents(i); //... get parents of the object too...
foreach(j : oparents)
{
if (j->type == 5) //... and if it is infrastructure object (container) again...
{
children = GetObjectChildren(j); //... get object children...
foreach(k : children)
{
if ((k->status == 4) && (classof(k)!="NetObj")) return 0; //... and if the status of any of the children objects is "critical" (bypassing non-node objects) do not take action.
}
}
}
}
}
return 1; // else allow action



I have been trying to make this work but have no luck, I think the problem is my layout in NetXMS structure for sites. Attached image is my structure.
I have them this way as it makes it easier to view on Status Map.

Any assistance would be greatly appreciated. :)
#5
General Support / Re: Network Service Broken?
October 08, 2018, 11:21:56 AM
Good day,

I upgraded to 2.2.9 today and can confirm that the port check now works 100%

:)
#6
General Support / Re: Network Service Broken?
September 25, 2018, 07:52:54 PM
Quote from: Tatjana Dubrovica on September 25, 2018, 05:32:55 PM
Fix will be included in next stable build.

Thank you
#7
General Support / Network Service Broken?
September 12, 2018, 04:44:51 PM
Good day,
I use the network service on some of the devices on my server and since the upgrade to v2.2.8 it looks like the port check is broken. It report all the devices I use the network service on to check for the port if is up as online with no issues even though they are not.
I have another server on v2.2.6 and it works without issues.

I do not use any fancy config on the network service, only to check if the port is reachable which is forwarded on the remote site from port 80.

Regards
#8
General Support / Re: Delay alarms
October 26, 2017, 02:39:09 PM
Good day,

I have this delay on message working on nodes that is on the same network and it works 100% but battling to get it working on nodes that has it polling on a network service.
Any help with the code the adjustments in the script would be greatly appreciated!

Thank you!