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

#6406
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
#6407
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
#6408
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
#6409
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
#6410
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
#6411
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
#6412
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
#6413
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
#6414
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
#6415
Общие вопросы / Novell MIB
August 10, 2010, 01:06:47 PM
Куда-то исчез оригинальный пост про проблему компиляции NetWare-Server-MIB.txt (в аттаче). Это баг MIB компилятора. В аттаче патч на исходники. Если надо, могу выложить пересобранный nxmibc для Windows.
#6416
Общие вопросы / 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 неправильное значение маски?
#6417
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
#6418
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
#6419
General Support / Re: Event Processing Policy
August 09, 2010, 01:49:55 PM
Hi!

It's not necessary to create 4 rules in event processing policy - you could create only one rule for all DCIs, you just need to configure it right.  I suspect that maybe you made some mistake when configuring event processing rules, possibly you have created alarm key which is identical for all DCIs. Typical configuration for alarm generation include setting alarm key in a way that it will be unique for each DCI. For example, I prefer to use alarm key DC_%i_%5 - macro %i will be expanded into node object's id, and %5 into DCI id.

Best regards,
Victor
#6420
General Support / Re: MIB compile error
August 09, 2010, 12:53:39 PM
Very strange. Just try to compile this MIB with all others and got a lot of entries under .1.3.6.1.4.1.789. Attached is a screenshot from my MIB browser.
Just in case - try to find local copy of netxms.mib on your workstation and delete it - may be console due to some problem does not update it.

Best regards,
Victor