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

#5596
General Support / Re: Error upgrading to 1.1.9
January 20, 2012, 03:15:06 PM
Hi!

It is a bug in nxdbmgr. Attached is patched nxdbmgr.exe for x64 platform. It should work.

Best regards,
Victor
#5597
General Support / Re: System.IO.DiskTime Unit
January 19, 2012, 09:30:28 AM
Hi!

It's a percentage, i.e. if the value is 80 it means that 80% of last minute disk was busy. On Windows, it's an average value for performance counter \PhysicalDisk(_Total)\% Disk Time, and on Linux it's calculated from "# of milliseconds spent doing I/Os" field in /proc/diskstats.

Best regards,
Victor
#5598
General Support / Re: Error upgrading to 1.1.9
January 18, 2012, 06:10:25 PM
Hi!

Could you please run nxdbmgr upgrade with -t option? I want to see at what query it crashes.

Best regards,
Victor
#5599
General Support / Re: server memory consumption
January 18, 2012, 01:49:44 PM
Process.WkSet represents amount of physical memory taken by the process (it's called RSS - Resident Set Size - on Linux). It is a decision of OS memory management on when remove unused pages from physical memory to swap and if they should be removed at all. For example, active work with dynamic memory allocation and release (and NetXMS do a lot of malloc/free operations) may cause heap to grow and allocate new pages and physical memory, and then after release memory in process heap shrinks and some pages may become unused. If those pages stay untouched for some time, OS memory manager may decide to remove them from physical memory. Or, process memory manager may releases some pages because of heap shrink - then those pages will be removed from process RSS. So, we have two layers of memory management with different implementations - OS memory manager and process heap (malloc, free, and company). They both can affect number of resident pages. You can also monitor Process.VMSize - it gives total amount of memory consumed by process, even if some of that memory is untouched for long time and swapped out. Will be interesting to see if there will be same difference on Windows and on Linux in this parameter.

Best regards,
Victor
#5600
General Support / Re: server memory consumption
January 18, 2012, 12:11:11 PM
As memory usage is not growing, but just going up and down, this is nit caused by memory leak. Most likely this difference caused by different memory management algorithms in Windows and Linux, and/or different database drivers. Also, what parameter you are using - Process.VMSize or Process.WkSet?

Best regards,
Victor
#5601
General Support / Re: dhcp assigned ip
January 18, 2012, 12:08:11 PM
Hi!

Maybe DHCP server is able to update DNS? Otherwise the only external solution I can see is to write a program which will get information from DHCP server somehow and update primary host name/address in NetXMS. Another option may be to add a feature to network discovery in NetXMS to try MAC address matching for newly discovered devices, and if there are already node in database with same MAC address, but different IP address, assume IP address change.

Best regards,
Victor
#5602
Hi!

I would suggest calling a script from macro, like this:

1. Create script called "ServiceStateName" in script library:

state = GetEventParameter($event, "currentValue");
switch(state)
{
   case 0:
      return "OK";
   case 1:
      return "error in parameters";
   case 2:
      return "cannot connect to server";
   case 3:
      return "content of does not match";
}
return "UNKNOWN";


2. Use %[ServiceStateName] instead of %<currentValue>

Best regards,
Victor
#5603
General Support / Re: ServiceCheck.HTTP issue
January 17, 2012, 03:29:26 PM
Hi!

No one complaining so far :) I agree that this is a flaw in default configuration. I'll change default values of AgentCommandTimeout and portcheck timeout.

Best regards,
Victor
#5604
General Support / Re: server memory consumption
January 17, 2012, 10:34:53 AM
Hi!

Could you please post graphs of memory consumption and results of "show stat" server console command (it will show number of nodes and DCIs)?

Best regards,
Victor
#5605
General Support / Re: ServiceCheck.HTTP issue
January 16, 2012, 01:58:48 PM
Hi!

Could be either a bug or configuration problem. I suppose that TCP connection timeout (for agent to web server connection) is longer than server timeout for agent communication, and so server just didn't wait long enough to get value for ServiceCheck.HTTP parameter, and because there was no new value, threshold was not triggered. I suggest to 1) specify reasonable but short connection timeout in ServiceCheck.HTTP parameter; 2) ad additional threshold for data collection error.

Best regards,
Victor
#5606
General / Re: Android development contribution
January 16, 2012, 11:42:10 AM
Hi!

Graphs looks great! I can imagine a lot of things to enhance (first thing that comes to my mind is to implement scrollable/zoomable graphs, which GraphView supports), but I like the direction. I'm not an Android development guru either, so we are in same position here.

For now, I have committed your changes into subversion, and publish new console on a web site (as an 1.1.9 version). Please send me your desired login name for subversion so you be able to commit changes directly.

Best regards,
Victor
#5607
Hi!

Can you please send me a screenshot of how it looks? Are all devices which behaves wrong of same type? I have added new Cisco Catalyst driver in 1.1.8, this may impact Cisco Catalyst switches.

Best regards,
Victor
#5608
Announcements / Re: NetXMS 1.1.9 released
January 15, 2012, 06:04:09 PM
Our ultimate goal to have web interface with same functionality as console application and having as closer look and feel to console application as possible. We are now using Eclipse RAP which allows to port existing Eclipse-based applications to web applications. It has lot of limitations, but still it allows us to reuse 70-80% of existing code in management console, and resulting web application looks very similar to standalone console.

Best regards,
Victor
#5609
Announcements / Re: NetXMS 1.1.9 released
January 15, 2012, 05:00:51 PM
Hi!

It was unplanned release, but due to critical bugs in 1.1.8 (mostly because of reported crash on MySQL and Oracle backends and performance data not stored in DB on MS SQL backend) I have to create this bugfix release. My current to-do for 1.1.10 is following (copy-paste from internal Jira):

Bug
[NX-12] - Multiple bugs in image library
[NX-54] - Missing "interconnect networks" property for cluster objects
[NX-65] - Extra new line character in local command output

Improvement
[NX-3] - Ability to set native agent port on node creation
[NX-18] - Improve dashboard configuration tools
[NX-40] - Make log viewers really usable
[NX-45] - Add option to force creation of character string instead of hex string in SNMP trap mapping
[NX-56] - Add possibility to add and edit names on map link
[NX-57] - Add certificate authentication to Java console

New Feature
[NX-17] - Add "monitors" for events, SNMP traps, and syslog records
[NX-33] - Implement configuration export in Java console
[NX-35] - Implement concept of "normal" interface state
[NX-38] - Add additional page for containers where threshold violations for underlying nodes are shown
[NX-43] - Allow per-DCI SNMP version settings
[NX-49] - Implement NXSL actions
[NX-50] - Add possibility to add parameters and/or specify entry point in scripts called via %[] macro
[NX-51] - Ability to copy/paste scripts in script library
[NX-63] - Timed alarm acknowledgement
[NX-70] - Implement syslog parser edit from Java console
[NX-71] - Add new policy type for distributing log parsers

I plan to release 1.1.10 in the beginning of February. Also, I plan to release alpha version of new web interface (RAP based) somewhere in January.

Best regards,
Victor
#5610
Announcements / NetXMS 1.1.9 released
January 15, 2012, 12:40:45 AM
Hi all!

NetXMS version 1.1.9 is out. It's a bugfix release which solves some important problems found in 1.1.8. Changes from previous release:

- Fixed server crash during startup
- Fixed failed SQL queries if MS SQL used as backend
- Fixed "Resource not available" error when trying to view VLANs on a switch
- Bugfix: data collection configuration not available for cluster objects
- Bugfix: cannot remove package from list if file does not exist
- Bugfix: temporary file not deleted after external parameter execution
- Bugfix: cannot change node's "force encryption" flag from Java console
- Bugfix: cannot execute local commands with spaces in path
- Template can be moved between template groups
- Added "refresh" function to alarm browser in Java console

Best regards,
Victor