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

#346
В качестве временного решения для #1 (и если дискавери не используется) – можно сделать кастомный filtering script, в котором всегда возвращать false (чтоб не создавать ноды), но делать PostEvent() и обрабатывать потом это событие в EPP
#347
Check why it's failing:


> See "systemctl status nxagentd.service" and "journalctl -xe" for details.
#348
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
#349
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"
#350
Попробуйте обновить Jetty до версии 9
#351
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.

#352
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.
#353
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
#354
в конфигурации сервера есть параметр MailEncoding, выставьте его в UTF8
#355
Проверьте сейчас, пожалуйста
#356
Да, нам уже доложили, убираем CP

Сегодня-завтра решим проблему.
#357
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
#358
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
#359
Announcements / Re: NetXMS 2.0.7 released
December 15, 2016, 07:19:54 PM
Hello.

Check now.

Quote from: radw on December 15, 2016, 05:22:30 PM
Hello, it seems that v2.0.7 is not on http://packages.netxms.org/debian/ yet..

Regards.
#360
General Support / Re: Downgrade from 2.1-M1
November 28, 2016, 07:31:55 PM
Hello.

Backup database before upgrade.

Database manager don't support downgrading, it will take too much resources to maintain such functionality.
We can do manual downgrade on case-by-case basis, but only if there is not other way for customer.

Best regards,
Alex.