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

#6376
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
#6377
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
#6378
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
#6379
Общие вопросы / Novell MIB
August 10, 2010, 01:06:47 PM
Куда-то исчез оригинальный пост про проблему компиляции NetWare-Server-MIB.txt (в аттаче). Это баг MIB компилятора. В аттаче патч на исходники. Если надо, могу выложить пересобранный nxmibc для Windows.
#6380
Общие вопросы / 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 неправильное значение маски?
#6381
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
#6382
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
#6383
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
#6384
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
#6385
General Support / Re: MIB compile error
August 08, 2010, 12:02:17 PM
Hi!

Did you put resulting netxms.mib into correct place - should be d:\netxms\var\mibs in your case? By default, nxmibc creates output file in current directory. You should either move resulting file to correct location or use -o option for nxmibc. Also, don't forget to restart management console after MIB compilation - MIB tree synchronization with server occurs only at login.

Best regards,
Victor
#6386
General Support / Re: NXMC
August 06, 2010, 08:33:08 PM
Hi!

I've put new version of the console on web site. It should work with 1.0.4 server.

Best regards,
Victor
#6387
General Support / Re: Event Processing Policy
August 06, 2010, 07:52:28 PM
Hi!

Could you please provide more details - configuration of all 4 DCIs, how policy looks like, what actual values for DCIs?

Best regards,
Victor
#6388
General Support / Re: ping subagent
August 04, 2010, 06:04:48 PM
Hi!

By default, hosts are pinged 4 times per minute (every 15 seconds). You can change this by adding PacketRate parameter to PING section. For example, configuration like this:

*PING
PacketRate = 12
Target = 137.133.31.15:NO_GW

will cause agent to ping targets every 5 seconds.

You can see all ping times by creating separate DCI for Icmp.LastPingTime parameter and collecting it with same intervals as ping rate. Then you will be able to see all ping times as values of this DCI.

Best regards,
Victor
#6389
Hi!

It depends on your configuration. For node objects, status calculated based on two sources - statuses of child objects (interfaces and network services), and active alarms for the node. So, if you, for example, have outstanding critical alarm, node status will be critical even if it is reachable by management server. Also, default status calculation algorithm takes most critical status of child objects, so if you have managed device with multiple interfaces, one interface in down state will cause critical status for entire device, although it is still reachable via other interfaces.
You can safely assume that critical status mean "node unreachable or down" only if you have configured system in that way. In default configuration this is not the case.

Best regards,
Victor
#6390
Announcements / NetXMS 1.0.4 released
July 30, 2010, 05:23:22 PM
Hi all!

NetXMS version 1.0.4 is out. Changes since 1.0.3:

- Built-in syslog server improved
- Windows console improved
- Created separate installation package for Windows console
- Fixed issues: #282, #288, #296

Best regards,
Victor