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

#2926
Общие вопросы / Re: with IPV6
September 01, 2015, 04:05:52 PM
Поддержка IPv6 включается автоматически если найдены необходимые структуры. configure проверяет наличие AF_INET6 и struct sockaddr_in6 - проверьте config.log почему он их не нашел. Возможно на FreeBSD нужны дополнительные .h файлы.
#2927
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
#2928
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
#2929
Общие вопросы / 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;
}

#2930
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
#2931
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
#2932
General Support / Re: Request user input from nxsl
August 29, 2015, 11:02:04 PM
Hi,

no, it's not possible. However, it is possible to create object tools with input fields - depending on what you are trying to achieve it may be good alternative.

Best regards,
Victor
#2933
Hi,

currently network discovery behind proxy is not implemented. It will be implemented in one of the 2.x releases.

Best regards,
Victor
#2934
Hi,

can you please show your nxagentd.conf file?

Best regards,
Victor
#2935
Hi,

can you please show results on nxsnmpwalk on OID .1.3.6.1.2.1.1 and screenshot of "Communications" property page for Dell switch?

Best regards,
Victor
#2936
Hi,

from your description it actually looks like a bug. Using transformation scripts to simulate different values is fine, and scripts like $1+0 should work as well. I'll try to repeat this on my test system.

Best regards,
Victor
#2937
Попробуйте поставить параметр сервера CheckTrustedNodes в 0 (подробнее здесь: https://wiki.netxms.org/wiki/SG:Security_Issues).
#2938
General Support / Re: Create Rack
August 22, 2015, 05:11:50 PM
Hi,

no, it's not implemented yet.

Best regards,
Victor
#2939
General Support / Re: File copy to agent
August 22, 2015, 05:11:21 PM
Hi,

currently there is no option to relate scripts to DCIs or templates and copy them automatically. You can simplify your task a bit by using mass file upload (upload file to server, then select container and choose "upload file" - it will upload selected server file to all agents in container). We have plans for simplifying related files distribution, but I cannot tell now in what release it will be.

Best regards,
Victor
#2940
Hi,

actually, interface information is based almost entirely on standard MIBs, so you don't have to do anything to see correct interface list for the switches. Can you show how interface tabs looks like for those switches?

Best regards,
Victor