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

#3631
Hi!

Actually there is an error in query used in function. Query looks like

SELECT max(coalesce(cast(idata_value as float),0)) FROM idata_%u
WHERE item_id=? AND (idata_timestamp BETWEEN ? AND ?) AND isnumeric(idata_value)

but isnumeric returns int, not boolean, so it should be

isnumeric(idata_value)=1

I've fixed it. PLease let me know if you need intermediate server build with this fix.

Best regards,
Victor
#3632
Общие вопросы / Re: Scripting
June 03, 2014, 12:06:36 AM
Надо хотя-бы один операнд принудительно сконвертировать в int64. Скрипт не расширяет результат умножения автоматически (что возможно неправильно, я подумаю позже об этом).
#3633
Общие вопросы / Re: netxms snmp table
June 03, 2014, 12:04:20 AM
Ну это не баг - поскольку в SNMP информации о кодировке нет, то сервер использует кодировку, указанную в CodePage, для конвертации текстов, полученных из SNMP.
#3634
Hi!

I suppose you mean web UI session. It could be set in nxmc.properties file with sessionTimeout property (in seconds). nxmc.properties file should be located in your application server class path.

Best regards,
Victor
#3635
Announcements / Re: NetXMS 1.2.14 released
June 02, 2014, 01:59:21 PM
Нет, не нормально. Я проверю и исправлю.
#3636
Can you run server under gdb and send me stack trace after crash?

Run it as

gdb /path/to/netxmsd

at (gdb) prompt enter

run -D5

when it crashes at (gdb) prompt enter

bt

and send me it's output.

Best regards,
Victor
#3637
Did you build it from sources? If yes, try to replace file src/libnxsl/parser.y with attached one and recompile. Check that you have flex and bison installed.

Best regards,
Victor
#3638
Yes, there is a bug in script compiler that may cause crash. Are you using 32 or 64 bit server?

Best regards,
Victor
#3639
General Support / Re: Freezing Agents
May 27, 2014, 06:11:16 PM
Hi!

Good news, let's hope it is fixed now :)

Best regards,
Victor
#3640
General Support / Re: Custom logo for web console
May 27, 2014, 01:50:01 PM
Hi!

Sorry, I change how it is configured. I was under impression that nobody uses this feature :) Now you should set custom logo in your nxmc.properties file, like this:


loginFormImage = /logo.jpg


Path should be relative to classpath root. Simplest variant is to put logi file next to nxmc.properties and use form /file.

Best regards,
Victor
#3641
Hi!

Starting with version 1.2.14 agent appends event source, event ID, and event severity to NetXMS event. Actual position depends on number of capture groups. For example, for rule defined as


    <rule>
      <level>1</level>
      <match>(.*)</match>
      <event params="1">100002</event>
    </rule>


(with 1 capture group) source will be available as %2, event ID as %3, and severity as %4.

Best regards,
Victor
#3642
Hi!

I'm currently investigating similar issue on one system. I'll post results here as well.

Best regards,
Victor
#3643
General Support / Re: DCI value format string
May 25, 2014, 01:51:23 PM
No, you should use transformation script to convert bits into Kbits.

Best regards,
Victor
#3644
Hi!

Proposed workflow looks correct. I've added description for CreateNode function to our wiki :)

Best regards,
Victor
#3645
У меня идей больше нет :) Может быть можно будет договорится об удаленном доступе к системе - может на месте замечу что-то?