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

#6706
General Support / Re: Unable to restart nxagentd
October 27, 2009, 09:59:16 PM
Yes, version of the agent can be different. So far, any server version in 0.2.x branch can work with any agent version, including very old 0.1.x version agents.

Best regards,
Victor
#6707
Hello!

1. It depends on how customized they should be. In current version of management console you can place various information windows (like alarm browser, history graphs, etc.) inside main console window and save layout. You can create as many saved layouts as you wish. We also working on a completely new console application, which is based on Eclipse platform, which will allow you to quickly develop custom plugins.

2. Yes - there are alarm view in console.

3. Both ways are possible - depending on what changes / extensions you need. System was designed to be modular and easily extendable. You can create your own modules for server and agent (subagents). There are client libraries in C and Java - they can be used for integration with other systems or to create your own client applications. However, there are one major problem - there are almost no documentation on API, so you will have to ask questions on forum and read source code (or you can order custom development from us).

Best regards,
Victor
#6708
Announcements / Re: NetXMS 0.2.30 released
October 22, 2009, 07:25:27 PM
Разобрался с этой проблемой, в ближайшие дни выложу версию 0.2.31, будет инсталлироваться. Если надо срочно, пишите, могу вечером собрать и выложить отдельно инсталлер для x64 агента.
#6709
Разобрался с этой проблемой, в ближайшие дни выложу версию 0.2.31, будет инсталлироваться. Если надо срочно, пишите, могу вечером собрать и выложить отдельно инсталлер для x64 агента.
#6710
General Support / Re: Centralized agent upgrade feature
October 22, 2009, 07:21:38 PM
Try to remove all files from <install_prefix>/share/netxms/packages

Best regards,
Victor
#6711
A v kakom meste ispol'zuetsja skript? V event processing policy? Esli da, to on dolzen vozvraschat' 0 ili 1 - 0 oznachaet chto sobitie pod pravilo ne podhodit - 1 - chto podhodit. Custom message nado zadavat' cherez peremennuju CUSTOM_MESSAGE, bez znaka dollara, i potom mozete ispol'zovat' eto znachenie v alarmah i action'ah cherez macros %M. Naprimer:

sub main()
{
   if ($1==770)
      CUSTOM_MESSAGE="FastEthernet 0/3";
   return 1;
}

I ja podumaju kak sdelat', chtobi ne pisat' if dlja kazdogo interfejsa.
#6712
General Support / Re: Unable to upgrade - Table locks?
October 22, 2009, 05:18:26 PM
That means that for nodes with id 84 and 86 collected data will not be stored. I suggest to recreate these tables by the following queries:

CREATE TABLE idata_84 (item_id integer not null,idata_timestamp integer not null,idata_value varchar(255) not null);
CREATE INDEX idx_idata_84_item_id ON idata_84(item_id);
CREATE INDEX idx_idata_84_id_timestamp ON idata_84(item_id,idata_timestamp);

CREATE TABLE idata_86 (item_id integer not null,idata_timestamp integer not null,idata_value varchar(255) not null);
CREATE INDEX idx_idata_86_item_id ON idata_86(item_id);
CREATE INDEX idx_idata_86_id_timestamp ON idata_86(item_id,idata_timestamp);

Best regards,
Victor
#6713
General Support / Re: Unable to upgrade - Table locks?
October 22, 2009, 02:24:04 PM
Also, there are a bug registered in MySQL bugtracker - http://bugs.mysql.com/bug.php?id=15667 which seems similar to your problem. One of possible solutions mentioned in comments is to increase value of server variable innodb_buffer_pool_size (may be useful if you use InnoDB database, not MyISAM).

Also, if manual DELETE FROM statements will not work, try to clear tables with

TRUNCATE TABLE syslog;
TRUNCATE TABLE event_log;
TRUNCATE TABLE snmp_trap_log;
TRUNCATE TABLE audit_log;

Best regards,
Victor
#6714
General Support / Re: Unable to upgrade - Table locks?
October 22, 2009, 02:15:08 PM
Hi!

Try to connect to your database with mysql client and clear log tables manually by executing the following queries:

DELETE FROM syslog;
DELETE FROM event_log;
DELETE FROM snmp_trap_log;
DELETE FROM audit_log;

Then run upgrade process again.

Best regards,
Victor
#6715
General Support / Re: Unable to restart nxagentd
October 21, 2009, 10:40:46 PM
I have fixed it. Agent now will correctly handle rename of monitored file (which usually happens during log rotation). I plan to release version 0.2.31 in a few days, it will contain this fix.

Best regards,
Victor
#6716
Спасибо за trace, решил проблему. В течении нескольких дней выложу версию 0.2.31, которая будет корректно работать с трапами версии 3.
#6717
Я в ближайшие дни выложу версию 0.2.31 с исправлениями последних багов. Эта проблема тоже должна быть решена.
#6718
General Support / Re: Unable to restart nxagentd
October 15, 2009, 06:12:45 PM
Yes, it's looks like a bug. I'll check it in a few days.

Best regards,
Victor
#6719
Hello!

This may happen when communication session that was inactive for long period (controlled by agent's parameter SessionIdleTimeout) forcibly closed by watchdog thread. You can safely ignore these messages.

Best regards,
Victor
#6720
General Support / Re: Unable to restart nxagentd
October 15, 2009, 10:46:23 AM
Hi!

Looks like sockets opened by agent closing slower than agent restarts. You can try to add agent startup delay by adding parameter to configuration file:


StartupDelay = <seconds>


and try different delay values. However, it will still be possible that NetXMS server will detect non-responding agent and generate appropriate event.

But why you are need to restart agent after log rotation? Is it stop working, or prevents log rotation? It is supposed to detect log rotation and handle it, and if it doesn't, then it's a bug which needs to be fixed.

Best regards,
Victor