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

#7246
Hi!

It is possible, but only with custom filter script. You should create a new script in script library and then enter it's name in network discovery properties. Script receives object with new node information as first parameter and should return non-zero if node should be added to database and 0 otherwise. For example, script that will allow to discover only SNMP devices, but not in subnet 10.0.0.0/24, can looks like following:


sub main()
{
   return $1->isSNMP && (!AddrInSubnet($1->ipAddr, "10.0.0.0", "255.255.255.0"));
}


Full list of node object attributes (mostly self-explaining):

ipAddr
netMask
subnet
isAgent
isSNMP
isBridge
isRouter
isCDP
isSONMP
isLLDP
snmpVersion
snmpOID
agentVersion
platformName


Btw, you can filter out printers by checking SNMP OID in filter script.

Best regards,
Victor
#7247
Это не работает на default карте - она строится системой автоматически. Надо сначала сделать свою карту (Через Control Panel -> Maps).
#7248
Похоже что баг. Буду проверять.
#7249
Общие вопросы / Re: SNMP + switch
May 23, 2008, 05:02:33 PM
Просто не успел до этого добраться, времени дико не хватает... Спасибо, вставлю в основной код. :) Решение абсолютно правильное.

#7250
У меня была похожая проблема, правда на AIX'e - причина в том, что линкер сначала берет библиотеки от предыдущей версии из /usr/local/lib, где каких-то функций может не быть. Решений два - либо удалить сначала все NetXMS библиотеки из /usr/local/lib, либо сразу делать make install - тогда каждая библиотека сразу после компиляции будет заменять старую.
#7251
Будет обязательно. Не могу только сказать когда :) В принципе карты можно делать уже сейчас, только все руками притдется расставлять. Автоматом строится только карта с маршрутизаторами и линками между ними.

#7252
В случае USB:


Device = 0:ANY:USB


Если устройст несколько, то вместо ANY надо указывать его серийный номер.

Агент перезапускать надо. Если редактировать конфиг через консоль, то при закрытии редактора выбрать Save & Apply - тогда сервер сам даст команду агенту на рестарт.
#7253
General Support / Re: NetXMS server queues?
May 23, 2008, 11:28:18 AM
Currently it looks normal (except for DCI queue time peak - it can be caused by high CPU load at the moment or excessive number of simultaneous polls - you should watch if it will happen again). In any case, single peak is not an indicator of problem - problem is when these parameters instantly high.

For performance - from my experience, MSSQL performs better on large database. But maybe I just don't know how to tune MySQL...

Best regards,
Victor
#7254
Could you please send me configuration of all 4 DCIs and thresholds, and historical data for them?

Best regards,
Victor
#7255
Currently there are no better solution. In next release, I'll add some kind of "ignore for topology" attribute. I didn't decide yet how it should be implemented - as global subnet exclusion list or interface exclusion list for node, or even interface object's attribute. What way you would prefer?

Best regards,
Victor
#7256
Надо сначала настроить агента. В конфиге агента надо добавить записи о каждом устройстве в секции UPS, например:


*UPS

Device = 0:"COM1:":APC


Первое поле - это индекс устройства, он потом используется как instance в DCI. Второе поле - порт. Третье - протокол. Варианты протоколов - APC, BCMXCP, MICRODOWELL.
Протокол BCMXCP используется устройствами производства HP, PowerWare, возможно кем-то еще.
#7257
Уточнение - надо создавать аларм из события, которое было создано из трапа. Т.е. цепочка такая:

SNMP Trap -> Event -> Alarm
#7258
Общие вопросы / Re: event_log
May 21, 2008, 01:05:28 PM
Вообще-то такая проверка там есть, и такой ситуации быть не должно. А проблема точно в одинаковых id? Кстати версия 0.2.21 теперь пишет и текст ошибки которую вернул SQL сервер, будет легче такие ситуации разбирать.
#7259
Можно будет сделать. Приму к сведению.
#7260
General Support / Re: Black Graph
May 21, 2008, 01:00:42 PM
Unfortunately I cannot reproduce this problem myself. Is it only for PDF printer or for physical printer too? About crash when copying to clipboard - is final 0.2.21 console affected as well?

Best regards,
Victor