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

#3811
General Support / Re: Multiple Polling and alerts
March 31, 2014, 11:45:13 AM
Hi!

You probably need to show your event processing policy. I suppose there is a flaw in event processing logic.

Best regards,
Victor
#3812
General Support / Re: < < ERRROR > > Notification
March 31, 2014, 11:43:22 AM
You can add special threshold type "data collection error" on DCIs where you want to detect collection errors.

Best regards,
Victor
#3813
Hi!

There are different functionality in NetXMS that is called proxy. One is agent proxy - when one agent used as a proxy to connect to another agent - this functionality you don't need. What you need is "proxy node" in DCI configuration - it allows you to configure DCI on one node but specify that real data collection will occur on another (proxy) node. In your case you will configure agent DCIs on ESX node and set proxy node to some ode with agent which can really collect this data. Don't forget to add ESX nodes to the list of trusted nodes on collecting node or disable trusted nodes check altogether.

Best regards,
Victor
#3814
Quote from: scuq on March 31, 2014, 02:05:45 AM
if (AddrInSubnet($node->ipAddr, "10.16.0.0", "255.255.0.0")) {
return;
}


is this valid syntax?

Syntax is valid, but depending on context (for example if you are writing a filter script) you may need to return TRUE or FALSE instead of null value.

Best regards,
Victor
#3815
Then to clear flag you can use the following construct:


  newFlags = node.getFlags() & ~Node.NF_DISABLE_NXCP
  #newFlags = node.getFlags() & ~(Node.NF_DISABLE_NXCP | Node.NF_DISABLE_SNMP)
  md = NXCObjectModificationData(node.getObjectId())
  md.setObjectFlags(newFlags)
  session.modifyObject(md)


Best regards,
Victor
#3816
Можете подцепить gdb к процессу и сделать stack trace всех потоков?
#3817
А Windows английский или русский? Попробуйте запустить агента как сервис с дебагом и посмотреть PDH ошибки в логе.
#3818
Announcements / Re: NetXMS 1.2.13 released
March 31, 2014, 11:29:29 AM
Quote from: raypetter on March 29, 2014, 11:50:16 PM
Victor, please update the postgresql package so that it does NOT depend on postgresql 8.4

Most of us are running 9.1 and newer. For every update I need to extract the package and remove/update the package dependency (DEBIAN/control).

Thanks

I've changed dependency for Debian 7 package. Next release should be ok.

Best regards,
Victor
#3819
Hi!

If you can disable SNMP (by setting appropriate bit flag), then you can enable it back by clearing same bit flag. If you show me the code I probably will be able to suggest how to change it so it will work.

Newly discovered nodes comes with all communication channels enabled. They are checked on each configuration poll to detect any changes. System cannot predict why SNMP is not responding for example - vecause it is not enabled and never will, or because of misconfiguration, or it will e enabled next day.

With latest patches (that will be part of 1.2.14 release) it is also possible to disable let say SNMP for each new discovered node using NXSL script called on SYS_NODE_ADDED event.

Best regards,
Victor
#3820
Маленькое дополнение - в 1.2.13 починили HTTPS в portcheck субагенте, теперь ServiceCheck.HTTPS тоже будет работать.
#3821
А можно включить debug 6 (не останавливая сервер) и прислать мне кусок лога за минут 5-10. Плюс результат команд на дебаг консоли сервера

sh q

sh po
#3822
Выложил еще одну версию по тому-же адресу - попробуйте.
#3823
Пришлите пожалуйста результат SQL запроса

SELECT transformation FROM items WHERE transformation is not null AND transformation<>'';
#3824
General Support / Re: show object details
March 26, 2014, 12:19:35 PM
Hi!

Just test it and got object details for map itself (which is also wrong but in a different way). Will check it later.

Best regards,
Victor
#3825
Currently this is very limited. You can use macros in templates - these macros will be expanded when template applied to nodes. This can be useful if you create template and need to pass IP address or node name to parameter after it was applied to node. Here is short description for template macros: https://www.netxms.org/documentation/adminguide/data-collection.html#macros-in-template-items

Best regards,
Victor