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

#4231
А соственно интерфейс под датчиком есть? И если да, то есть ли у интерфейса IP адрес?
#4232
Сделал у себя простой тест - все отработало как надо. Пришлите пожалуйста свой шаблон (через экспорт конфигурации).
#4233
General Support / Re: segfault
October 11, 2013, 11:51:49 AM
Are you sure you apply patch and rebuild server correctly? It crashes in same place as if it was not patched. How line 389 in src/server/core/dctable.cpp looks like now?

Best regards,
Victor
#4234
General Support / Re: GetAvgDCIValue not working?
October 11, 2013, 11:49:02 AM
Hi!

That's very strange. I just install MySQL 5.1 server, create new database, create dummy DCI of type "integer" with transformation script


return 22;


If I run the following script from console:


startTime = time() - 1800;
object = FindNodeObject(null,"HP8570W");
trace(0, "*** VALUE: " . GetAvgDCIValue(object, FindDCIByDescription(object,"TEST"), startTime, time()));


I got expected results:


netxmsd: exec avg
[11-Oct-2013 11:46:17.797] [INFO ] *** VALUE: 22.000000
INFO: Script finished with rc=0


Can you re-test it with some another DCI?

Best regards,
Victor
#4235
General Support / Re: segfault
October 11, 2013, 09:27:51 AM
Hi!

Can you provide me a stack trace from debugger?

Best regards,
Victor
#4236
General Support / Re: TLS SMTP problem
October 09, 2013, 11:58:40 AM
Hi!

NetXMS server uses SMTP protocol to deliver mails. If it is unable to communicate with your post server directly, you can install local SMTP server (mail client is not enough), configure NetXMS to use 127.0.0.1 as SMTP server, and just forward everything from your local SMTP server to your real mail server. On Debian Postfix could be right choice. This is short document on how to configure Postfix to forward everything to mail gateway: http://marcelog.github.io/articles/configure_postfix_forward_all_email_smtp_gateway.html

Best regards,
Victor

#4237
Я бы посоветовал проверку на пусто/не пусто делать как

($6 != "") || ($7 != "")

иначе она не сработает если параметр будет, но не числовой.
#4238
Windows / Re: Problem exporting the binaries in eclipse
October 08, 2013, 12:06:27 PM
Hi!

Are you using product specification (nxmc.product)? I'm not sure you can just export plugin as application. Also, check that plugins specified in your product configuration file are the same as in your run configuration in Eclipse.

Best regards,
Victor
#4239
Общие вопросы / Re: oracle agent
October 08, 2013, 09:13:21 AM
Зарегистрировал как баг (https://www.radensolutions.com/chiliproject/issues/373), посмотрю попозже.
#4240
Добрый день!

Это баг просмотра настроенных действий, само действие должно работать правильно.
#4241
Looks like same issue: https://www.netxms.org/forum/general-support/segfault-2648. Let me know if you need compiled binaries.

Best regards,
Victor
#4242
General Support / Re: segfault
October 08, 2013, 09:08:02 AM
Hi!

Was this SNMP or agent table? Looks very similar to https://www.netxms.org/forum/configuration/netxms-server-crash-1-2-9.

If you built server from sources, try to replace line 389 in file src/server/core/dctable.cpp which currently should looks like


if (_tcslen(s) < MAX_DB_STRING)


with


if ((s == NULL) || (_tcslen(s) < MAX_DB_STRING))


and rebuild server.

Best regards,
Victor
#4243
General Support / Re: DCI Issue
October 08, 2013, 09:04:25 AM
Hi!

Currently it's not possible to add a label to Y axis. I've registered it as feature request (https://www.radensolutions.com/chiliproject/issues/372).

You can transform uptime to days using transformation script like this:


return $1 / 86400;


You may need to change DCI data type to floating point number if you want to see fractional values.

Best regards,
Victor
#4244
General Support / Re: NetXMS server crash 1.2.9
October 08, 2013, 08:58:29 AM
Hi!

Good news is good :)

I've found possible reason for a crash. Are you using SNMP tables? I can build a patched binary for you so you will be able to test it.

Best regards,
Victor


#4245
Попробуйте поставить кодировку CP-1251 в netxmsd.conf. Если не требуются еще какие-то языки, то должно работать без проблем.