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 - Filipp Sudanov

#1411
General Support / Re: Timescale DB VS Postgres
June 09, 2020, 12:48:17 AM
With postgres or mysql there's a problem of housekeeping - deleting old datapoints when storage time elapses. This process may create big load on the database, especially if it's big.
For timescale deletion is very optimal - a whole chunk of data for one day is deleted. There are a few sets of chunks - one for "Default" retention time and a few other sets <7 days, 7..30, 30..90, 90..180, >180 days. But the trick is that it's not possible to delete a daily chunk, if it contains data for at least one DCI that retention time has not elapsed yet. As the result, timescale database might take more storage space.
Currently there's an issue when changing DCI retention time - https://track.radensolutions.com/issue/NX-1795

Can you give more details, what exactly you are doing in nxmc when you get disconnected? Does it replicates reliably, or randomly?
#1412
General Support / Re: Advanced Dci
June 09, 2020, 12:28:09 AM
You can use DCI with origin "Script". For that you need to create a script in the script library and confgure that script name in properties of a DCI.
Then in the script you can read parameters directly from agent
    $node->readAgentParameter(name)
($node will be the object of node, to which the DCI belongs. You can also use this method on other nodes).

You can also get last collected value of any DCI - https://www.netxms.org/documentation/nxsl-latest/#func-getdcivalue

You can use "abort" operator in the script - if it's called, the script will terminate and no new datapoint will be generated at this time.


Some examples of NXSL scripts are available here: https://wiki.netxms.org/wiki/SG:Script_Examples
#1413
Working with VMWare API in in future plans only. It's not implemented yet.
#1414
Thanks for sharing
#1415
Please try the most recent nxagent-3.3.330 version, adding EnableSSLTrace=yes to agent configuration file and setting DebugLevel=7. Please share agent log for the time when the situation occurs.
#1416
You can create action that "executes command on the management server" and call curl in that action.
#1417
In current implementation of slack driver it creates a simple json like this:
{"channel":"C061EG9SL","text":"mesage_text"}

so anything you write just goes into "text" field. An ability to generate custom jsons would require to make quite some changes in slack notification channel code.
#1418
Can you set DebugLevel=6 in agent configuration file and show agent log during upgrade attempt?
#1419
Are you upgrading via GUI, or via https://www.netxms.org/documentation/adminguide/upgrade.html#centralized-agent-upgrade ?
If it's GUI, can you record a video to see at what stage the installation is failing?
#1420
libvirt claims that it can connect to vcencter, not only particular ESXi servers.

Here's a video that seems to be explaining how this is done: https://www.youtube.com/watch?v=n3XJ0X1l9DU
#1421
libvirt is specified in dependencies of netxms-agent-vmgr, so will get installed automatically when you instal netxms-agent-vmgr package.
#1422
Currently there's a bug in the agent that first ssh request since agent start produced that.
You can track resolution of that issue here: https://track.radensolutions.com/issue/NX-1852
#1423
General Support / Re: Stacked graph error
May 12, 2020, 02:54:11 PM
Yes, it's a bug. Created https://track.radensolutions.com/issue/NX-1854 for that.
#1424
General Support / Re: Unknown Alarm Message
May 12, 2020, 02:39:49 PM
This is error in a script of a Service Check object. 321 in the name of the script is the ID of that service check.
You'll find that service check, if you enter #321 into the filter in object tree. Check the script there.
#1425
Ok, can set DebugLevel=7 in agent configuration file and show an extract from agent log file when the SSH command is executed.

Also, you can use nxget command - it requests data from the agent, e.g.:
nxget 127.0.0.1 "SSH.Command(host,user,password,ls)"