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

#3451
Feature Requests / Re: nxalarm - commands
September 22, 2014, 08:53:24 PM
Hi,

I've added commands add-comment and get-comments to nxalarm. They will be available in 1.2.17 release.

Best regards,
Victor
#3452
Quote from: VolanD on September 22, 2014, 06:12:14 AM
1) При добавлении cisco-роутера появляются его интерфейсы и даже модули появляются. Но как посмотреть графики загрузки эти интерфейсов? Или их нужно добавлять руками? Еще вопрос про смену индексов на циске, т.е. получается netxms не опрашивает таблицу интерфейсов периодически? А если у инт-са сменится ИП или появится новый интерфейс?

Конфигурация интерфейсов опрашивается во время configuration poll, по умолчанию раз в час. При необходимости можно сделать configuration poll принудительно, через меню Poll -> Configuration на ноде. Единственно, NetXMS сервер лучше работает если индексы не меняются, поэтому при возможности стоит зафиксировать их на роутере (snmp-server ifindex persist).
Данные по трафику на интерфейсах автоматически не собираются, можно добавить для любого интерфейса через меню на объекте интерфейса "Create data collection items". Если хочется настроить автоматический сбор данных со всех доступных интерфейсов, можно сделать это через instance discovery - на форуме были примеры.


Quote from: VolanD on September 22, 2014, 06:12:14 AM
2) Можно ли с консоли управления запустить какую-нить команду относительно хоста и увидеть результат ее выполнения. Например, запустить пинг с ИПом узла и увидеть результат.

Можно, это называется "object tools". Надо сделать новый tool (через Configuration -> Object Tools в главном меню) типа "execute local command", в команде написать например

ping %OBJECT_IP_ADDR%

и включить опцию "command generates output". После этого можно выбирать команду в меню Tools на ноде и видеть результат в консоли.

Quote from: VolanD on September 22, 2014, 06:12:14 AM
3) Можно ли собирать данные с скрипта, который запускает сам сервер относительно этого объекта и выводить их на график. Есть оборудование, на него нет возможности поставить агента, а по SNMP оно некоторые данные не отдает. Можно написать скрипт который будет вытаскивать эти данные, но как их скормить серверу?

Можно. Надо сделать  ExternalParameter для скрипта на агенте, работающем на сервере мониторинга. После этого добавить параметр с источником "NetXMS agent" на ноде роутера, указать имя из ExternalParameter, и указать ноду сервера как "proxy node". Надо будет либо добавить ноду роутера в список trusted nodes у ноды сервера, либо выставить конфигурационный параметр CheckTrustedNodes в 0.
#3453
Hi,

I suppose that new line characters is the problem. I doubt that command line parser can handle them even inside quotes. Try to form message without new lines. If it helps, you can pass some other characters to indicate new lines and replace them in your script before sending SMS.

Best regards,
Victor
#3454
Hi,

I think that easiest way would be to monitor sysUpTime parameter and generate event of it is less than specific value or less then previous value. To do so, add new DCI with source set to SNMP and SNMP OID set to .1.3.6.1.2.1.1.3.0 (see attached scan). Then set threshold like "last value is less then 3000" (choose value appropriate for you) and set activation event to SNMP_REBOOT. It will fire if system uptime is less than 300 seconds (note that we use value 3000, because system uptime expressed in hundredths of a second), which means that device was just restarted. Threshold configuration screenshot is on attached scan.

Best regards,
Victor

#3455
Hi,

"%m" should work, although I didn't test it specifically with powershell scripts. When I test it with the following cmd script:


@echo off
echo %2 >> c:\temp\cmd.log


and action configured as

c:\\temp\\test.cmd parameter_1 "%m"

file c:\temp\cmd.log contains records like

"Node status changed to UNMANAGED"

Note that cmd script interprets " as part of parameter. Can you create a simple powershell script which will just log all command line parameters it got?

Best regards,
Victor
#3456
Hi,

can you provide a link to those MIBs that cannot be compiled? Also, do you have core file from nxdbmgr crsh? It can help fixing the issue.

Best regards,
Victor
#3457
Those for binaries are from client component. Are you sure you specify --with-client command line option when do 1.2.16 build?

Best regards,
Victor
#3458
General Support / Re: Monitor HP ESXi Hardware
September 12, 2014, 06:44:33 PM
Hi,

you probably could do this via ESXi SNMP agent. VMWARE-ENV-MIB seems to provide status of physical components. What exact information is available probably depends on actual server model. I don't have any ESXi system available for test in my office, so I cannot confirm it 100%.

Best regards,
Victor
#3459
General Support / Re: Syslog from source <unknown>
September 11, 2014, 03:56:42 PM
Hi,

please try to seplace existing syslogd.cpp with attached one. It should look for node by source IP first.

Best regards,
Victor
#3460
Общие вопросы / Re: SNMP v3 context
September 10, 2014, 09:49:18 AM
Планируем в течении одной-двух недель выпустить 1.2.17.
#3461
Hi,

I was able to reproduce this problem on my system and found the bug causing it. I'll fix it till next release.

Best regards,
Victor
#3462
General Support / Re: segfault netxmsd crash
September 09, 2014, 08:34:53 PM
Hi,

it seems that it is update of IP topology network map. I'll take a look at it.

Best regards,
Victor
#3463
Общие вопросы / Re: SNMP v3 context
September 09, 2014, 07:08:07 PM
В данный момент контекст для устройства задать нельзя (хотя SNMP библиотека его поддерживает). Я постараюсь добавить к следующему релизу. А как используются в вашем случае контексты - один на устройство или разные данные читаются из разных контекстов?
#3464
General Support / Re: invalid network mask
September 09, 2014, 06:47:22 PM
Hi,

you can disable or remove event processing rule for SYS_INVALID_NETMASK event altogether, or add this particular node as an exclusion. I've also registered it as a bug (https://www.radensolutions.com/chiliproject/issues/646) because it is normal situation to have /32 network mask on tunnel interface and server should not report it.

Best regards,
Victor
#3465
General Support / Re: segfault netxmsd crash
September 09, 2014, 06:42:48 PM
Hi,

when system will be on 100%, please attach to netxmsd process with gdb and send me result of command

thread apply all bt

Best regards,
Victor