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

#7486
General Support / Re: VB Scripts or BAT files
January 30, 2008, 12:57:03 PM
Hello!

Yes, you can, but you will need NetXMS agent running on a remote server. Configuration will consist from several steps:

1. On remote server, define an action in agent's configuration file (nxagentd.conf):

Action = MyAction:my_command.exe


or


ActionShellExec = MyAction:my_script.cmd


where MyAction is the name of your defined action - it will be used later in configuration.


2. In a threshold configuration, select event you wish to be sent when threshold is violated.

3. Define action on server - go to Control Panel -> Actions and create new action of type "Execute action on remote agent". In the remote host field, enter IP address of remote server or use %a macro - it will be expanded to the address of a host which generates the event. In an action field, enter name of the action defined on agent - MyAction in our example.

4. Add a rule to event processing policy - in events column add event you have selected on step 2, and in action column add action defined in step 3. Save the policy.

That's all. Now when threshold will be violated, your configured action will be executed on remote host.

Best regards,
Victor
#7487
Общие вопросы / Re: Unknown database syntax
January 29, 2008, 11:39:12 PM
Po rezul'tatam poiska v Internete, pohoze chto problema imenno v tom, chto FreeTDS draiver ne podderzivaet peredachu dannih klientu v UCS-2 (t.e. SQL_C_WCHAR binding). Nekotorie ssilki:

http://osdir.com/ml/db.tds.freetds/2004-05/msg00114.html
http://lists.ibiblio.org/pipermail/freetds/2006q2/020068.html

Edinstvennij variant reshenija problemi kotorij mne poka-chto prihodit v golovu eto sdelat' otdel'nuju versiju NetXMS ODBC draivera kotorij budet ispol'zovat' single-byte versii vseh funkcij.
#7488
Общие вопросы / Re: Unknown database syntax
January 29, 2008, 11:22:29 PM
Dejstvija pravil'nie, problema gde-to v softe.

nxdbmgr v soobschenii ob oshibke pishet znachenie DBSyntax kotoroe on prochital iz bazi, t.e. v nashem sluchae on poluchil pustuju stroku v otvet na zapros

SELECT var_value FROM config WHERE var_name='DBSyntax'


Vozmoznie problemi sledujuschie:
1. Kakoj-to bug v nashem ODBC draivere
2. Bug vo FreeTDS draivere - mi ispol'zuem UNICODE versii ODBC funkcij i SQL_C_WCHAR v SQLGetData - podderzivaet li ih FreeTDS?

Poprobuju pokopat' glubze...
#7489
Quote from: prx on January 25, 2008, 08:20:44 AM
Могу предостватить 3825 под тестирование :) Она у меня без дела в стойке стоит :)

Было бы здорово :) Можно к ней как-то организовать удаленное подключение?
#7490
Статус 2 означает down - может ли быть такое что по SNMP железка возвращает неправильные данные? Или может быть по какой-то причине изменились индексы интерфейсов?
#7491
Soglasen, v properties vozmozno bilo bi estestvennee.
#7492
A esli kliknut' na ob'ekte i vibrat' punkt comments - eto razve ne ono? :)
#7493
General Support / Re: connecting to the web server
January 29, 2008, 12:02:30 AM
First of all, check if nxhttpd process is running. If not, you can run it from console with -D switch to check for possible startup problems.

Best regards,
Victor
#7494
General Support / Re: password
January 29, 2008, 12:00:03 AM
Hello!

You can clear password field in database for user admin with the following SQL query:


UPDATE users SET password=' ' WHERE id=0


and restart NetXMS server. On startup, server will reset password for user admin to the default one - netxms.

Best regards,
Victor
#7495
General Support / Re: DATE fields in mysql database.
January 25, 2008, 06:50:11 PM
Hello!

All times in NetXMS database stored as UNIX timestamp - number of seconds passes since January 1, 1970 UTC. You can use MySQL function FROM_UNIXTIME() to convert them to other formats.
For idata_xx tables, xx is a node object ID - so each node have it's own idata table.

Best regards,
Victor
#7496
Общие вопросы / Re: Поиск
January 25, 2008, 10:13:51 AM
Нет :) Надо нажать Ctrl+F и появится строка поиска.
#7497
В стандартном interface MIB есть поле description - но оно содержит как правило имя интерфейса, например eth0. Насколько я понимаю, дополнительное текстовое описание - это специфичная для Cisco вещь, и доступна она скорее всего через Cisco MIB. Это тоже можно получать, я постараюсь найти соответствующее поле. Единственно - я не смогу это у себя протестировать, поскольку Cisco оборудования в пределах досягаемости пока нет.
#7498
Кстати, а как лучше делать - как глобальный параметр у сервера или индивидуальные настройки для каждого хоста?
#7499
General Support / Re: Some issues with netxms
January 23, 2008, 07:43:30 PM
Very strange... I use my laptop from different places without any problem. I'll try to reproduce this problem myself. Btw, mibs downloaded through the same connection from client to server port 4701.

Best regards,
Victor
#7500
Общие вопросы / Re: Object tools
January 23, 2008, 07:37:30 PM
Можно через Control Panel -> Object Tools. Единственно что пока нельзя создавать или редактировать табличные запросы, но в 0.2.20 это будет исправлено.