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

#6256
Разделитель - точка с запятой. Если сообщения не приходят, то это либо баг, либо ошибка при конфигурации. Попробуйте запустить сервер с уровнем дебага 5 или выше и посмотреть что пишется об отправке SMS.
#6257
Иконки на карте можно зафиксировать, выключив режим "automatic layout" (через меню Map) и сохранив карту (Map -> Save).
#6258
I have added function GetNodeParents in version 1.0.8.

Best regards,
Victor
#6259
General Support / Re: Alarm Message in Database
November 28, 2010, 11:20:40 PM
It will be available in a few days.

Best regards,
Victor
#6260
General Support / Re: error loading database driver
November 28, 2010, 11:18:49 PM
Hi!

Are you using PostgreSQL client installed separately or bundled with NetXMS server? Database driver built against PostgreSQL client library version 8.4.1, and it may be incompatible with 9.0.1 client.

Best regards,
Victor
#6261
Da, tam tol'ko kosvennoe upominanie (str. 45):

It is possible to manually convert variable to a certain type, using a special function, named
depending on the variable type. For example, string(4). That way it is also possible to convert
NULL type variables. Therefore, to avoid runtime exceptions while processing NULL type variables,
it is advised to use manual conversion.

Imelos' vvidu, chto est' funkcii s imenami, sootvetstvujuschimi tipam: int32, int64, string, etc. dlja javnoj konvertacii. Ja dobavlju ih opisanija v javnom vide.
#6262
Slow, but implemented finally :) However, it's not complete implementation yet - there are some limitations:
1. All agents must support same SNMP version;
2. All agents must use same community string or USM credentials;
3. Agents on ports other than node's default not checked for availability during status polls (you can however detect DCI collection errors).

I plan to add full per-agent configuration (version, credentials, etc.) in future versions.

Best regards,
Victor
#6263
Mozno napisat' transformation script, naprimer takoj:


sub convert_smart_value(value)
{
if (length(value) != 12)
return 0;

i = 11;
rvalue = "";
while(i > 0)
{
rvalue = rvalue . substr(value, i, 2);
i -= 2;
}
return int64("0x" . rvalue);
}

sub main()
{
   return convert_smart_value($1);
}


Esli convertacija nuzna v neskol'kih DCI, to funkciju convert_smart_value mozno vinesti v script library.

Best regards,
Victor
#6264
General Support / Re: Alarm Message in Database
November 25, 2010, 10:13:13 AM
Hi!

I've checked this, and yes, there is a bug - alarm message for repeating alarm updated only in memory and not stored in database. Fixed in 1.0.8.

Best regards,
Victor
#6265
General Support / Re: Service Configuration Error
November 24, 2010, 01:16:17 AM
Hi!

Did you load portcheck subagent on agent running on NetXMS server? Default service polling connection scheme is following:

NetXMS_Server ---> NetXMS_Agent on NetXMS Server Machine ---> service to check

unless you change poller node in network service configuration. If you are running your server on Linux, you should have something like


SubAgent = /opt/netxms/lib/libnsm_portCheck.so


in nxagentd.conf on NetXMS server machine.

Best regards,
Victor
#6266
Добрый день!

Пропустил эот пост :( Проблема все еще актуальна?
#6267
В текущей версии этого сделать нельзя. Я попробую реализовать это в каком-то виде в следующей версии.
#6268
Если есть SNMP, то проблем быть не должно. Надо только найти MIB для конкретной модели ибп и все правильно настроить. Стандартный UPS MIB входит в инсталляцию NetXMS.
#6269
Hi!

You can use situations in conjunction with dummy DCI. For example, you can update situation object each time you got line from a log, setting situation's attribute to current time stamp. Then, create dummy DCI with transformation script, check situation's attribute, and return different values depending on how long time was passed since last situation update, and set thresholds as usual. And starting from 1.0.8, you will be able to generate new event directly from transformation script.

Best regards,
Victor
#6270
General Support / Re: Node-Down-Config Question
November 22, 2010, 06:48:15 PM
Hi!

It's a bug in a server. I have fixed it, and version 1.0.8 should work fine. If you are running server on UNIX, I can post a patch. Also, as a workaround, you can use function GetSituationAttribute to get attribute's value instead of directly accessing it.

Btw, you should specify attribute name without quotes in configuration dialog.

Best regards,
Victor