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

#3811
General Support / Re: DCIs System.AntiVirus broken
April 09, 2014, 07:10:22 PM
I don't work much with Windows lately, so I miss this fact. Yes, 1 is ok and 0 is not ok (not running or not up to date). I'll check if it is possible to get antivirus and firewall state via WMI on Windows Server.

Best regards,
Victor
#3812
General Support / Re: DCIs System.AntiVirus broken
April 09, 2014, 03:11:24 PM
Hi!

Can you check with some WMI tool that namespace root\SecurityCenter2 is available and that user agent is running under can access it?

Best regards,
Victor
#3813
General Support / Re: DCIs System.AntiVirus broken
April 09, 2014, 02:13:58 PM
You can try attached subagent.

Best regards,
Victor
#3814
Это можно проигнорировать. Достаточно из src/libnetxms сделать make install.
#3815
Это нужно исправлять alarm notifier. В сервере исправили ошибку с проверкой неактивных сессий - теперь alarm notifier отваливается, поскольку не шлет keepalive.
#3816
Какие-то устройства он похоже не может открыть. К сожалению русские тексты ошибок заменились на ???:

[03-Apr-2014 10:29:00.130] [DEBUG] UPS: CreateFile failed (???????? ? ???????.)
[03-Apr-2014 10:29:00.130] [DEBUG] UPS: CreateFile failed (???????? ? ???????.)
[03-Apr-2014 10:29:00.130] [DEBUG] UPS: SetupDiEnumDeviceInterfaces failed (?????????????? ?????? ???????????.)

Подозреваю что это "access denied".

Я добавил вывод имени устройства и поменял немного вызов на открытие устройства. Попробуйте приложенный субагент.
#3817
Попробуйте заменить src/libnetxms/tools.cpp на приложенный и пересобрать.
#3818
А в логах агента есть что-нибудь? Попробуйте еще собирать UPS.ConnectionStatus - как он будет меняться?
#3819
Сервер собран из исходников или поставлен из пакета? У меня есть подозрение на то, что использование gethostbyname при нескольких потоках может вызвать такой эффект. Если собран из исходников, то я могу выложить патч для проверки.
#3820
Hi!

Can you please run it under gdb and provide stack trace?

Best regards,
Victor
#3821
General Support / Re: Duplicate Nodes
April 09, 2014, 11:00:57 AM
Hi!

It could be because of buggy SNMP agent on blade center for example. Unfortunately I didn't get access to IBM blade center so far. Can you please send me results of SNMP walk on blade center management modules for OIDs .1.3.6.1.2.1.1 and .1.3.6.1.2.1.2?

Best regards,
Victor
#3822
Just to clarify - NetXMS uses UNIX time (number of seconds sisnce January 1, 1970 00:00:00 UTC). Only when timestams are displayed they converted to client's time zone. Client and server can be in different time zones, but UTC time must be correct on both. Client will always show time converted to it's time zone.

Best regards,
Victor
#3823
General Support / Re: Components tab
April 09, 2014, 10:55:42 AM
Components information collected during configuration polls and kept in server memory. I can provide access to it via NXSL scripts - then you'll be able to create configuration poll hook and change comments from components information.

Best regards,
Victor
#3824
General Support / Re: Agent Deployment
April 09, 2014, 10:54:30 AM
That could mean that installer cannot overwrite one of the files. It could happen if event viewer is open for example - it opens nxagentd.exe to read messages. If you manually start installer uploaded by server to file store directory it runs without problem?

Best regards,
Victor
#3825
General Support / Re: DCIs System.AntiVirus broken
April 09, 2014, 10:51:52 AM
Hi!

It seems to be working on my system:


C:\Source\NetXMS\x64\debug>nxget -e0 127.0.0.1 system.AntiVirusProduct.Active
1

C:\Source\NetXMS\x64\debug>nxget -e0 127.0.0.1 system.AntiVirusProduct.DisplayName
Microsoft Security Essentials

C:\Source\NetXMS\x64\debug>nxget -e0 127.0.0.1 system.AntiVirusProduct.UpToDate
1

C:\Source\NetXMS\x64\debug>


I've added additional debug to the agent to determine why it fails. I can provide you with intermediate agent build if you wish to test it.

Best regards,
Victor