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

#6346
Общие вопросы / Re: Novell MIB
September 08, 2010, 11:00:36 PM
Novij nxmibc v attache.
#6347
General Support / Re: Display all nodes in one graphic map
September 08, 2010, 09:59:23 AM
Hi!

Yes, it's possible, but that will involve a lot of manual work. You can create separate container somewhere in the service tree, bind all nodes to that container, and create new map with root object set to that container. Then you should open new map, turn off automatic layout, and manually layout nodes.

Best regards,
Victor
#6348
General Support / Re: Licensing
September 08, 2010, 09:57:02 AM
Hi!

You are right, most of the libraries must have LGPL license instead of GPL. One of the main ideas behind NetXMS is to make it a good platform for building customized solutions, so GPL license in each file is mostly because of copy-and-paste then intentional limitations. I'll do review of licensing and change license files appropriately, but anyway you can be sure that you can use all APIs under LGPL license.

Best regards,
Victor
#6349
Hi!

Most likely you have your DCI type set to 32bit integer, and resulting value is too large. Try to change DCI type to 64bit integer.

Best regards,
Victor
#6350
Hi!

In case of del c:\ok\ok.txt, the problem is that \ is an escape character (it is escape character in all event-related text strings: event message, alarm key, etc.). So you have to specify it as del c:\\ok\\ok.txt.

Best regards,
Victor
#6351
Hi!

How did you check the results of the ping? As it configured now, server will just execute ping command - you only will be able to notice thos pings by capturing packets or looking at server's debug output.

Best regards,
Victor
#6352
General Support / Re: Event Processing Policy
August 23, 2010, 12:48:44 AM
How you action configuration looks like? You should set something like

%n: %m

as message body to get meaningful texts in e-mails.

Best regards,
Victor
#6353
What I can see from this that most likely you have set small repeat interval for DCI polling apache2 process, and those repeating events floods event log. Try to turn repeat off. Also, it is not possible to tell if DCIs are polling or not from event log - you should enable debug on server and see server log file. Also, you can check last values for DCI - if they are collected, then most likely problem is with incorrect threshold and/or event processing policy configuration.

Best regards,
Victor
#6354
General Support / Re: Event Processing Policy
August 20, 2010, 09:54:41 AM
Hi!

I would suggest to change alarm key in your configuration for %m (message text) to DC_%i_%5 - that would create separate alarms for different nodes, even if they have same message text. But anyway, that is not important for sending e-mails. From information you have sent it is not clear why you getting e-mail only for 1 DCI - I should see configuration and values of all 4 DCIs. Also, was it your intention to send e-mails every minute as long as there are files matching filter?

Best regards,
Victor
#6355
General Support / Re: How to detect node down
August 19, 2010, 09:26:42 AM
Hi!

If NetXMS cannot communicate with the node, it consider node as down. It is not possible to distinguish between situations when only interface communicating with NetXMS server or entire node is down, if other interfaces are not reachable by NetXMS server. However, if they are reachable at least by ICMP ping, server will correctly detect that only interface is down. There are other possible scenarios to distinguish between those two cases, but they are dependent on your actual network topology.

Best regards,
Victor
#6356
General Support / Re: Firewall/Communication Question
August 13, 2010, 06:47:37 PM
Server connects to agents. You need to open TCP port 4700 in direction from server to agents.

Best regards,
Victor
#6357
General Support / Re: String function in NXSL
August 12, 2010, 09:06:06 PM
Here it is. Just replace existing libnxsl.dll with attached one.

Short description of new functions:

index(string, substring, [position])
Returns the position of the first occurrence of SUBSTRING in STRING at or after POSITION.
If you don't specify POSITION, the search starts at the beginning of STRING. If SUBSTRING
is not found, returns 0.

rindex(string, substring, [position])
Returns the position of the last occurrence of SUBSTRING in STRING at or before POSITION.
If you don't specify POSITION, the search starts at the end of STRING. If SUBSTRING
is not found, returns 0.

All indexes are 1-based (first character has index 1), as in substr.

Best regards,
Victor
#6358
General Support / Re: Export DCI configurations
August 12, 2010, 12:41:29 PM
Hi!

It's not possible directly. However, you can convert/copy DCIs to template(s), and export those templates using Tools -> Export Configuration.

Best regards,
Victor
#6359
General Support / Re: String function in NXSL
August 12, 2010, 10:45:56 AM
Hi!

There are no such functions in current version. I have implemented index and rindex for next version. If you need them urgently, I can publish source code patch or rebuilt NXSL engine for Windows.

Best regards,
Victor
#6360
Общие вопросы / Novell MIB
August 10, 2010, 01:06:47 PM
Куда-то исчез оригинальный пост про проблему компиляции NetWare-Server-MIB.txt (в аттаче). Это баг MIB компилятора. В аттаче патч на исходники. Если надо, могу выложить пересобранный nxmibc для Windows.