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

#901
Общие вопросы / Re: Syslog
August 12, 2013, 12:01:34 PM
View -> Syslog.
Пример, как работать с log viewer-ом: Youtube
#902
Проверьте, что запущен сервис "NetXMS Core".
Если нет – проверьте структуру базы, возможно вы не выбрали в инсталлере "Initialize databse":
* Start -> Run -> cmd
* c:\netxms\bin\nxdbmgr check

Если база пустая (ошибка вида DB version 0)
* Start -> Run -> cmd
* c:\netxms\bin\nxdbmgr init c:\netxms\lib\sql\dbinit_pgsql.sql
* c:\netxms\bin\nxdbmgr check
* net start "netxms core"
#903
Похоже, что сервер не успевает обрабатывать события (принимает их отдельный поток, с своей отдельной очередью) - или не успевает писать в базу. Будем смотреть, где тормозит.
#904
General Support / Re: Another Procurve 5406 Issue
August 09, 2013, 07:41:41 PM
Are you sure that community is correct and IP is in the list of allowed (e.g. NAT, multiple interfaces)?
Can you please provide dump of snmp traffic between netxms and the switch? Output of "tcpdump -i INTERFACE -n -vv udp port 161 and host SWITCH_IP" should be sufficient.
#905
I did some changes which could resolve this issue, and will push test build to the web later today.
#906
Общие вопросы / Re: Syslog
August 09, 2013, 11:46:18 AM
Если включен syslog collector (параметр сервера "EnableSyslogDaemon"), то все события пишутся в базу, в таблицу "syslog".
Глубина настраивается параметром "SyslogRetentionTime", по умолчанию – 90 дней.
Параметры сервера можно менять через консоль, Configuration → Server Configuration
#907
Configuration -> Object Tools -> Right Click на списке -> New.
Имя - "SSH", Tool Type - "Local Command".
После нажатия "ok" откроется окно Properties.
В поле "Command" пропишите команду, с макросом %OBJECT_IP_ADDR%.
Примеры команды:
Windows: putty %OBJECT_IP_ADDR%
Mac OS: open ssh://%OBJECT_IP_ADDR%

Доступные макросы: %OBJECT_IP_ADDR%, %OBJECT_NAME%, %OBJECT_ID%
#908
General Support / Re: Agent
August 06, 2013, 02:45:40 PM
Check sample config: https://svn.netxms.org/public/netxms/trunk/contrib/nxagentd.conf-dist

Minimal configuration file:
MasterServers=10.0.0.01
LogFile=/var/log/nxagentd
#909
Система - 32бита?

Попробуйте собрать так:
CPPFLAGS="-march=pentium" ./configure --with-server --with-mysql --with-agent --disable-lmsensors --with-internal-libtre
make -j2 clean all
#910
General Support / Re: ERROR
July 31, 2013, 11:35:51 AM
What version of nxmc you are using?
Try to run "nxmc -clean"
#911
Hello.

1) Check that all Jetty's are stopped
2) Remove all "jetty-*-nxmc.war-*" folders from C:\Windows\Temp\
3) Try to start service once again.
#912
Общие вопросы / Re: auto set unmanaged
June 26, 2013, 12:23:25 PM
В Script Library можно добавить скрипты:
Hook::StatusPoll
Hook::ConfigurationPoll
Hook::TopologyPoll

В этих скриптах доступна переменная $node
#913
Could you please provide backtrace for updated version? ("backtrace" should be enough, with "thread apply all ...")
#914
My bad, file was from upcoming 1.2.8. Correct version (1.2.7 based) attached.
#915
Try attached version of the file (it's already patched).