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

#2641
Общие вопросы / Re: скриншоты linux
February 22, 2016, 02:27:36 PM
Пока снятие скриншотов на Линуксе не поддерживается. Добавил как feature request: https://dev.raden.solutions/issues/1172
#2642
Спасибо, войдет в релиз 2.0.3.
#2643
General Support / Re: Random Network Interfaces
February 16, 2016, 08:37:01 PM
Hi,

did you check what is reported on Windows server with ipconfig /all command?

Best regards,
Victor
#2644
General Support / Re: SYS_IF
February 16, 2016, 08:33:33 PM
Hi,

SYS_IF_DOWN and SYS_IF_UP events are pre-defined and system will generate exactly these events. But you can change text for any system event, so it could be simplest solution.

Best regards,
Victor
#2645
Hi,

looks like a bug actually. Logical behaviour would be to insert empty values. I'll register this as a bug.

Best regards,
Victor
#2646
General Support / Re: Duplicate Node generated
February 12, 2016, 07:11:25 PM
Seems to be a serious bug then. Could you please provide output of commands

nxadm -c "show ind nodeaddr"
nxadm -c "show ind interface"

(only lines with IP addresses related to that switch).

Best regards,
Victor
#2647
Hi,

there are few errors:

1. you should place your code within main() function or not use functions at all;
2. If this is threshold violation event, then instance will be passed as event's parameter #6, and can be accessed as $event->parameters[6]
3. Expression

return (value != null) && (value > 0);

will return 0 (false) or 1 (true) which is probably not what you want.

Script that will return value of FileSystem.Free for current instance or N/A if it cannot be obtained can looks like following:


value = AgentReadParameter($node, "FileSystem.Free(" . $event->parameters[6] . ")");
return (value != null) ? value : "N/A";


Best regards,
Victor
#2648
General Support / Re: Transformation Script
February 12, 2016, 01:29:24 PM
Hi,

you have to use main (lowercase) or not use main function at all. Correct script would be

return ($1 / 1024 / 1024 / 1024) . " GB";

or

sub main()
{
   return ($1 / 1024 / 1024 / 1024) . " GB";
}

Best regards,
Victor
#2649
Hi,

you can use scripts for that. You can insert return value of script from script library using %[script_name] macro, and in a script you can use AgentReadParameter to read data directly from agent or GetDCIValueByName/GetDCIValueByDescription to get value of another DCI.

Best regards,
Victor
#2650
General Support / Re: SYS_AGENT_UNREACHABLE
February 12, 2016, 12:50:53 PM
It is in nxagentd.conf,  but it has default value of 60 seconds on Windows, and in the log we see "idle" disconnect after just one second. Try to add

SessionIdleTimeout = 600

to nxagentd.conf and check if idle disconnect messages will still appear.

Best regards,
Victor
#2651
It seems that I've found bug in our MS SQL database driver. Could you please replace file mssql.ddr with attached one and try to start server?

Best regards,
Victor
#2652
Could you please send me results of the following queries:

SELECT * FROM dashboard_elements WHERE dashboard_id=107;
SELECT num_columns,options FROM dashboards WHERE id=107;

Best regards,
Victor
#2653
General Support / Re: Cannot save predefined graphs
February 12, 2016, 11:16:38 AM
We plan to make a release somewhere near end of February.

Best regards,
Victor
#2654
General Support / Re: Duplicate Node generated
February 12, 2016, 10:05:22 AM
And what is in primary node name field on those duplicate switches?

Best regards,
Victor
#2655
Наверное единственный вариант - это дать мне доступ к сетке с такими коммутаторами, чтобы можно было тестировать и отлаживать. Теоретически проблем в коде я не вижу. Если есть возможность попасть в тестовую сетку с D-Link, очень поможет.