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

#2926
PM sent.

Best regards,
Victor
#2927
General Support / Re: Manually build alert dependencies
September 10, 2015, 07:09:53 PM
Hi,

you can create VPN connector objects to match your VPN topology - then NetXMS server will know that remote network is behind VPN gateway and will correlate gateway down event properly.

Best regards,
Victor
#2928
General Support / Re: Parser questions
September 10, 2015, 07:06:49 PM
Hi,

I suppose you are talking about server side syslog parser. Seems like a bug, I'll check.
But anyway, I don't see how invert will help you - I suppose you'll need two rules anyway: first rule will match "xyz" and stop processing, and second rule will match "abc" and do what is needed.

Best regards,
Victor
#2929
General Support / Re: Upgrade server?
September 10, 2015, 06:59:00 PM
Hi,

there is installation guide, outdated, but still mostly valid: https://wiki.netxms.org/wiki/Server_Installation_Guide. Check upgrade section. If you monitor only SNMP devices, then you don't need agent packages. You'll have to download appropriate server package and upgrade server. Then you'll need new managemet console (if you are using desktop version) and/or new web UI package if you are using it.

Best regards,
Victor
#2930
Yes, it should pick correct location then. Also, you can set config file location in registry by setting: HKLM\Software\NetXMS\Agent\ConfigFile (and optionally HKLM\Software\NetXMS\Agent\ConfigIncludeDir).

Best regards,
Victor
#2931
По подтверждению - как workaround можно в текст добавить макрос %n, например:

Are you sure to execute this on node %n?
#2932
Общие вопросы / Re: Network Maps и status
September 08, 2015, 05:41:02 PM
Можно любое имя выбрать для атрибута - как-то специально описывать их не надо.
#2933
Общие вопросы / Re: ssmtp send email
September 08, 2015, 05:39:21 PM
Возможно стоит добавить кавычки вокруг %m?
#2934
Общие вопросы / Re: fdb vlan object tool
September 08, 2015, 05:37:59 PM
Т.е. сводится все к тому, чтобы открыть Topology - Switch forwarding database через object tools?
#2935
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
#2936
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
#2937
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
#2938
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
#2939
Общие вопросы / Re: with IPV6
September 03, 2015, 11:56:07 AM
а сделайте:

cd /usr/include
grep -r AF_INET6 *

что выдаст?
#2940
SYS_NODE_DOWN может не быть если SNMP отвалился, но на ping коммутатор уже ответил. Тогда сервер считает, что проблема только с SNMP агентом.