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

Сегодня-завтра решим проблему.
#471
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
#472
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
#473
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.
#474
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.
#475
Общие вопросы / Re: ver 2.0.6
November 15, 2016, 01:03:28 PM
Configuration -> SNMP Credentials
#476
General Support / Re: Startup Script
November 11, 2016, 09:30:59 PM
I'm successfully use this one: https://github.com/netxms/packages-deb/blob/master/netxms-server.netxmsd.init

Which one do you use?
#477
Yes, it's not enough to change version - we need to undo all changes to the schema.

What do you mean, you lost devices from the map? Network map? Do you still have devices in in the system (can you find them in object browser)?
#478
It will be really tricky. Possible, but tricky.
I suggest you to keep 2.1-M1, if possible. Despite "beta" state, it's stable and we already have couple of customers running this version in production.
#479
Hello.

No, it was a mistake. I cleaned up repo.

Regarding schema downgrade - we are looking into this.
Do you use table DCIs? (they are converted to new format in 2.1 and will require some efforts to convert them back)
#480
Feature Requests / Re: External API
November 07, 2016, 12:07:11 PM
Hello

Not at the moment, but you can implement methods you need using our Java API.