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

#6286
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
#6287
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
#6288
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
#6289
Добрый день!

Пропустил эот пост :( Проблема все еще актуальна?
#6290
В текущей версии этого сделать нельзя. Я попробую реализовать это в каком-то виде в следующей версии.
#6291
Если есть SNMP, то проблем быть не должно. Надо только найти MIB для конкретной модели ибп и все правильно настроить. Стандартный UPS MIB входит в инсталляцию NetXMS.
#6292
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
#6293
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
#6294
Da, v min i max bila oshibka pri rabote s raznimi tipami dannih. Ispravil, v 1.0.8 etoj problemi ne budet.
#6295
Hi!

Please replace file dbinit_mssql.sql with attached one and run nxconfig.exe again. It should initialize database properly.

Best regards,
Victor
#6296
General Support / Re: NXSL and DCI
November 19, 2010, 01:31:05 AM
Hi!

Fixed that, thank you!

Best regards,
Victor
#6297
General Support / Re: NXSL and DCI
November 17, 2010, 02:43:28 PM
Hi!

I have updated NetXMS user manual. Now it contains up-to-date information about all available NXSL functions and classes (Event, Node, and DCI). Also I have implemented NXSL function PostEvent (will be included in 1.0.8 release) which could be used to generate events on behalf of any node (according to security settings, as with FindNodeObject).

Best regards,
Victor
#6298
General Support / Re: Where to put the parser file?
November 17, 2010, 02:40:19 PM
Hi!

Parser file should be placed on the agent.

Best regards,
Victor
#6299
General Support / Re: NetXMS Server Crashing
November 17, 2010, 10:05:47 AM
Hi!

Last special build uses SO_REUSEADDR option - it makes no difference. As for MaxUserPort, things are different on Windows 2008 - http://support.microsoft.com/kb/929851. So by default we should have about 16000 ports for outgoing connections, which is much more then required.

Best regards,
Victor
#6300
General Support / Re: NetXMS Server Crashing
November 16, 2010, 11:01:32 PM
It also could be Windows 2008 issue. We have installation in Riga with 700+ agents - and I never seen issues like that. They are running on Windows Server 2003 x86.

Best regards,
Victor