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

#361
./configure --with-db2=/opt/ibm/db2/V11.1 ...

Попробуйте так. Если не сработает – пришлите пожалуйста config.log.
#362
В 2.1-M3.
Плагин для графаны и описание тут: https://github.com/netxms/grafana
#363
В качестве временного решения для #1 (и если дискавери не используется) – можно сделать кастомный filtering script, в котором всегда возвращать false (чтоб не создавать ноды), но делать PostEvent() и обрабатывать потом это событие в EPP
#364
Check why it's failing:


> See "systemctl status nxagentd.service" and "journalctl -xe" for details.
#365
General Support / Re: DR Node
February 27, 2017, 02:09:32 PM
Create a cluster with two nodes, configure DCIs on the cluster itself - it will be propagated to both nodes
#366
General Support / Re: Network map link speed colours
January 25, 2017, 12:59:10 PM
There are two options (all accessible in link properties, right click on the link to open):

1) you add label on the link (in "Data Sources"), label color will reflect active threshold on the DCI
2) create dummy node (with IP=0.0.0.0), and add it to General->Color->Based on object status
Then create scripted DCI on this node. Select Other Options -> Use this DCI for node status calculation. Script should return 0-4 (normal-critical) based on current link usage. Don't forget to set retention time to "Do not save to the database"
#367
Попробуйте обновить Jetty до версии 9
#368
General Support / Re: web page on dashboard
January 13, 2017, 09:52:23 AM
Try to install libwebkit package.

http://www.eclipse.org/swt/faq.php#browserlinux

We are using eclipse 3.8: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.x, 3.6.x and 10.x (but not 2.x nor 4.x - 9.x), WebKitGTK+ 1.2.x and newer
...
A: In Eclipse/SWT 3.7 and newer the Browser attempts to use WebKitGTK for SWT.NONE-style Browsers created on GTK. For this to succeed, WebKitGTK 1.2.0 or newer must be in the library load path.

#369
SCRIPT::A -
use SCRIPT::B;
funcB($1);


SCRIPT::B -
sub funcB(arg) {
  trace(0, "SCRIPT::B arg=" . arg);
}


You can also add call to funcB() at the end of the SCRIPT::B (it will not be executed during import with "use", but will call your code when you'll use SCRIPT::B somewhere. I don't recommend that, however - just create separate script with functions you need and import them where required.
#370
helpdesk reference поменять нельзя, он выставляется на стороне сервера.

Из операций со стороны клиента - только убрать helpdesk id (нужны дополнительные права)
   public void unlinkHelpdeskIssue(String helpdeskReference) throws IOException, NXCException


поменять состояние аларма (копирую из NXCSession.java, в nxshell это будет session.acknowledgeAlarm(xxx)):
   public void acknowledgeAlarm(final long alarmId) throws IOException, NXCException
   public void acknowledgeAlarm(String helpdeskReference) throws IOException, NXCException
   public void acknowledgeAlarm(final long alarmId, boolean sticky, int time) throws IOException, NXCException
   public void resolveAlarm(final long alarmId) throws IOException, NXCException
   public void resolveAlarm(final String helpdeskReference) throws IOException, NXCException
   public void terminateAlarm(final long alarmId) throws IOException, NXCException
   public void terminateAlarm(final String helpdeskReference) throws IOException, NXCException

этот метод гораздо эффективнее для большого количества алармов:
   private Map<Long, Integer> bulkAlarmOperation(int cmd, List<Long> alarmIds) throws IOException, NXCException
#371
в конфигурации сервера есть параметр MailEncoding, выставьте его в UTF8
#372
Проверьте сейчас, пожалуйста
#373
Да, нам уже доложили, убираем CP

Сегодня-завтра решим проблему.
#374
General Support / Re: Upgrade to 2.0.8
January 05, 2017, 05:15:26 PM
I've created ticked for dev team: https://dev.raden.solutions/issues/1389
#375
General Support / Re: Upgrade to 2.0.8
January 05, 2017, 04:37:41 PM
Please provide more information:

1) database type and version
2) run "nxdbmgr -t upgrade" and post failed queries