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

#4081
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
#4082
В 1.2.10 я добавил драйвер для Ping3 - должен показывать интерфейс нормально, и находить SNMP без установки testoid. Кто-нибудь может подтвердить, что это работает?
#4083
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
#4084
Можно вывести в лог, функцией trace. Например так:

trace(0, "$2='" . $2 . "'");
#4085
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
#4086
Когда-то раньше 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";

#4087
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
#4088
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
#4089
General Support / Re: New interfaces
December 17, 2013, 08:24:45 AM
Hi!

NetXMS Server should detect new interfaces at configuration polls. By default configuration polling interval set to 1 hour. If new interfaces not detected after that, try to run configuration poll manually, and check output for possible errors.

Best regards,
Victor
#4090
File is correct. Check that you really download updated version: MD5 sum should be 72c21f88b19b74e5524b98ec8716828f. Maybe you are using proxy and got cached version for some reason?

Best regards,
Victor
#4091
Check that you have correct agent version. Run nxagentd.exe -v, you should get this:

NetXMS Core Agent Version 1.2.10 Build 7856

If build number is different, then you have to download correct version from web site. Also, maybe you'll need to do uninstall and then install from correct package.

Best regards,
Victor
#4092
General Support / Re: Data Collection
December 15, 2013, 10:33:35 AM
Hi!

There is a separate section in manual dedicated to data collection: https://www.netxms.org/documentation/adminguide/data-collection.html. Please read it first and feel free to ask any specific questions not covered in the manual.

Best regards,
Victor
#4093
Hi!

There was a bug in the installer which sets command line for service in the registry incorrectly. I've uploaded corrected version of the installer to the website. File name is the same, but agent should show build number 7856 in version information.

Best regards,
Victor
#4094
Нашел баг - инсталлер 1.2.10 прописывает неправильную командную строку для сервиса в registry. Выложил обновленный инсталлер на веб (имя файла не изменилось, но агент должен показывать билд 7856 в версии).
#4095
В версии 1.2.10 добавил две новые вкладки для подсетей - список узлов и карта адресов. Занятыми адресами считаются те, для которых есть обьект в NetXMS, т.е. корректные данные будут только при включенном network discovery.