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

#2896
General / Re: Action
October 17, 2015, 07:42:11 PM
Hi,

did you define action correctly in subagent? Can you show code registering your action?

Best regards,
Victor
#2897
General / Re: Node ID for Push parameter
October 17, 2015, 07:40:56 PM
Hi,

can you show me code snippet how you push data?

Best regards,
Victor
#2898
Announcements / Re: NetXMS 2.0-RC2 released
October 17, 2015, 07:39:05 PM
Quote from: Dani@M3T on October 17, 2015, 12:45:36 PM
On the download page the Generic Linux static version for x64 is missing.

Fixed.

Best regards,
Victor
#2899
Announcements / Re: NetXMS 2.0-RC2 released
October 17, 2015, 06:55:58 PM
Quote from: Dani@M3T on October 17, 2015, 01:21:52 PM
After update from V2.0RC1 to V2.0RC2 we get thousands of this errors in the nxagentd-log on the NetXMS server:

[17-Oct-2015 12:18:14.018] [ERROR] SQL query failed (Query = "INSERT INTO dc_queue (server_id,dci_id,dci_type,dci_origin,snmp_target_guid,timestamp,value) VALUES (?,?,?,?,?,?,?)"): UNIQUE constraint failed: dc_queue.server_id, dc_queue.dci_id, dc_queue.timestamp

So we also get thousands of false alarms (and emails) per minute.

Try to stop the agent, delete nxagent.db file (likely in /var/lib/netxms or <install prefix>/var/lib/netxms), and start agent again.

Best regards,
Victor
#2900
Hi,

seems that NXSL identifies value in $1 as 32 bit and so does 32 bit arithmetic. Changing it to


return 4096 * int64($1) / 1099511627776;


should help.

Best regards,
Victor
#2901
General / Re: Action
October 16, 2015, 06:32:57 PM
Hi,

no you cannot get data from action. You can pass arguments to action - in server configuration you specify them separated by spaces (like in normal command line). When action is called, String[] args will contain those arguments. Boolean return value is to indicate if action was executed successfully.

Best regards,
Victor
#2902
General / Re: Node ID for Push parameter
October 16, 2015, 06:31:07 PM
Hi,

you may set node ID to 0, then server will find actual node by source IP address.

Best regards,
Victor
#2903
Announcements / NetXMS 2.0-RC2 released
October 16, 2015, 06:29:24 PM
Hi all!

NetXMS 2.0-RC2 is out. It is last RC before final 2.0 release. Changes since previous release are following:


- Maintenance mode for nodes, clusters, and mobile devices (manual and scheduled)
- Fixed broken instance discovery filters
- Fixed agent crash when collecting SNMP data in cached mode
- Agent returns correct OS version on Windows 10
- New NXSL "Node" class attribute: bridgeBaseAddress
- One LDAP attribute can be used in multiple mappings
- Fied deadlock on LDAP user deletion while LDAP synchronization
- Add option to use encrypted password in password fileds in configuration files and in the server configuration parameters.
- Added SMS driver for web service text2reach.com
- SNMP sysContact and sysLocation collected and stored
- Server can accept traps and syslog messages from nodes in all zones (controlled by TrapSourcesInAllZones configuration option)
- On instance discovery pool instance name is updated if it has changed
- New SMS driver - slack.com
- IPv6 support in built-in syslog server
- Fixed event processing policy export/import issues
- Global default retention time and polling interval for data collection
- Initial support for scheduled tasks within system
- Scheduled file upload
- Management console:
   - Object context menu available on geo map
   - Filter in event template configurator
   - Web console use client time zone to display time
   - Added option to use server time zone to display time in console
   - Access to event log, SNMP trap log, and syslog from object context menu
   - Dashboards can be associated with other objects (nodes, containers, etc.) and opened from object's context menu
   - Forced DCI polls from summary tables
   - Script hints
- Fixed issues: #786, #831, #841, #852, #864, #878, #883, #890, #891, #892, #896, #897, #898, #900, #902, #903, #905, #907, #910, #913, #917, #919, #921, #928, #933, #937, #943, #945, #947

Best regards,
Victor
#2904
Hi,

there are even issue for that (quite old): https://dev.raden.solutions/issues/147. I'll try to make it into 2.0 release.

Best regards,
Victor
#2905
General Support / Re: Server Crash after some time
October 09, 2015, 11:26:56 AM
Hi,

I recommend to try out 2.0-RC1 (or wait for 2.0-RC2 to come out) - we fix a lot of bugs since 1.2.17 and 2.0 branch is always stable enough.

Best regards,
Victor
#2906
Hi!

Could you please try to install this agent: https://www.dropbox.com/s/da2omgyrhja6dtj/RADnxagent.2.0-RC2.sparc.pkg.gz?dl=0?

It is 2.0-RC2 that will be officially released in a few days. I fixed errors in package so it should contain correct libraries now. I recommend to uninstall previous version and make sure that /opt/netxms/lib directory is empty before installing this version.

Best regards,
Victor
#2907
General Support / Re: NXSL Script to add Alarm comment
October 06, 2015, 08:39:38 PM
Hi,

not yet. But it can be easily implemented, Il registered it as a feature request (https://dev.raden.solutions/issues/941).

Best regards,
Victor
#2908
General Support / Re: Event Processor Count Too High
October 06, 2015, 08:35:39 PM
Hi,

most likely something in event processing policy cause slow processing. Can you enable debug level 6 for some time and trace processing of few events? Also, you can try to disable all rules in event processing policy and see if it helps. If it will, try to re-enable them one by one to catch what rule causing delay.

Best regards,
Victor
#2909
I've fixed this bug. Fix will be included in 2.0-RC2.

Best regards,
Victor
#2910
Hi,

I've made some checks and was unable to detect memory leak when agent cannot connect to database. What Oracle client you are using?

Best regards,
Victor