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

#2896
General Support / Re: Gauge size adjustment
September 03, 2015, 02:15:53 PM
Hi,

you have configured vertical span incorrectly - it should be 1 for all three gauges.

Best regards,
Victor
#2897
Общие вопросы / Re: with IPV6
September 03, 2015, 11:56:07 AM
а сделайте:

cd /usr/include
grep -r AF_INET6 *

что выдаст?
#2898
SYS_NODE_DOWN может не быть если SNMP отвалился, но на ping коммутатор уже ответил. Тогда сервер считает, что проблема только с SNMP агентом.
#2899
А лог сервера пишется? Если нет, попробуйте поставить debug level 6 или выше, и пришлите лог сервера от получения ивента до генерации аларма.
#2900
Общие вопросы / Re: Syslog IPv6
September 03, 2015, 11:42:33 AM
Пока не поддерживается. Я добавлю в следующем релизе.
#2901
Feature Requests / Re: System location and contact
September 03, 2015, 08:54:08 AM
Hi,

we can add those in next release.

Best regards,
Victor
#2902
Actually, when upgrading installer is supposed to keep whatever installation directory was specified during initial installation. What was initial version and what version you are using for upgrade? As for alternate config file location, currently it's not possible to set it in installer, but symlinks should work.

Best regards,
Victor
#2903
General Support / Re: libnxclient missing
September 03, 2015, 08:30:37 AM
Into NetXMS bin directory, where all other NetXMS exe and dll resides.

Best regards,
Victor
#2904
Общие вопросы / Re: Node Bridge Base Address
September 01, 2015, 04:15:31 PM
Сейчас такого атрибута у объекта ноды нет. Я добавил в 2.0-RC2 атрибут bridgeBaseAddress.
#2905
Общие вопросы / Re: with IPV6
September 01, 2015, 04:05:52 PM
Поддержка IPv6 включается автоматически если найдены необходимые структуры. configure проверяет наличие AF_INET6 и struct sockaddr_in6 - проверьте config.log почему он их не нашел. Возможно на FreeBSD нужны дополнительные .h файлы.
#2906
Hi,

currently that's the only way to achieve ehat you want, because there are no direct interface to user database from NXSL.

Best regards,
Victor
#2907
General Support / Re: Request user input from nxsl
September 01, 2015, 11:30:02 AM
Hi,

nxscript provides only generic functions, as it is completely independent from server process. You have to run your script within netxmsd, for example using nxadm:


/data/netxms/bin/nxadm -c 'exec /data/scripts/first.nxsl 124 ddd dddd'


and if you need to execute NXSL script as reaction to event, you can simply create your script in script library and use "execute script" action.

Best regards,
Victor
#2908
Общие вопросы / Re: NXSL: Hex to Dec
August 29, 2015, 11:25:48 PM
Функцию для конвертации hex в dec забыли добавить как выяснилось :) Можно воспользоваться таким трюком (в переменной s hex число):


n = int32("0x" . s) + 0;


после этого переменную n можно подставлять в строку.

Или сделать функцию:


sub x2d(h)
{
   return int32("0x" . h) + 0;
}

#2909
Try to remove Servers and ControlServers and leave only MasterServers. There is a known bug (will be fixed in 2.0-RC2) that incorrectly set access level for server if it is listed in multiple categories.

Best regards,
Victor
#2910
Hi,

all SYS_* events except SYS_THRESHOLD_* are generated by server (for example, SYS_INCORRECT_NETMASK is generated when incorrect netmask detected on interface). Events also could come from SNMP traps, syslog parser, from agents (usually from log parsers on remote systems) or submitted directly using nxevent tool or API.

Best regards,
Victor