News:

We really need your input in this questionnaire

Main Menu
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

#5431
Hi!

Currently it's not possible. I'll add this as feature request for 1.2.1 version.

Best regards,
Victor
#5432
General Support / Re: DISK. Parameters Missing
April 16, 2012, 11:01:47 PM
Hi!

In 1.1.x version, all Disk.* parameters was renamed to FileSystem.* parameters. Agent still understand old names, so you can use old templates for example, but they are not shown in the list of supported parameters anymore. If adding new DCI, just use appropriate FileSystem.* parameters.

Best regards,
Victor
#5433
General / Re: About the Event
April 16, 2012, 12:26:12 AM
Hi!

Server sends notification to client when new event created. Client must be subscribed to event notifications. Simple code for receive event notifications can looks like this:



// subscribe
session.subscribe(CHANNEL_EVENTS);

// add notification handler
session.addListener(new SessionListener() {
@Override
public void notificationHandler(final SessionNotification n)
{
if (n.getCode() == NXCNotification.NEW_EVENTLOG_RECORD)
{
Event e = (Event)n.getObject();
// do what you need with event object
}
}
});


Remember that notification handler called in background communication thread and should not perform any long-running tasks.

Best regards,
Victor
#5434
General / Re: Management Console GTK Source
April 16, 2012, 12:18:21 AM
Hi!

There is an error in URL. Correct URL is https://svn.netxms.org/public/netxms/trunk/src/java/netxms-eclipse.

Best regards,
Victor
#5435
General Support / Re: Import multiple nodes
April 13, 2012, 11:58:56 AM
Hi!

Not with standard tools. However, it's relatively easy to write a Java app which will add multiple nodes using Java API.

Best regards,
Victor
#5436
В текущей версии наверное никак. В следующих релизах будут NXSL функции для работы с SNMP, тогда можно будет написать скрипт, который сможет делать такие опросы. Ну или уже сейчас можно написать внешний скрипт, который будет делать что-то подобное.
#5437
Общие вопросы / Re: Драйвера.
April 13, 2012, 11:53:13 AM
в версии 1.2.0 или 1.2.1, смотря как буду успевать, у интерфейсов будет новый аттрибут "expected interface state". Его можно будет выставить в UP, DOWN, или IGNORE. UP - значит интерфейс должен быть поднят, и если нет, то объект интерфейса будет переведен в статус CRITICAL (как это проишодит сейчас). DOWN - все наоборот - интерфейс должен быть в нерабочем состоянии, если он вдруг активен - объект интерфейса будет переведен в статус CRITICAL. IGNORE - состояние интерфейса нас не интересует, и объект интерфейса всегда будет в статусе NORMAL.
#5438
Da, v 1.1.10 edinstvennij sposob smeni IP - eto pomenjat' primary host name v properties.

P.S. Ja pomnju pro predyduschuju problemu s primary host name.

#5439
Try to enable tracing on parser level by replacing <parser> with <parser trace="9">.

Best regards,
Victor
#5440
Hi!

Try to use agent version 1.1.10. It should work with 1.0.13 server.

Best regards,
Victor
#5441
What events are generated on activation and deactivation of the threshold? Could you check than in case when value goes back to normal level deactivation event is generated or not?

Best regards,
Victor
#5442
Hi!

Ensure that IP address of your management server is listed in remote agent's config as MasterServer or ControlServer. For manual action execution, user performing this action must have "Control" rights to node object.

Best regards,
Victor
#5443
General Support / Re: Graphs - network cards
April 03, 2012, 07:18:33 PM
Hi!

There are bug in console that it does not shows new DCIs on performance tab immediately, only after selection change in object tree. Try to select another node and then your switch again and check if new DCI is there.

Best regards,
Victor
#5444
Quote from: Akira on April 01, 2012, 01:12:11 PM
Quote from: SKYnv on March 30, 2012, 01:20:20 PM
Quote from: Akira on March 30, 2012, 10:40:45 AM
Так. Ближе. А как взять сумму последних 60 значений? Я что-то в документации не нашел.
Если вы собираете статистику каждый час, то есть за час то это как бы и есть сумма всех значений, делим на 60 получаем среднее за минуту...

Вы не поняли проблему
У меня есть счетчик 1 - тупо дельта каждый час, но иногда глюкавое отрицательное значение.
У есть счетчик 2 - каждую минуту, средняя в секунду.

Я хочу при сбойном значении счеткика 1, восстановить из счетчика 2 значение, воспользовавшись данными за прошедший час.
Сейчас я это делаю скриптом в SQL, а хочу сразу в NetXMS.

Da, skriptami takoe sdelat' nel'zja. Mne nravitsja ideja, ja dobavlju funkcii dostupa k iztoricheskim dannim DCI iz skriptov.
#5445
Hello!

What is your MySQL version? So far it looks like your MySQL server does not support prepared statements, which is the case for versions before 4.1.

Best regards,
Victor