News:

We really need your input in this questionnaire

Main Menu
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

#946
*) проверьте, что модем отвечает на этом порту (используя HiperCom, скажем) — он как минимум должен отвечать на команду AT
*) проверьте в server config значения: SMSDriver и SMSDrvConfig.
Значение для SMSDriver должно быть "generic.sms", SMSDrvConfig — имя порта (например "COM1:")
*) Если драйвер не загрузится, попробуйте указать полный путь (т.е. SMSDriver = "c:\netxms\bin\generic.sms"), хотя это и не должно требоваться.

*) проверьте, что через этот модем можно отсылать сообщения в text mode. В HyperCom-е дайте модему комманды:

ATZ
AT+CMGF=1
AT+CMGS="+37112345678"
message text^Z


на все комманды, кроме AT+CMGS, модем должен ответить "OK".
на AT+CMGS ответ должен быть ">"
^Z — нажать ctrl-z
#947
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.
#948
Hello.

You can use various macros in message text (e.g. %n — object name) when configuring action, check this link for complete list.
#949
General Support / Re: wiki dont work
September 03, 2009, 11:19:32 PM
Thanks for report, I'll check this issue.
#950
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.
#951
Try this:
LDFLAGS=-lm ./configure  --with-server --with-mysql --with-agent
#952
Можно попробовать использовать какой-либо програмный коммутатор для порта. Я знаю про Xport, наверняка есть и другие варианты.
#953
Дубовое решение:

@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]
#954
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
#955
Ага, замечательно. Будем смотреть.

Quote from: Akira on May 17, 2009, 04:45:20 PM
Проблему локализовал косвенно.
#956
Очень интересный креш, деление на ноль в глубине 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 часов.

А была ли версия, которая не падала?
Если да — я попробую поймать проблему, просмотрев изменениях между версиями.
#957
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).
#958
Встроенного нету, можно сделать через внешний скрипт.

Например так:
@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)
#959
General Support / Re: priority support purchase
May 03, 2009, 12:22:00 PM
Hello.

Please check your mail now.
#960
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.