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 - Alex Kirhenshtein

#466
Я только что проверил – работает:

nxagentd.conf:
ExternalParameter = TestSUDO:sudo -u alk /tmp/test.sh

~ % cat /tmp/test.sh
#!/bin/sh

id

% ls -la /tmp/test.sh
-rwxr-xr-x  1 alk  wheel  14 Apr  8 01:16 /tmp/test.sh

~ % nxget localhost TestSUDO
uid=501(alk) gid=20(staff) groups=20(staff),503(boinc_project),502(boinc_master),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),501(access_bpf),701(com.apple.sharepoint.group.1),33(_appstore),100(_lpoperator),204

Запустите агент с DebugLevel=4 (e.g. nxagentd -D4) и проверьте ошибки.
#467
Thank you for this tip, I've added that key to Info.plist we use during packaging.
#469
General Support / Re: How to save map?
April 06, 2016, 01:26:09 PM
That's known limitation of the SWT on Linux (https://bugs.eclipse.org/bugs/show_bug.cgi?id=283960).

I registered new feature request for "save as image": https://dev.raden.solutions/issues/1201
#470
Check database consistency (in command line):nxdbmgr check
#471
General Support / Re: How to save map?
March 31, 2016, 12:50:54 PM
Copy to clipboard then paste and save into any image editor (mspaint on windows, Preview on mac)
#472
Please set debug level to 9 and replicate crash.
Debug level can be set in in netxmsd.conf (DebugLevel=9), this require restart.
You can also change debug level in runtime using nxadm:nxadm -c "debug 9"
#473
check "DBDriver" field in configuration file.
#474
General Support / Re: Dash Board
March 11, 2016, 07:54:14 AM
I think use use webkit for that. You can try to force it to use Mozilla's engine, but I had mixed experience with that.
Check this link: https://www.eclipse.org/swt/faq.php#browserspecifydefault

QuoteThe best opportunity for a user to set this property is by launching their application with a -D VM switch (eg.- add to the end of the eclipse.ini file: -Dorg.eclipse.swt.browser.DefaultType=webkit).
#475
General Support / Re: libc segfault crash
March 10, 2016, 05:05:36 PM
Add "main" as well, not only beta
#476
General Support / Re: libc segfault crash
March 10, 2016, 09:36:09 AM
Install netxms-base-dbg and netxms-server-dbg
#478
Agent by default is running as windows service and can't interact with the GUI. In older version os windows (before 7) you can enabled "Interact with GUI" option in service manger, but for newer ones – you'll have to run agent as application, not as service.
You can add it to autorun, and if you want to hide console window – start it with "-H" command line option.
#479
Actually you don't need to restart Tomcat. In default configuration it support hot deploy – just remove old war file (don't remove uncompressed folder, just war) and copy new one. It even should detect if you just replace with new version.
#480
General Support / Re: Dell Networking MIBs Parse Error
February 10, 2016, 10:36:44 AM
Older Dell-Vendor-MIB.txt was already bundled with NetXMS. I've pushed new version alongside with N3000 MIBs to our git.

Snapshot of mibs directory attached to this message.