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

#2911
Общие вопросы / Re: Network Maps и status
September 08, 2015, 05:41:02 PM
Можно любое имя выбрать для атрибута - как-то специально описывать их не надо.
#2912
Общие вопросы / Re: ssmtp send email
September 08, 2015, 05:39:21 PM
Возможно стоит добавить кавычки вокруг %m?
#2913
Общие вопросы / Re: fdb vlan object tool
September 08, 2015, 05:37:59 PM
Т.е. сводится все к тому, чтобы открыть Topology - Switch forwarding database через object tools?
#2914
Hi,

for historical reasons events generated by threshold violation and threshold rearm has parameters in different order. They are modelled by SYS_THRESHOLD_REACHED and SYS_THRESHOLD_REARMED events respectively - you can check descriptions for parameter list. Also, you can use named parameters: dciName, dciDescription, thresholdValue, currentValue, dciId, instance, isRepeatedEvent - so for example you can replace %4 with %{currentValue} in threshold violation event processing.

Best regards,
Victor
#2915
Hi,

so ultimately you only need some mark that MS SQL is running on node to be able to apply templates? Then it could be accomplished much easier using configuration poll hook:

1. Create script in script library named Hook::ConfigurationPoll like this:


if ($node->isAgent)
{
   state = AgentReadParameter($node, "System.ServiceState(mssqlserver)");
   if (state == 0)
   {
      SetCustomAttribute($node, "sqlServer", "true");
   }
}


it will set custom attribute sqlServer to true if service is running. Please note that service name might be different, I cannot remember correct name for SQL Server service.

2. To auto apply templates, use the following auto-apply filter script:


return GetCustomAttribute($node, "sqlServer") == "true";


Best regards,
Victor
#2916
Announcements / Re: NetXMS 2.0-RC1 released
September 08, 2015, 09:45:12 AM
Hi,

object tools of type "server command" had always expanded macros on server side, and use event processing macros (https://www.netxms.org/documentation/adminguide/event-processing.html#macros-for-event-processing). Starting with 2.0-RC1, all other object tools with macros (local command, agent action, URL) uses as close as possible macros, with the following exceptions:

%A and %m expands to alarm message when tool executed from alarm;
%c expands to source event code when tool executed from alarm;
%N expands to source event name when tool executed from alarm;
%s expands to alarm's severity when tool executed from alarm;
%S expands to alarm's severity as text when tool executed from alarm;
%U expands to user name (of currently logged in user);
%y expands to alarm state code when tool executed from alarm;
%Y expands to alarm ID when tool executed from alarm;
%(...) expands to value of appropriate input field

Macros %u, %t, %T, %M, %[...], %{...}, %1...%99 are not supported.

Best regards,
Victor
#2917
General Support / Re: Gauge size adjustment
September 03, 2015, 02:15:53 PM
Hi,

you have configured vertical span incorrectly - it should be 1 for all three gauges.

Best regards,
Victor
#2918
Общие вопросы / Re: with IPV6
September 03, 2015, 11:56:07 AM
а сделайте:

cd /usr/include
grep -r AF_INET6 *

что выдаст?
#2919
SYS_NODE_DOWN может не быть если SNMP отвалился, но на ping коммутатор уже ответил. Тогда сервер считает, что проблема только с SNMP агентом.
#2920
А лог сервера пишется? Если нет, попробуйте поставить debug level 6 или выше, и пришлите лог сервера от получения ивента до генерации аларма.
#2921
Общие вопросы / Re: Syslog IPv6
September 03, 2015, 11:42:33 AM
Пока не поддерживается. Я добавлю в следующем релизе.
#2922
Feature Requests / Re: System location and contact
September 03, 2015, 08:54:08 AM
Hi,

we can add those in next release.

Best regards,
Victor
#2923
Actually, when upgrading installer is supposed to keep whatever installation directory was specified during initial installation. What was initial version and what version you are using for upgrade? As for alternate config file location, currently it's not possible to set it in installer, but symlinks should work.

Best regards,
Victor
#2924
General Support / Re: libnxclient missing
September 03, 2015, 08:30:37 AM
Into NetXMS bin directory, where all other NetXMS exe and dll resides.

Best regards,
Victor
#2925
Общие вопросы / Re: Node Bridge Base Address
September 01, 2015, 04:15:31 PM
Сейчас такого атрибута у объекта ноды нет. Я добавил в 2.0-RC2 атрибут bridgeBaseAddress.