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

#5656
Eto versija 1.1.7? U menja bila takaja problema s serverom na Solarise. No v versii 1.1.7 ja ee vrode kak pochinil.
#5657
General / Re: About the discover poll
December 20, 2011, 03:44:52 PM
Hi!

Discovery poller only puts candidate node into poll queue. Another thread is responsible for node validation and appropriate object creation. All this code located in file np.cpp. Polling thread looks like this:

      pInfo = (NEW_NODE *)g_nodePollerQueue.GetOrBlock();
      if (pInfo == INVALID_POINTER_VALUE)
         break;   // Shutdown indicator received

      DbgPrintf(4, _T("NodePoller: processing node %s/%s in zone %d"),
                IpToStr(pInfo->dwIpAddr, szIpAddr), IpToStr(pInfo->dwNetMask, szNetMask), (int)pInfo->zoneId);
      if (AcceptNewNode(pInfo->dwIpAddr, pInfo->dwNetMask, pInfo->zoneId))
      {
         Node *node = PollNewNode(pInfo->dwIpAddr, pInfo->dwNetMask, 0, NULL, 0, 0, NULL, pInfo->zoneId, true);
      }
      free(pInfo);


AcceptNewNode checks candidate node against current discovery filter, and if it passes, PollNewNode is called, where actual node object being created. Inside PollNewNode method Node::configurationPoll is called, where all interface and subnet objects are created, as required.

Best regards,
Victor
#5658
Hi!

Try to add /usr/local/lib to /etc/ld.so.conf, run ldconfig, and then try make install again.

Best regards,
Victor
#5659
Hi!

You have to install mysql client library package. For CentOS 5 it probably would be mysql-devel.

Best regards,
Victor
#5660
Feature Requests / Re: Java Console - Event Monitor
December 19, 2011, 11:23:46 AM
Hi!

Done it. It is where the power of Eclipse platform lies - contributing same extensions to different part of UI is very easy and sometimes takes just few minutes.

Best regards,
Victor
#5661
General Support / Re: SYS_NODE_UP
December 19, 2011, 01:45:59 AM
Hi!

Server only generates SYS_NODE_UP event for nodes that was previously down. The "down" state is not preserver between server restarts, so if node was started during NetXMS server restart, it marks it as "up" during first poll, and SYS_NODE_UP never generated. I agree that this is not correct. I'll add it to my to-do list, and will fix it (probably by preserving "down" state across server restarts).

Best regards,
Victor
#5662
General Support / Re: Event Processing
December 19, 2011, 01:41:02 AM
Hi!

It should be 1 under most circumstances. You can monitor event processor queue size to see if there are any bottleneck, but I actually never seen this.

Best regards,
Victor
#5663
General Support / Re: DataBase Writers
December 19, 2011, 01:39:41 AM
Hi!

It's actually depends on your configuration and underlying database engine performance. Best way is to monitor database writer queue size, and if is greater then 0 most of the time then increase number of database writers.

Best regards,
Victor
#5664
General / Re: About the Language
December 17, 2011, 10:19:49 PM
Also, the following line looks wrong to me:

AcknowledgeAlarm_ErrorMessage=No es posible puedo Cannot aceptar la alarma

Best regards,
Victor
#5665
General / Re: About the Language
December 17, 2011, 10:19:03 PM
Hi!

Thanks for the translation! I have added language switch for Spanish and Chinese languages, and add files you have sent to the project. I also forgot to mention that there are additional files to translate - they are called bundle.properties, and located in <project_root>/OSGI-INF/l10n.
I'll post to this thread as I will prepare more plugins for translation.

Best regards,
Victor
#5666
Also, I suppose that you have to use custom event log name, not a full path to actual .evt file. If I understand correctly, all available logs are listed in registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog. But I never works with custom Windows event logs, so I may be wrong.

Best regards,
Victor
#5667
Hi!

If you give file name in <file> tag, logwatch subagent will threat it as regular text file, which I suppose is not the case. If you need to openWindows event log, you must prepend it's name with asterisk, like <file>*System</file>. And you have missing opening angle bracket in second rule, maybe just a copy/paste error.

Best regards,
Victor
#5668
General / Re: About the Language
December 16, 2011, 02:29:39 PM
Hi!

You have to get current svn repository: https://svn.netxms.org/public/netxms/trunk. Sources of Java console are under src/java/netxms-eclipse. Below that point there are various messages.properties in different plugins, like src\java\netxms-eclipse\core\src\org\netxms\ui\eclipse\console\messages.properties. There should be one message file per plugin, usually located in the root package of a plugin. PLease note that currently only few plugins are prepared for translation.

Best regards,
Victor
#5669
General Support / Re: Message Text
December 16, 2011, 12:21:09 PM
I plan to add additional option to SNMP trap parameter mapping - something like "don't convert to HEX string".

Best regards,
Victor
#5670
General Support / Re: Lots of Wierd Subnets
December 16, 2011, 12:20:13 PM
Hi!

Is it possible to install test server 1.1.7 somewhere and add those access points? Versions 1.0.x and 1.1.x has different configuration polling code, and it will be helpful to know if both versions are affected or only old one.

Best regards,
Victor