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

#1621
Я обычно делаю мониторинг разницы с сервером. Можно сделать DCI на параметр System.CurrentTime со скриптом трансформации


return $1 - time();


Он будет возвращать разницу во времени в секундах. Значение приблизительное, но сильное расхождение будет видно. Из практики можно ставить пороговое значение > -2 или < 2 - при нормальной синхронизации оно не сработает, только если расхождение действительно есть.
#1622
General Support / Re: Errors Starting 2.2.7
July 23, 2018, 11:33:03 AM
Hi,

so "show watchdog" actually shows empty list? Can you enter any command in nxadm after that?
Could you please create process dump for netxmsd.exe (using Task Manager) and provide it to us for debug?

Best regards,
Victor
#1623
Hi,

it's known issue (https://track.radensolutions.com/issue/NX-1463), not fixed yet. In the meantime you should use Tomcat 8 or Jetty.

Best regards,
Victor
#1624
Feature Requests / Re: node discovery poll
July 19, 2018, 10:45:38 AM
Just added new hook "DiscoveryPoll" - it will be available in 2.2.8.

Best regards,
Victor
#1625
Общие вопросы / Re: 2.2.6 и Juniper
July 19, 2018, 10:34:29 AM
Поведение системы действительно изменилось в версии 2.2.5 - до этого configuration poll на unmanaged нодах работал. Я проверил историю изменений - это было исправление для https://track.radensolutions.com/issue/NX-1420 - теперь сервер не пытается коммуницировать с нодами в состоянии unmanaged. Я думаю будет логично добавить в принудительный poll сообщение о невозможности опроса в таком состоянии чтобы исключить странное с точки зрения пользователя поведение системы.
#1626
General Support / Re: SNMP trap configuration
July 18, 2018, 11:47:42 PM
Currently it is only possible if you use "umatched trap" event. You can create event processing rule for that event and use the following script as action to generate new event with necessary data:


if (($event->parameters[1] == '.1.3.6.1.2.1.15.7.2') &&
    ($event->parameters[2] ~= "\\.1\\.3\\.6\\.1\\.2\\.1\\.15\\.3\\.1\\.14\\.([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)"))
{
   PostEvent($node, "BGP_PEER_DOWN", null, $1);
}


This will generate event BGP_PEER_DOWN (you have to define it) with peer address passed as parameter 1 (you can access it in message text via %1).

Best regards,
Victor
#1627
Общие вопросы / Re: 2.2.6 и Juniper
July 18, 2018, 11:36:26 PM
Так он же поставлен в "unmanaged" - поэтому собственно ничего и не опрашивается.
#1628
Общие вопросы / Re: 2.2.6 и Juniper
July 18, 2018, 10:01:50 PM
Да, и можно скриншот страничек Polling и Communications/SNMP из свойств ноды?
#1629
Общие вопросы / Re: 2.2.6 и Juniper
July 18, 2018, 09:58:07 PM
Сейчас обратил внимание, что в примере с nxsnmpwalk указана версия 1, а сервер выбрал 2c. Если в nxsnmpwalk указать версию 2c, тоже работает?
#1630
Общие вопросы / Re: 2.2.6 и Juniper
July 18, 2018, 09:21:22 PM
На самом деле добавилось:

2018.07.18 17:33:47.719 *D* Node::getInterfaceList(node=LAN1 [302091]): cannot create SNMP transport

И это очень странно. Сервер напрямую общается с устройством или через прокси?
#1631
Feature Requests / Re: node discovery poll
July 18, 2018, 09:18:56 PM
Actually, I made a mistake here. There are hook for topology poll (it's not created by default for some reason, should be called Hook::TopologyPoll), but not for discovery poll. I'll add discovery poll hook in next release.

Best regards,
Victor

#1632
Общие вопросы / Re: 2.2.6 и Juniper
July 18, 2018, 07:19:36 PM
Только что выложили 2.2.7. Для отладки как и перед этим включите уровень 6 перед началом configuration poll.
#1633
Announcements / NetXMS 2.2.7 released
July 18, 2018, 07:17:49 PM
Hi all!

NetXMS version 2.2.7 is out. Changes since previous release:

- "Convert to hexadecimal string" option for SNMP table columns
- Improved configuration wizard in Windows server installer
- New command line option /CONFIGENTRY in Windows agent installer
- New dashboard element "Object Details" (based on object queries)
- TCP proxy functionality
- Improved "Alarm Details" view in management console
- Added support for agent actions defined in external subagents
- TCP listener can be disabled in agent configuration file
- Push connector can be disabled in agent configuration file
- Virtual nodes detection via agent
- Basic BIOS and hardware platform information provided by Windows agent
- Fixed issues:
        NX-993 (Windows installer should honor current state of services during upgrade)
        NX-1438 (Increase debug level for thread pool messages)
        NX-1453 (Windows installer option to disable database upgrade)
        NX-1455 (Zone UIN in NXSL function CreateNode)
        NX-1456 (DCI values aggregated on cluster may be incorrect on first few polls after server startup)
        NX-1460 (Configure does not detect pthread_setname_np on macOS)
        NX-1464 (Agent connection via proxy is not working for IPv6 destinations)
        NX-1466 (Line length in agent's external table script limited to 255 characters)
        NX-1467 (Agent cannot process requests for parameters longer than 255 characters)

Best regards,
Victor
#1634
Feature Requests / Re: node discovery poll
July 18, 2018, 07:09:04 PM
This is simple hook script that sets attribute "lastDiscoveryPoll" to current time for all node's subnets:


for(o : GetObjectParents($node))
{
   if (o->type == 1)
   {
      SetCustomAttribute(o, "lastDiscoveryPoll", time());
   }
}


Best regards,
Victor
#1635
Feature Requests / Re: node discovery poll
July 18, 2018, 03:19:56 PM
I'm a bit lost - are we talking about hook script or about manually starting discovery poll? Hook script already exist - you can use it to update attributes on all subnets where current node belongs.

Best regards,
Victor