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

#3376
Hi,

currently you cannot do that. Feel free to register feature request :)

Best regards,
Victor
#3377
Hi,

you can use nxget command line tool to get any list or table. For example, to get interface list:


C:\Source\NetXMS\release>nxget -e0 -l 10.5.0.162 Net.InterfaceList
1 127.0.0.1/8 24 000000000000 lo0
2 10.5.0.162/24 6 000000000000 bge0


to get file system table:


C:\Source\NetXMS\release>nxget -e0 -T 10.5.0.253 FileSystem.Volumes
MOUNTPOINT       |VOLUME           |LABEL            |FSTYPE           |SIZE.TOTAL       |SIZE.FREE        |SIZE.FREE.PCT    |SIZE.AVAIL    |SIZE.AVAIL.PCT   |SIZE.USED        |SIZE.USED.PCT    |
C:\              |\\?\Volume{39e06104-63ef-11dd-92a4-806d6172696f}\ |                 |NTFS             |40015953920      |33852870656      |84.598435        |33852870656      |84.598435        |6163083264       |15.401565        |
D:\              |\\?\Volume{2ae1c26a-6dc5-11dd-8464-806d6172696f}\ |                 |                 |0                |0
        |0                |0                |0                |0                |0                |
A:\              |\\?\Volume{2ae1c26b-6dc5-11dd-8464-9be8208dfb96}\ |                 |                 |0                |0
        |0                |0                |0                |0                |0                |


There are two useful lists: Agent.SupportedLists and Agent.SupportedTables to get list of all lists and tables supported by agent.

Best regards,
Victor
#3378
Yes, this is AD LDAP page size limit. Next release of NetXMS will support LDAP paging so you'll be able to synchronize larger amount of users without increasing page size on AD LDAP server.

Best regards,
Victor
#3379
General Support / Re: Problem with SNMP
November 04, 2014, 11:41:49 AM
Hi,

sounds really weird. OID you mentioned used only during topology polls to get VLAN information. Unmanaging node or disabling topology polling on it should stop it. Can you check if there is an active topology poll for this switch at time you get those SNMP requests?

Best regards,
Victor
#3380
General Support / Re: Windows Event Log parser
November 04, 2014, 11:36:24 AM
Quote from: farcsa on October 28, 2014, 06:38:30 PM
1:
Is there a simpler method to exclude events with predefined event id? (e.g.: 5,1006,1008,...)

not really - you can specify ID range in one rule, like <id>1001-1099</id>, but that will not help if you have non-adjacent IDs to ignore.

Quote from: farcsa on October 28, 2014, 06:38:30 PM
2:
I manage Windows 7, Windows Server 2008 and Windows Server 2012, and i see that the severity levels are the following:
Critical =1
Error=2
Warning =3
Information=4

The above example captures only Windows error level events. How to set the <level> parameter to capture Windows critical events? (And, of course, how to combine the values?)

combining codes described here: https://www.netxms.org/documentation/adminguide/log-monitoring.html#level-tag

Quote from: farcsa on October 28, 2014, 06:38:30 PM
3:
With the above parser, the agent always misses the event with event id 1. What could be the reason?

In the parser I don't see specific rule for DI 1, so it can only be caught by last rule by severity. Are you sure that severity for this event is "Error"?

Best regards,
Victor
#3381
Hi,

seems that you got counter ID's instead of names. Is it non-English Windows version? Can you see counter names locally via Windows standard tools? Also, can it be that you install 32bit agent on 64bit system? Maybe you need to rebuild perf counter library as described here: http://support.microsoft.com/kb/300956.

Best regards,
Victor
#3382
General Support / Re: Error in Tools - Wakeup node
November 04, 2014, 11:21:55 AM
Hi,

I've registered it as a bug. We'll take a look.

Best regards,
Victor
#3383
Hi,

you should use ${} (UNIX-like) for environment variable expansion in configs. I've choose that form because you may need to pass % sign to underlying layer (for example, it is often used in names of performance counters), and then you'll have to escape all % that are already there in configs. So, ${ProgramFiles} should work.

Best regards,
Victor
#3384
General Support / Re: Upgrade from 1.2.16 to 1.2.17 error
November 04, 2014, 11:12:47 AM
Hi,

is there anything in log? If not, try to set logging to file in netxmsd.conf and run netxmsd from command line with full debug:

netxmsd.exe -D9

Best regards,
Victor
#3385
General Support / Re: Agent Session option
November 04, 2014, 11:10:04 AM
Hi,

it is a process that started within each desktop session, and can be used to take screenshots from workstations (via "take screenshot" option in node's context menu).

Best regards,
Victor
#3386
Hi,

as previously noted, you can select one or more DCIs with "Use this DCI for node status calculation". Server expects such DCI to return numeric value in range 0 .. 4 which indicates status (0 =  normal, 1 = warning, 2= minor, 3 = major, 4 = critical). Most critical status of all status DCIs and active alarms will be taken as current node status.

Best regards,
Victor
#3387
General Support / Re: error while upgrading to 1.2.17
October 20, 2014, 04:46:25 PM
Hi,

try to find and kill all netxmsd.exe processes that are running. I also recommend to reboot the OS after installer finishes.

Best regards,
Victor
#3388
General Support / Re: Templates & Instance Discovery
October 20, 2014, 04:44:03 PM
That's very strange. I just test it just in case, and it works as expected. Let's try to delete all DCIs already created and create new one from scratch to be sure that everything is correct, and then run configuration poll so instance discovery will occur.

Best regards,
Victor
#3389
General Support / Re: Templates & Instance Discovery
October 20, 2014, 02:56:47 PM
It could be that your agent does not support 64 bit interface counters (they are supported only on Windows Vista and later). Then you have to use Net.Interface.BytesIn.

Best regards,
Victor
#3390
Hi,

seems like some file(s) was not updated. Can you please find out what file in bin directory contains string "getKeyByIndex"?

Best regards,
Victor