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

#5011
Hi!

That means that agent returns an error. Can you get other parameters from same agent? Also check for any errors in agent's log.

Best regards,
Victor
#5012
Общие вопросы / Re: Баги 1.2.3
October 09, 2012, 04:41:57 PM
Quote from: SKYnv on October 05, 2012, 06:17:10 PM
src\server\core\main.cpp
for(int i = 0; i < vlans->getSize(); i++)
{
VlanInfo *vlan = vlans->get(i);
ConsolePrintf(pCtx, _T("%4d | %-16s |"), vlan->getVlanId(), vlan->getName());
for(int j = 0; j < vlan->getNumPorts(); j++)
ConsolePrintf(pCtx, _T(" %d.%d"), (int)(vlan->getPorts()[j] >> 16), (int)(vlan->getPorts()[j] & 0xFFFF));
ConsolePrintf(pCtx, _T("\n"));
}


если порты идут в формате 1/portNum то в данном месте
(int)(vlan->getPorts()[j] >> 16), (int)(vlan->getPorts()[j] & 0xFFFF));
они все станут 0.0 0.0
Quotenetxmsd: sh vl 2738
VLAN | Name             | Ports
-----+------------------+-----------------------------------------------------------------
   1 | default          | 0.0
   3 | vlan3            | 0.0 0.0
   4 | vlan4            | 0.0 0.0
   5 | vlan5            | 0.0 0.0
   6 | vlan6            | 0.0 0.0
   7 | vlan7            | 0.0 0.0
   8 | vlan8            | 0.0 0.0
   9 | vlan9            | 0.0 0.0
  10 | vlan10           | 0.0 0.0 0.0

Вроде так )))

0.0 они становятся скорее всего из-за отсутствия драйвера для сетевого устройства. Без драйвера сервер не знает, какие интерфейсы являются физическими портами, а какие нет, поэтому у всех интерфейсов номер слота и порта выставлены в 0.
#5013
Можно использовать PING субагента для мониторинга - он выдает время ответа и количество потерянных пакетов. Соответственно средствами NetXMS сервера уже можно отслеживать резкие изменения во времени ответа. Конечно это будет статистика по ICMP, но в большинстве ситуазий она даст представление о примерном состоянии каналов. Конкретные данные по VoIP трафику надо снимать уже с VoIP устройств.
#5014
General Support / Re: Random NetXMS server crashes
October 08, 2012, 04:18:10 PM
Yes, crash dump will be extremely helpful.

Best regards,
Victor
#5015
Feature Requests / Re: per-user visibility of Alarms
October 08, 2012, 04:16:22 PM
Hi!

I agree that alarm separation could be useful. I see that it can be done that way: introduce new entity - alarm category, and on alarm creation (in event processing policy) add the ability to set category for alarm. Then users will be able to filter/group alarms by categories, and access control can be enforced on category level (i.e. do not define access rights for each alarm, but for category).

Best regards,
Victor
#5016
Feature Requests / Re: Java Client - Server Console
October 05, 2012, 06:51:31 PM
Hi!

I fixed that, next release will support basic command editing in remote console. Another workaround is to close console tab and open it again :)

Best regards,
Victor
#5017
Quote from: sabonez on October 05, 2012, 09:14:21 AM
СМС-ки вроде в UCS-2.

SMS с русскими буквами можно посылать только в PDU режиме насколько я понимаю. Кроме того, сам сервер должен работать в UNICODE или code page должен быть выставлен в CP-1251.

Quote from: sabonez on October 05, 2012, 09:14:21 AM
База у меня в 1251, с utf-8 почему-то java-console под вендой не задружилась - резала русские имена. Если это как-то лечится, может есть смысл конвертнуть базу в UTF?

Здесь скорее проблема с самим сервером, а не с базой. Проверьте что параметр CodePage в netxmsd.cond выставлен в CP1251, или попробуйте UNICODE сборку сервера.
#5018
Я сталкивался с проблемами со скоростью порта. Generic SMS драйвер по умолчанию пытается работать на 9600. Попробуйте поставить скорость побольше - 38400 или выше, и проверьте что в настройках самого виртуального порта тоже эта скорость стоит (это для Windows актуально, про Linux не знаю).
#5019
Общие вопросы / Re: Баги 1.2.3
October 04, 2012, 09:11:05 AM
Quote from: SKYnv on October 03, 2012, 08:13:43 AM
это нормальная работа?

Quotenetxmsd: sh po
PT  TIME                   STATE
S   03/Oct/2012 11:02:42   wait
S   03/Oct/2012 11:03:01   poll: M_Uz_Zarech_16 [5464] - wait for lock
S   03/Oct/2012 11:02:42   wait
S   03/Oct/2012 11:02:59   wait
S   03/Oct/2012 11:01:10   poll: 192.168.1.33 [7713] - wait for lock
S   03/Oct/2012 11:00:35   poll: 192.168.1.33 [7683] - wait for lock
S   03/Oct/2012 11:03:16   wait
S   03/Oct/2012 11:02:50   wait
S   03/Oct/2012 11:00:40   poll: 192.168.1.33 [7701] - wait for lock
S   03/Oct/2012 11:00:15   poll: 192.168.1.33 [7695] - wait for lock
S   03/Oct/2012 11:00:25   poll: 192.168.1.32 [7710] - wait for lock
S   03/Oct/2012 11:01:20   poll: 192.168.1.32 [7722] - wait for lock
S   03/Oct/2012 11:01:20   poll: 192.168.1.32 [7728] - wait for lock
S   03/Oct/2012 11:01:25   poll: 10.255.141.201 [114] - wait for lock
S   03/Oct/2012 11:00:55   poll: 192.168.1.33 [7719] - wait for lock
S   03/Oct/2012 11:02:56   wait
S   03/Oct/2012 11:00:35   poll: 192.168.1.33 [7731] - wait for lock
S   03/Oct/2012 11:02:58   wait
S   03/Oct/2012 11:02:51   wait
S   03/Oct/2012 11:00:45   poll: 192.168.1.32 [7692] - wait for lock
S   03/Oct/2012 11:03:12   wait
S   03/Oct/2012 11:03:11   wait
S   03/Oct/2012 11:03:10   wait
S   03/Oct/2012 11:00:40   poll: 192.168.1.33 [7725] - wait for lock
S   03/Oct/2012 11:02:42   wait
S   03/Oct/2012 11:01:10   poll: 192.168.1.32 [7698] - wait for lock
S   03/Oct/2012 11:01:05   poll: 192.168.1.32 [7680] - wait for lock
S   03/Oct/2012 11:02:55   wait
S   03/Oct/2012 11:00:45   poll: 192.168.1.33 [7707] - wait for lock
S   03/Oct/2012 11:02:40   wait
S   03/Oct/2012 11:01:05   poll: 192.168.1.32 [7704] - wait for lock
S   03/Oct/2012 11:00:45   poll: 192.168.1.33 [7677] - wait for lock
S   03/Oct/2012 11:02:42   wait
S   03/Oct/2012 11:02:41   wait
S   03/Oct/2012 11:00:25   poll: 192.168.1.32 [7716] - wait for lock
S   03/Oct/2012 11:02:56   wait
S   03/Oct/2012 11:03:06   wait
S   03/Oct/2012 11:03:10   wait
S   03/Oct/2012 11:00:55   poll: 192.168.1.33 [7689] - wait for lock
S   03/Oct/2012 11:03:01   wait
S   03/Oct/2012 11:03:01   wait
S   03/Oct/2012 11:03:16   wait
S   03/Oct/2012 11:00:25   poll: 192.168.1.32 [7686] - wait for lock
S   03/Oct/2012 11:02:56   wait
S   03/Oct/2012 11:02:56   wait
S   03/Oct/2012 11:03:08   wait
S   03/Oct/2012 11:02:45   wait
S   03/Oct/2012 11:03:01   poll: 192.168.1.146 [5696] - wait for lock
S   03/Oct/2012 11:02:48   wait
S   03/Oct/2012 11:03:05   wait
C   03/Oct/2012 11:01:37   poll: 192.168.1.32 [7704] - hook
C   03/Oct/2012 10:59:17   wait
C   03/Oct/2012 11:01:37   poll: 192.168.1.33 [7695] - hook
C   03/Oct/2012 10:59:51   wait
C   03/Oct/2012 11:01:37   poll: 192.168.1.33 [7683] - hook
C   03/Oct/2012 11:01:47   poll: 192.168.1.33 [7719] - hook
C   03/Oct/2012 11:02:22   poll: 10.255.141.201 [114] - hook
C   03/Oct/2012 11:01:47   poll: 192.168.1.32 [7722] - hook
C   03/Oct/2012 11:01:37   poll: 192.168.1.32 [7686] - hook
C   03/Oct/2012 10:59:17   wait
C   03/Oct/2012 11:03:12   wait
C   03/Oct/2012 11:01:47   poll: 192.168.1.33 [7731] - hook
C   03/Oct/2012 11:01:37   poll: 192.168.1.32 [7710] - hook
C   03/Oct/2012 10:59:30   wait
C   03/Oct/2012 11:01:37   poll: 192.168.1.32 [7698] - hook
C   03/Oct/2012 11:01:37   poll: 192.168.1.33 [7707] - hook
C   03/Oct/2012 11:02:48   wait
C   03/Oct/2012 10:59:17   wait
C   03/Oct/2012 11:02:00   wait
C   03/Oct/2012 11:01:42   poll: 192.168.1.32 [7716] - hook
C   03/Oct/2012 11:01:37   poll: 192.168.1.33 [7689] - hook
C   03/Oct/2012 11:01:42   poll: 192.168.1.33 [7713] - hook
C   03/Oct/2012 11:02:24   wait
C   03/Oct/2012 11:01:32   poll: 192.168.1.33 [7677] - hook
C   03/Oct/2012 11:01:47   poll: 192.168.1.32 [7728] - hook
C   03/Oct/2012 11:01:47   poll: 192.168.1.33 [7725] - hook
C   03/Oct/2012 11:01:37   poll: 192.168.1.33 [7701] - hook
C   03/Oct/2012 11:01:36   wait
C   03/Oct/2012 11:01:37   poll: 192.168.1.32 [7680] - hook
C   03/Oct/2012 11:01:37   poll: 192.168.1.32 [7692] - hook
R   03/Oct/2012 11:00:50   wait
R   03/Oct/2012 11:00:50   wait
R   03/Oct/2012 11:02:41   wait
...
T   03/Oct/2012 11:02:46   wait
T   03/Oct/2012 11:03:12   wait
T   03/Oct/2012 11:02:05   poll: 192.168.1.146 [5696]
T   03/Oct/2012 11:02:15   poll: 192.168.1.33 [7677]
T   03/Oct/2012 11:02:24   wait
T   03/Oct/2012 11:02:05   poll: M_Uz_Zarech_16 [5464]
T   03/Oct/2012 11:03:06   poll: 192.168.1.32 [7686]
T   03/Oct/2012 11:02:41   poll: 192.168.1.32 [7680]
T   03/Oct/2012 11:02:48   wait
T   03/Oct/2012 11:02:51   wait
B   03/Oct/2012 09:59:18   wait
B   03/Oct/2012 09:59:18   wait
B   03/Oct/2012 09:59:18   wait
B   03/Oct/2012 09:59:18   wait
B   03/Oct/2012 09:59:18   wait
B   03/Oct/2012 09:59:18   wait
B   03/Oct/2012 09:59:18   wait
B   03/Oct/2012 09:59:18   wait
B   03/Oct/2012 09:59:18   wait
B   03/Oct/2012 09:59:18   wait
A   03/Oct/2012 10:27:21   check
учитывая что ноды 1.32 1.33 были удалены сутки назад.

Нет, поведение ненормальное. Похоже, что зависли hook-скрипты по каким-то причинам. Сейчас думаю без рестарта сервера уже ситуация не поправится.
#5020
Общие вопросы / Re: Баги 1.2.3
October 04, 2012, 09:09:11 AM
Quote from: SKYnv on October 01, 2012, 02:56:52 PM
постоянно сыпляться
QuoteSql query failed commands out of sync you can't run this command now

поиск выдал примерные причины
http://www.mysql.ru/docs/man/Commands_out_of_sync.html
http://habrahabr.ru/post/21326/

А какие именно запросы?
#5021
Общие вопросы / Re: Баги 1.2.3
October 04, 2012, 09:08:17 AM
Quote from: SKYnv on October 02, 2012, 12:32:09 PM
на вики присутствует
QuoteNumberOfBusinessServicePollers     A number of threads responsible for business service (SLA) monitoring.     10     Yes
в конфиге создающимся по умолчанию отсутствует.

Спасибо, поправил.
#5022
Sorry, I completely forgot about it :( Now added as an issue to bug tracker (https://www.radensolutions.com/chiliproject/issues/128) - will try to implement it in few days.

Best regards,
Victor
#5023
General Support / Re: Nagios plugin
October 04, 2012, 08:56:16 AM
Hi!

Few clarifications:

1. There are no difference between ExternalParameter and ExternalParameterShellExec on UNIX/Linux. They only behave differently on Windows.

2. There are two timeouts that must be taken into consideration:
a) ExecTimeout on agent - timeout for executing external program
b) AgentCommandTimeout on server - timeout for any command sent from server to client

In general AgentCommandTimeout must be greater or equal to ExecTimeout.

Also, if you have couple of external parameters with possible long collection time, you may create wrapper script to get them all at once and use it as external parameters provider - see wiki for details: http://wiki.netxms.org/wiki/ExternalParametersProvider.

Best regards,
Victor
#5024
Feature Requests / Re: Multipliers on charts (Y axis)
October 04, 2012, 08:45:27 AM
Multipliers on charts implemented in 1.2.4.

Best regards,
Victor
#5025
Hi!

Try to change speed in port's settings. Generic driver uses 9600 by default, and I've seen cases where GSM modem was not working on speed below 38400. Make sure that speed in port settings match configured port speed in SMSDrvConfig parameter.

Best regards,
Victor