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

#4096
Общие вопросы / Re: IBM Director
December 28, 2013, 04:43:02 PM
Quote from: Svlel on December 28, 2013, 03:04:01 PM
Перечитав множество rtfm понял - без IBM system director агента до сенсоров не добраться (у HP всё точно так же...).

А через iLO на HP или RSA на IBM разве нельзя получить информацию с сенсоров?
#4097
Общие вопросы / Re: stack chart
December 28, 2013, 11:09:23 AM
Quote from: glebofff on December 27, 2013, 04:47:07 AM
Пока второй день дрючу ковыряю Eclipse. После Idea жутковато. Хотя бы запустить консоль уже было бы достижением, потому что с зависимостями я там потерялся совсем.

А на какой платформе? Я могу прислать уже настроенный эклипс если это Windows x64 или Linux x64.
#4098
Общие вопросы / Re: stack chart
December 28, 2013, 11:08:04 AM
Я сделал поддержку "stacked" графиков в 1.2.11 (планируется как patch release в конце декабря или начале января).
#4099
General Support / Re: nxapush through a proxy
December 20, 2013, 03:32:20 PM
Hi!

I suppose it's just not supported. I'll check code a bit later. Please remind me if I forgot about this :)


Best regards,
Victor
#4100
General Support / Re: Subnet Deleted - Flooding Events
December 20, 2013, 03:31:23 PM
Hi!

It's a bug in 1.2.10 - you got lots of such events for each object deletion. It's harmless, just annoying. To prevent excessive number of records in event log, go to event configuration and uncheck "write to event log" option for SYS_SUBNET_DELETED event. We plan to release version 1.2.11 in the end of december which will fix some important issues in 1.2.10. If problem is serious, I can provide a patch for 1.2.10 as well.

Best regards,
Victor
#4101
println выводит данные на консоль, ее имеет смысл использовать либо в тестовых скриптах, которые запускаются из nxscript, либо в скриптах, которые запускаются из дебаг консоли сервера командой exec.
#4102
General Support / Re: problem with agent
December 19, 2013, 01:46:58 PM
Hi!

Replace InstallationServers with MasterServers, then it should work. Looks like a bug in the installer - what version you are using?

Best regards,
Victor
#4103
Hi!

NetXMS server can use dot1qTpFdbTable (.1.3.6.1.2.1.17.7.1.2.2) from Q-BRIDGE-MIB or dot1dTpFdbTable (.1.3.6.1.2.1.17.4.3) from BRIDGE-MIB.

Best regards,
Victor
#4104
В 1.2.10 я добавил драйвер для Ping3 - должен показывать интерфейс нормально, и находить SNMP без установки testoid. Кто-нибудь может подтвердить, что это работает?
#4105
Hi!

Drivers could help if topology information is available from devices, but not via standard MIBs. If you can check that switch forwarding database is available via some device specific MIBs than it will be possible to create a driver.

Best regards,
Victor
#4106
Можно вывести в лог, функцией trace. Например так:

trace(0, "$2='" . $2 . "'");
#4107
Quote from: enp on December 18, 2013, 02:01:47 PM
Спасибо! Я верно понимаю, все возможные параметры к событиям описаны в Configuration -> Event configuration?

да, верно.

Quote from: enp on December 18, 2013, 02:01:47 PM
И вопрос о запуске скриптов вручную по-прежнему актуален.

Для проверки обработки событий можно исскуственно создавать события при помощи команды nxevent. Например, для отсылки SYS_IF_DOWN команда может выглядеть так:

nxevent -u admin 192.168.64.1 5 101 eth0 10.10.10.2 255.255.255.0 1
#4108
Когда-то раньше main() был обязателен, теперь уже нет. Но старая форма все равно поддерживается.

Еще можно использовать регулярные выражения, например так:


return $event->message ~= ".*Interface \"Vi.*";


Ну и если речь идет о событиях SYS_IF_UP и SYS_IF_DOWN, то имя интерфейса передается как параметр номер 2, и можно сравнивать только его (тогда условие не будет зависеть от того, что текст сообщения поменяют в шаблоне):


return $2 like "Vi*";


или


return substr($2, 1, 2) == "Vi";


ну и если в названии могут быть прописные и строчные буквы:


return upper(substr($2, 1, 2)) == "VI";

#4109
General Support / Re: Data Collection
December 18, 2013, 01:17:34 PM
Hi!

For generic step by step instruction on configuring data collection and notification, you can read this tutorial: http://wiki.netxms.org/wiki/How_to_send_e-mail_notification_when_disk_space_is_low. You only will need to change parameter you are monitoring. For monitoring new files in directory, you can use parameter File.Count, like this:

File.Count(/tmp)

will get total number of files in /tmp directory. If you need count files by mask, you can add pattern as second argument, like this:

File.Count(/tmp,ssh*)

will get number of files with names starting with "ssh" in /tmp directory.

Best regards,
Victor
#4110
Hi!

Seems that there are still connection to server netxms2. Also, due to bugs in the import, it may be blocked on itself - ensure that you have closed event processing policy, event configuration, and snmp trap configuration views in console where you are doing import.

Best regards,
Victor