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

#3466
General Support / Re: Template DCI's disappear
October 14, 2014, 11:01:13 AM
Hi,

it happens when server tries to save DCI configuration to database. What DCIs did you edit recently?

Best regards,
Victor
#3467
Статус изменится при появлении аларма например. Вообще это именно внутренний параметр - он просто достает статус объекта в системе. Координаты агент должен передавать - на закладке Overview должны быть. Если нет, то надо на телефоне смотреть что пишет. В версии 1.2.17 будет еще и трекинг - история координат сохраняется в базу и позволяет посмотреть через GUI.
#3468
Quote from: Akira on October 13, 2014, 08:22:22 PM
Уровень заряда показывает.
Когда я создал DCI на батарею и сказал показывать график, его нигде не видно.
У mobile device нет закладки performance

да, действительно - для мобильных устройств performance tab не показывается. Я поправлю к следующему релизу. Можно смотреть график вручную из "Last values".

#3469
перепутал - сначала идет формат, потом время:

return strftime("%d.%b.%Y %H:%M:%S", $1);
#3470
General Support / Re: Template DCI's disappear
October 13, 2014, 07:53:02 PM
Hi!

Did you restart netxmsd in between? If yes, check server's log file for possible SQL errors - maybe your changes was not saved in database. Check audit log to see when last changes to template objects was done.

Best regards,
Victor
#3471
Hi,

yes, you can use them in form %attribute_name%

Best regards,
Victor
#3472
Общие вопросы / Re: Search snmp sysname
October 13, 2014, 07:48:25 PM
Только своим скриптом или селектом из базы - стандартной опции в GUI такой нет.
#3473
Странно что не рисует, это обычный DCI. А устройство репортит уровен заряда? На закладке Overview должно быть.

По запущенным программам инфа пока не собирается.

Для конвертации времени можно использовать функцию strftime в transformation script, например так:

return strftime($1, "%d.%b.%Y %H:%M:%S");

Спецификаторы формата стандартные из C, можно посмотреть например здесь: http://www.cplusplus.com/reference/ctime/strftime.

Для определения жив телефон или нет я использую DCI "Seconds since last report" который получается из "Last report time" таким скриптом:

return time() - $1;

И на него ставлю threshold, скажем > 600 - телефон ен отвечает более 10 минут, генерим аларм.
#3474
General Support / Re: Writing my own network driver
October 10, 2014, 11:02:31 AM
Thank you! I'll try to use it later today.

Best regards,
Victor
#3475
General Support / Re: SNMP source port
October 09, 2014, 11:38:13 AM
You have to wait for 1.2.17 release :) Alternatively, you can download current development snapshot and test it.

Best regards,
Victor
#3476
General Support / Re: Agent's Connectivity
October 06, 2014, 05:31:23 PM
Hi,

connections are from server to agents so it is server supposed to restore connections. Did you try manual status or configuration poll on any node?

Best regards,
Victor
#3477
General Support / Re: Debian package installation
October 06, 2014, 05:29:45 PM
Currently it's not possible with web UI. For 1.2.17 I've added new command line / URL option "dashboard=" to both desktop and web console to automatically open given dashboard (specified by dashboard object ID or name). It is already described in Autologin for Management Console on our wiki.

Best regards,
Victor
#3478
General Support / Re: Writing my own network driver
October 06, 2014, 04:22:15 PM
Yes, that will help.

Best regards,
Victor
#3479
General Support / Re: Native Agent not responding
October 03, 2014, 10:40:12 PM
Hi,

try to run manual configuration poll on these nodes. It should clear agent presence flag.

Best regards,
Victor
#3480
General Support / Re: NetXMS polling packets log
October 03, 2014, 10:37:45 PM
Hi,

the only option is to use tcpdump or WireSHark (depending on OS you are running server on). For tcpdump it could be like this:

tcpdump -s 65535 -w <file> udp and host <switch_ip> and port 161

all SNMP packets to and from switch should be in file you specify in -w option.

Best regards,
Victor