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

#2341
General Support / Re: nxshell snmp vaules
September 28, 2016, 06:06:29 PM
Hi,

you can use call NXCSession.queryParameter. For example, to query system description from node with id 178:


print session.queryParameter(178, DataCollectionObject.SNMP, ".1.3.6.1.2.1.1.1.0")


Best regards,
Victor
#2342
General Support / Re: How to setup webproxy for NetXMS
September 28, 2016, 05:56:36 PM
Problem with geo maps in web UI is that they actually downloaded by application server, not by client browser. You can set HTTP proxy settings for application server's JVM (for example, by adding -Dhttp.proxyHost=host -Dhttp.proxyPort=port to JVM command line in application server startup script).

Best regards,
Victor
#2343
General Support / Re: ping test to mikrotik
September 28, 2016, 05:49:14 PM
Ping subagent should help - https://www.netxms.org/documentation/adminguide/icmp-ping.html. Alternatively, you can just add Mikrotik device to NetXMS as node and set required poll count for status change to 10 on all interfaces or globally - then node will be marked as down if 10 consecutive polls will fail.

Best regards,
Victor
#2344
General Support / Re: Net.interface changed to UNSUPPORTED
September 28, 2016, 05:47:15 PM
Hi,

does it support Net.Interface.BytesOut(Ethernet)?

Best regards,
Victor
#2345
General Support / Re: interface id on state change
September 28, 2016, 05:46:25 PM
Hi,

You can use custom attribute or comment field on interface. The only trick here is that event source is a node, not an interface. To access custom attribute (or comment) of an interface for interface event you can use the following script:


iface = GetInterfaceObject($node, $5);
return iface->comments;
// For custom attribute replace with
// return GetCustomAttribute(iface, "attribute_name");


You can create such script in script library and then use %[script_name] macro in your messages.

Best regards,
Victor
#2346
You can add any DCI value to map link. Right click on map link, go to properties, and add DCIs to show on "data sources" page.

Best regards,
Victor
#2347
General Support / Re: Performance Graphs
September 28, 2016, 05:34:13 PM
There is "Performance" tab in node properties - those are selected DCIs for selected node. This is probably what you are talking about. But you can open "Last values" tab for node, select any DCI, and open graph for it (by double click or from context menu). On that graph you can add additional data sources as described earlier.

Best regards,
Victor
#2348
General Support / Re: View OID subtree in NetXMS??
September 28, 2016, 05:31:52 PM
I suppose currently it's not possible with tables - you need something like "diff" for table row but table thresholds operates only on current table value. You can try to use instance discovery - it will create DCI for each OID, and then you can use diff threshold to detect individual OID value change.

Best regards,
Victor
#2349
Yes, currently diff threshold ignores number of samples. I can make a patch for this (and I'll include this change into next release).

Best regards,
Victor
#2350
General Support / Re: sms driver websms.ru
September 26, 2016, 12:38:15 PM
Hi,

it looks like another HTTP/JSON API - should be fairly easy to create driver from existing one. I can try to build one in next few days (please remind me if I forgot :) ).

Best regards,
Victor
#2351
Hi,

usually there is $object global variable when relevant.

Best regards,
Victor
#2352
Hi,

you need C++ compiler to build NetXMS agent. Try to install one.

Best regards,
Victor
#2353
Hi,

just try to follow instruction from configure and run it as

ACCEPT_INFERIOR_RM_PROGRAM=yes ./configure --with-agent

Best regards,
Victor
#2354
Hi,

I got similar requests from other users too. I'm currently considering adding "exclude from topology" option for nodes - then all topology functionality will be turned off, but node will be checked in status and conf poll using primary name and data collection will work.

Best regards,
Victor
#2355
Hi,

could it be that you have DCI marked as "used for status calculation"?

Best regards,
Victor