News:

We really need your input in this questionnaire

Main Menu
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

#7276
General Support / Re: binding error to new mib file
April 17, 2008, 01:13:34 PM
Hello!

Looks like a bug in MIB compiler. As a workaround, just comment out or delete entire DEFVAL line - it is not used by compiler anyway.

Best regards,
Victor
#7277
General Support / Re: Web interface installation.
April 17, 2008, 01:10:27 PM
Correct way should be by adding --with-nxhttps to configuration line, like
./configure --with-server --with-agent --with-mysql --with-nxhttpd
I'll check this on my machine, but it should work...

Best regards,
Victor
#7278
General Support / Re: Web interface problem.
April 15, 2008, 06:45:49 PM
Sounds quite strange. How nxhttpd.conf looks like and what type of system you are running on?

Best regards,
Victor
#7279
General Support / Re: Remote node manipulation.
April 15, 2008, 06:42:32 PM
Hi!

Built-in actions System.Shutdown and System.Restart only available on Windows platform. On UNIX'es, you should define them manually in nxagentd.conf like this:


Action = System.Shutdown:/sbin/halt
Action = System.Restart:/sbin/reboot


Best regards,
Victor
#7280
Счетчик алармов увеличивается если у алармов совпадают ключи. Надо делать ключ на основе DCI ID, скажем добавлять _%5 к ключу.
#7281
General Support / Re: Policy problem/question
April 11, 2008, 02:12:55 PM
Hello!

This can be done with alarm keys. When you creating alarm from NETWORK_PRINTER_DOWN event, set key for it to something like PRINTER_DOWN_%i (%i will be expanded to node's unique identifier - complete list of possible macros can be found in user's manual). Then, create rule for opposite event, and in alarm column for it, select "Terminate alarm with given key", and enter the same key.

Best regards,
Victor
#7282
General Support / Calculated DCI
April 11, 2008, 10:13:57 AM
From messages:

Quote from: Rando on April 11, 2008, 02:47:38 AM
Sorry, I didn't read the last part of the message.  Yes, you can transfer this to the forum.  I'm still struggling with the scripting.  Is there any examples with descriptions I can look at to see the structure and usage?  I'm just going through the manual right now.

Quote from: Victor Kirhenshtein on April 07, 2008, 04:37:10 PM
Quote from: Rando on April 07, 2008, 09:19:18 AM
I'm still learning the NetXMS software and have a wireless base station and remote wireless radios which is SNMP capable and I do get a signal value and a noise value.  For me to calculate the signal to noise ratio I have to subtract these two numbers to create a 3rd value that I would need to track.  Is there any way NetXMS can do this?

Yes, it's possible. You should define two DCIs, one will collect signal value, and other noise value. Then, for one DCI you can create transformation script, which will access last value of other DCI and use it in transformation. You can access other DCI value using built-in functions GetDCIValue and FindDCIByName or FindDCIByDescription. See user's manual for description of these functions (section 8.5.3).
You script may looks like following (assuming that you are transforming signal value and your noise DCI called "Noise Level"):


$1 - GetDCIValue($node, FindDCIByDescription($node, "Noise Level"))


Best regards,
Victor

P.S. Can we move this discussion to the forum because this information may be useful for others?

#7283
General Support / Re: Problems with agent parameters
April 11, 2008, 10:11:22 AM
Could you please check attached WINPERF subagent - it should fix System.Uptime and System.ThreadCount on non-english systems.

Best regards,
Victor
#7284
General Support / Re: Problems with agent parameters
April 11, 2008, 10:08:53 AM
Quote from: xenth on April 10, 2008, 05:42:21 PM
The value returned by agent on hdd space:

System #1: Free:62.7GB     NetXMS reads out: 67G
System #2: Free:8.64GB     NetXMS reads out: 9284M

It's a console display problem, not an agent bug. Actual DCI value for free disk space is in bytes. When you use multipliers in console to view current DCI values, console uses them in common sense, i.e. K = 1000, M = 1000000, and so on, because console has no knowledge about units of DCI - is it bytes or something else. If you multiply 62.7 to 1024 * 1024 * 1024 and then divide by 1000000000 and take whole part, you'll get 67. You can also turn off multipliers and see correct number of bytes.

Thre are no straight-forward solution for this. Probably we should add additional DCI property - units, to give console a hint how to work with the values.

Best regards,
Victor
#7285
For entire network, "negate cell" will help - because entire network includes every node registered in system. So to match everything except one printer, you should add only that printer to source and then select "negate cell".
However, if you wish to match all hosts in specific subnet except some host from this subnet, it will not help. In this case, you will need to use "script" column. For example, to exclude device with ID 100, script may looks like following:


OBJECT_ID != 100


Best regards,
Victor
#7286
General Support / Re: Problems with agent parameters
April 10, 2008, 04:39:03 PM
It's the reason for System.Uptime. I'll fix it soon. Load average can be OK, I don't know you actual load. About DiskFree - what is the value returned by agent and what is real value?

Best regards,
Victor
#7287
General Support / Re: NetXMS 0.2.20 compilation
April 10, 2008, 03:29:02 PM
Main problem is to find Linux ODBC driver for MS SQL. Second is to configure unixODBC.  There are some useful links from unixODBC site:
http://www.unixodbc.org/odbcinst.html
http://www.unixodbc.org/config.html

Please note that FreeTDS mosy likely will not work because it doesn't support UNICODE ODBC interface.

Best regards,
Victor
#7288
You can select "Negate cell" option - this will mean "everything except listed in this cell". Is it what you mean?
#7289
General Support / Re: Problems with agent parameters
April 10, 2008, 02:20:12 PM
Do you have English version of Windows or in some other language?
#7290
General Support / Re: NetXMS 0.2.20 compilation
April 10, 2008, 01:26:11 PM
Hi!

We have changed UNICODE support in 0.2.20 - this should be the cause. I'll take a look at this today. Could you please post config.log here or send it to [email protected]?

Best regards,
Victor