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 - Alex Kirhenshtein

#1066
General Support / Re: ECS.HttpMD5 or ECS.HttpSHA1 Timeout
September 07, 2009, 12:45:56 PM
Hi.

I've just checked — timeout is hardcoded in ECS subagent, and for unknown reason it's set to 1 second.

I've changed this to 30 seconds and will post recompiled binaries a bit later.
#1067
Hello.

You can use various macros in message text (e.g. %n — object name) when configuring action, check this link for complete list.
#1068
General Support / Re: wiki dont work
September 03, 2009, 11:19:32 PM
Thanks for report, I'll check this issue.
#1069
General Support / Re: Problem with agent netxms-0.2.27
August 03, 2009, 11:00:43 AM
Looks like agent is rejecting connections.

Check "Servers", "InstallationServers", "ControlServers", or "MasterServers" section in nxagentd.conf, one of this sections should contain IP address of your netxms server. For more information take a look at nxagentd.conf-dist

If nxagentd.conf is correct, verify that you can connect from your windows machine to linux server on port 4700 — if you can't, check firewall settings.

If both are correct, you can stop agent and start it with "-D" argument, this will enable debug output.
#1070
Try this:
LDFLAGS=-lm ./configure  --with-server --with-mysql --with-agent
#1071
Можно попробовать использовать какой-либо програмный коммутатор для порта. Я знаю про Xport, наверняка есть и другие варианты.
#1072
Дубовое решение:

@echo off

set server=%1
set target=%2

nslookup %target% %server% 2>&1 | find /i "can't find %target%:" >nul: && echo 1 || echo 0
[code]

принимает два параметра, dns server и hostname для проверки.
[/code]
#1073
Thanks for report, patch attached to this message.

To apply:

cd netxms-0.2.26/src/agent/subagents/freebsd
patch -p0 < /some/where/system.diff
#1074
Ага, замечательно. Будем смотреть.

Quote from: Akira on May 17, 2009, 04:45:20 PM
Проблему локализовал косвенно.
#1075
Очень интересный креш, деление на ноль в глубине WinSock (при том, что в socket() сложно передать некорректные данные):

[WS2HELP:71BF17F4]: WahInsertHandleContext
  [mswsock:71B24A16]: (function-name not available)
  [mswsock:71B24608]: (function-name not available)
  [WS2_32:71C03FD5]: WSASocketW
  [WS2_32:71C0416E]: socket
...


А за железом, на котором сервер работает, никаких странностей не наблюдалось?

Quote from: Akira on May 10, 2009, 06:25:49 AM
У меня и на 2.25 и на 2.26 сервис падает каждые 2-5 часов.

А была ли версия, которая не падала?
Если да — я попробую поймать проблему, просмотрев изменениях между версиями.
#1076
Quote from: testos on May 12, 2009, 12:53:46 PM
Any news about this?. Some information was certainly valuable.

Looks like we are out of luck on this, DB files are completely messed up (we lost most of the files open for writing after file system was screwed up in memory — and unfortunately, in case of forum it was messages table).

However, we learned our lesson and will copy significant answers to documentation draft (as well as already double-checked backup safety and integrity).
#1077
Встроенного нету, можно сделать через внешний скрипт.

Например так:
@echo off

set ret=0
dir %1: 2>NUL >NUL
IF ERRORLEVEL 1 SET ret=1

echo %ret%


Если диск есть — вернет 0, нету — 0.

В nxagentd.conf добавить примерно такое:
ExternalParameter = CheckDiskExist(*):c:\check.cmd $1

После этого можно мониторить параметр CheckDiskExist(G)
#1078
General Support / Re: priority support purchase
May 03, 2009, 12:22:00 PM
Hello.

Please check your mail now.
#1079
General Support / Re: priority support purchase
May 01, 2009, 08:08:43 PM
Hello.

Sorry for delayed answer, I'll check records and answer you today.
#1080
Announcements / Recent netxms.org server crash
April 30, 2009, 12:58:25 AM
Hello.

Recently, we experienced severe server crash (file system was messed up — exact case when hardware redundancy do not work), now it's reinstalled and restored — partially. Unfortunately, in a process of restore we found issues with latest database backup, therefore forum and bugtracker data are partially lost. However, we are working on recovering rest of the data (mostly forum)

Current situation is:

  • Bugtracker — all issues are available, user registrations lost
  • Forum — restored from backup dated 07 Feb 2009; messages are lost after this date, user registrations are intact

wbr, alex.