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 - Victor Kirhenshtein

#841
General / Re: PostgreSQL subagent
July 15, 2020, 06:16:31 PM
Should it be "WAL receivers" or "WAL sending targets" then - as those servers receive data from current server, not send data to it?
#842
General / Re: PostgreSQL subagent
July 14, 2020, 03:56:20 PM
Added it. Now I have a question regarding these lines:

"SELECT count(*) stanby FROM pg_catalog.pg_stat_replication

{ _T("PostgreSQL.Replication.Stanby(*)"), H_GlobalParameter, _T("REPLICATION/stanby"), DCI_DT_INT64, _T("PostgreSQL/Replication: WAL senders") },

shouldn't it be "standby"? Or even "PostgreSQL.Replication.WALSenders"?

I don't know meaning of this parameter, question is based purely on name and description difference :)

Best regards,
Victor
#843
General / Re: PostgreSQL subagent
July 14, 2020, 02:49:23 PM
It is 9.5.13. I will retest it on 9.6. I'm not sure about support for 9.5 - formally it is supported until 2021, but I don't know how widely it is used.

Best regards,
Victor
#844
Hi,

you can define action in agent configuration file on that machine:


ActionShellExec = RestartService:net stop svcname && net start svcname


(I'm not sure if command is actually correct, but you should get an idea).

then define server side action of type "execute command on remote node", enter RestartService as command name, and add this new action in EPP to be executed on web service error event.

Best regards,
Victor
#845
General Support / Re: libnetxms.so.34
July 14, 2020, 02:39:02 PM
Hi,

looks like nxdbmgr is older than libraries. Also I see that you start it as /usr/local/bin/nxdbmgr which looks like compiled from sources, but libnetxms is in /lib/x86_64-linux-gnu which is usual for installed from deb packages. Are you sure you didn't mix compiled binaries/libraries with installed from packages?

Best regards,
Victor
#846
General / Re: PostgreSQL subagent
July 14, 2020, 12:00:13 PM
Hi,

current subagent version reports the following SQL error on each poll:


SELECT CASE WHEN pg_is_in_recovery() THEN 'YES' ELSE 'NO' END AS in_recovery,  CASE WHEN count(*) > 0 THEN 'YES' ELSE 'NO' END AS is_receiver FROM pg_catalog.pg_stat_wal_receiver
42P01 ERROR:  relation "pg_catalog.pg_stat_wal_receiver" does not exist


Is it possible to somehow detect if this view is present and remove it from polling if not?

Best regards,
Victor
#847
Should be fixed in 3.4.232.

Best regards,
Victor
#848
Please find all files named libssl.dll and libcrypto.dll on that system. It could be that you have wrong versions with same names somewhere.

Best regards,
Victor
#849
General Support / Re: Template Import does not work
July 10, 2020, 10:11:58 AM
Hi,

please try it on 3.4.232. We have fixed bug with importing templates exported from old versions - could be the case here as well.

Best regards,
Victor
#850
Currently no, it requires changes at least in UI, probably in server as well. Nothing too complicated though.

Best regards,
Victor
#851
General Support / Re: Language setting in web gui
July 10, 2020, 10:09:08 AM
If not available (which is the case for older versions) you can add ?lang=en to URL.

Best regards,
Victor
#852
General / Re: PostgreSQL subagent
July 09, 2020, 02:43:42 PM
Yes, please do.
#853
Only if you'll remove overridden value from node.
#854
General / Re: PostgreSQL subagent
July 09, 2020, 02:14:07 PM
Subagent is merged into master branch. I've added Visual Studio project for Windows builds and did some minor refactoring and fixes. I also plan to backport it into 3.4 branch.

Best regards,
Victor
#855
Hi all!

NetXMS version 3.4 patch release 1 (version 3.4.232) is published. Changes since initial 3.4 release:

- Improved logic for node capability expiration
- "Reset identity" command line option in agent
- EtherNet/IP has priority over SNMP when reading hardware information
- Implemented Web API calls for DCI creation and modification
- Implemented Web API calls for reading last value of specific DCI
- NXSL function CreateDCI accepts numeric codes for data type and data origin
- Improved node matching for agent tunnel automatic binding
- Fixed bug that prevents PushDCIData NXSL function to work on chassis object
- Fixed bug in template import
- Fixed issues:
        NX-1422 (SMTP HELO should be configurable)
        NX-1886 (DCI Table using Script Origin ignores Column definition)
        NX-1888 (Delete completed non-recurring scheduled tasks after configurable retention period)
        NX-1890 (Object Name field in Create Node Object requires cleaning)
        NX-1892 (Wrong format string on a map makes the map uneditable)

Best regards,
Victor