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

#6391
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
#6392
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
#6393
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
#6394
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
#6395
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
#6396
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
#6397
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
#6398
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
#6399
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
#6400
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
#6401
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
#6402
Общие вопросы / Novell MIB
August 10, 2010, 01:06:47 PM
Куда-то исчез оригинальный пост про проблему компиляции NetWare-Server-MIB.txt (в аттаче). Это баг MIB компилятора. В аттаче патч на исходники. Если надо, могу выложить пересобранный nxmibc для Windows.
#6403
Общие вопросы / Re: Invalid network mask
August 10, 2010, 09:37:56 AM
Можно посмотреть какие маски прописаны у объектов подсетей в таблице subnets, и поправить если они неправильные (изменения можно делать только при остановленном сервере). Можно отключить появление аларма, сделав неактивным или удалив соответствующее правило. А появляется действительно аларм вида

Invalid network mask 255.255.255.128 on interface "em0", should be 255.255.255.128

где маска, которая должна быть, соответствует той, что есть, но не смотря на это создается аларм, или просто в should be неправильное значение маски?
#6404
General Support / Re: NXMC
August 09, 2010, 03:42:45 PM
Ok, now I got it. First, I suggest you to got source code from subversion - https://svn.netxms.org/public/netxms/trunk. All Java sources located under src/java. Console is written on Eclipse platform, so plugin development is just a normal Eclipse plugin development process, which is well documented on Eclipse web site - www.eclipse.org. If you have questions, ask them on forum in development section.

Best regards,
Victor
#6405
General Support / Re: NXMC
August 09, 2010, 01:51:15 PM
What do you mean by "develop with it"? I didn't get the question.

Best regards,
Victor