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

Topics - hoeth

#1
Hi,

we tried upgrading from NetXMS 3.9.176 to NetXMS 4 on Debian (buster and bullseye, with postgresql 11 and 13, respectively). The nxdbmgr did it's job of upgrading the database without complaining. But netxmsd segfaults after about 1 minute. We tried NetXMS-4.0 and 4.1.283, same effect.

Setting up a new netxms installation with the same scripts, templates, events, nodes, etc. works fine. But we would like to keep the data history. Has anybody else observed such a behavior? Is there anything special we need to do?
#2
Hi,

I've got several templates with automatic apply rules. In NetXMS-3.9 I could run a configuration poll or a status poll (don't remember which) to trigger the application of the matching templates.

How do I do this in NetXMS-4.1? None of the polls seem to have an effect, but if I wait for some time, the templates get applied. Is there a way to trigger this manually? Is this somehow related to the new server variable "Object.AutobindPollingInterval" (which I can't find documentation for)?
#3
Hi,

I'm trying to use nxshell to setup nodes, get some DCI values, etc. Mostly it's working fine, but sometimes nxshell hangs at the "INFO org.netxms.client.NXCSession - Connecting to localhost:4701" stage. If it does, I have to abort that command and wait a bit before trying again, as it seems that waiting only a few seconds is not enough and the next connection attempt is hanging again.

There is only minimal load on the server, because this is a test setup with only two nodes. I'm running nxshell directly on the server.

Can I define a connection timeout so that I don't have to abort the command manually? Do you have any idea why subsequent connection attempts also fail and how I can avoid this?

Thanks a lot,

   Hendrik
#4
General Support / nxapush not working?
March 30, 2021, 01:05:49 PM
Hi,

I can't get nxapush to work. I have a DCI called "LOCAL_TEST" with "push"
origin, the node is the server itself, and on the server I'm running this:


$ nxapush -vv LOCAL_TEST=7
1 data pair to send
Connected to NetXMS agent
Disconnected from NetXMS agent


nxapush doesn't complain, but the value doesn't show up in the "Last Values" table.

I've also tried to push to other nodes using "nxapush -vv -o 299 LOCAL_TEST=7" where 299 is the nodeId to which the DCI belongs. Again, the value doesn't make it to the node. CheckTrustedNodes is disabled in the server configuration.

What am I missing?

Thanks a lot,

   Hendrik
#5
General Support / java API: create threshold for DCI
January 28, 2021, 09:59:30 PM
Hi,

I'm using the java API to create DCIs. This works fine for the basic stuff like name, description, polling interval, etc. But how can I attach a Threshold object to the DataCollectionItem?

Thanks a lot,

Hendrik
#6
Hi,

I've got a router with a /64 IPv6 prefix and a Linux host connected to it. The linux kernel obtains an address using SLAAC and says it's a /64 (e.g. fd11:1111:1111:1111:abcd:abff:fecd:abcd/64). If I try to add both machines as nodes to NetXMS, the first works fine, but for the second I get an "ip conflict with node xxx" error.

What's the best solution for this setup?

Thanks,

   Hendrik
#7
Hi,

I'm trying to use PushDCIData() on NetXMS 3.2.400 to update DCIs based on SNMP traps, but even a simple test script doesn't do anything for me. This is what I do for testing:

PushDCIData($node,38620,1);

I've tried running this script manually ("node -> execute server script") or triggered by a trap. I've tried entering the DCI id manually (as shown above) or by using FindDCIByName(). I've verified that FindDCIByName() gives the correct output (print(FindDCIByName()). Whatever I do, the DCI remains unchanged.

Any ideas what I'm doing wrong?

Thanks,

        Hendrik