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

#4681
Дампы получили, спасибо. Постараюсь в 1.2.7 добавить.
#4682
Quote from: inspirit on March 04, 2013, 03:05:29 PM
Начал наводить порядок в базе Netxms. Решил перевести всю  базу из CP-1251(пережиток прошлого) в UTF-8.

C помощью нехитрого скрипта

выполнил кучку запросов

ALTER TABLE `netxms`.`acl` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `netxms`.`actions` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `netxms`.`address_lists` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `netxms`.`agent_configs` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `netxms`.`agent_pkg` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `netxms`.`alarms` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `netxms`.`alarm_events` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `netxms`.`alarm_notes` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `netxms`.`ap_bindings` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `netxms`.`ap_common` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
....
....

и тд.

Все замечательно отработало. Все запускается без ошибок. При попытке переименовать ноду - ее название почему то затирается на несколько символов.

Похоже на баг консоли. Могу прислать дамп базы или предоставить другую нужную информацию.

А что за база? И как собран сервер - с enable-unicode или нет? Если нет, то какой CodePage поставлен в netxmsd.conf?
#4683
Quote from: inspirit on March 04, 2013, 01:16:46 PM
Заметил в логе netxms следующие записи:

[04-Mar-2013 15:12:06.078] 9 network device drivers loaded
[04-Mar-2013 15:12:06.088] Built-in objects created
[04-Mar-2013 15:12:06.088] Loading container categories...
[04-Mar-2013 15:12:06.088] Apply template thread started
[04-Mar-2013 15:12:06.090] Loading built-in object properties...
[b][04-Mar-2013 15:12:06.110] NetObj::loadCommonProperties() failed for object Policies [5] class=16
[04-Mar-2013 15:12:06.114] NetObj::loadCommonProperties() failed for object Network Maps [6] class=19
[04-Mar-2013 15:12:06.117] NetObj::loadCommonProperties() failed for object Dashboards [7] class=22
[04-Mar-2013 15:12:06.120] NetObj::loadCommonProperties() failed for object Reports [8] class=24[/b]
[04-Mar-2013 15:12:06.131] Loading conditions...


На работе вроде бы не сказывается. Хотелось бы узнать - что это, и можно ли исправить, или забить.

Это нормально. Обьекты с ID меньше 10 - ето встроенные обьекты, которые есть всегда. Если они не менялись, то записей о них в базе может и не быть, они со значениями по умолчанию создаются.
#4684
Announcements / Re: NetXMS 1.2.6 released
March 04, 2013, 04:16:14 PM
Hi!

So far I plan 1.2.7 to be released between March 15 and March 20.

Best regards,
Victor
#4685
General Support / Re: Astaro firewall MIB
March 03, 2013, 01:42:56 PM
Problem with this MIB is that according to standard object names must start with lowercase letter, while all notification objects in this MIB starts with uppercase letter. Corrected MIB attached.

Best regards,
Victor
#4686
General Support / Re: ICMP PING
March 03, 2013, 01:38:23 PM
Value 10000 means "unreachable".

Best regards,
Victor
#4687
You have to options here:

1. Start using expected port state "ignore" for end users' ports instead of unmanaging them. Then you can use manage/unmanage on switch level without problems (additional benefit here is that you still be able to see link state of a port, but it's status will always be normal).

2. Add temporary rule in the beginning of event processing policy which will stop processing of all events from given node.

Best regards,
Victor
#4688
Hi!

Yes, you can right-click on node and select "unmanage". Then node will be put to "unmanaged" state and excluded from monitoring. To bring it back, select "manage" from context menu.

Best regards,
Victor
#4689
General Support / Re: Alarm Details tool bugs
March 01, 2013, 09:07:28 PM
Hi!

Just fixed second and third bug, thanks for reporting! First one will take a bit more to fix.

Best regards,
Victor
#4690
General Support / Re: Configuration of Perspectives
March 01, 2013, 04:54:24 PM
Hi!

Both functions will require additional development. It is technically possible to create UI element filters in Eclipse RCP (underlying platform of client application) as additional plugins.

Best regards,
Victor
#4691
HP E-series supported already, driver's name is PROCURVE. If you have E-series switch for which generic driver is selected, please send me it's SNMP object id.

For creating driver for Shoretel switches, I need MIBs for them and result of SNMP walk of .1.3.6.1.4.1. Ideally also remote access to the device so I can test driver.

Best regards,
Victor
#4692
Hi!

There are few possible options. Option 1 is following:

1. Create additional event, ASA_SYSLOG_MESSAGE for example, and put varbind .1.3.6.1.4.1.9.9.41.1.2.3.1.5.0 into parameter #2, as you have done already with ASA_FAILOVER event.
2. Create script in script library, which will post ASA_FAILOVER event if it got ASA_SYSLOG_MESSAGE with "Switching to ACTIVE" text:


if ($event->parameters[2] match ".*Switching to ACTIVE.*")
{
   PostEvent($node, "ASA_FAILOVER", null, $event->parameters[2]);
}


3. Create new action of type "execute NXSL script", and specify name of the script you just craeted
4. Add rule to event processing policy, which will execute action created on step 3 for ASA_SYSLOG_MESSAGE event.

That's it - you will have ASA_FAILOVER events for each syslog message trap with "Switching to ACTIVE" text in it. Please note that in my script text will be passed to ASA_FAILOVER event as parameter #1.

If you don't want ASA_SYSLOG_MESSAGE events to clutter event log, you can uncheck "Write to log" option in event's configuration.


Alternative approach could be to not use SNMP traps for this, but feed syslog records from ASA directly to NetXMS server (using syslog protocol), and create a parser for incoming syslog records.

Best regards,
Victor
#4693
General Support / Re: webui
March 01, 2013, 11:17:49 AM
Hi!

Looks like application hangs or crashes at initialization. Can you check log files under web ui installation directory? Also, try to restart web ui service and access directly http://netxmsserver/nxmc, without accessing root.

Best regards,
Victor
#4694
Hi!

Driver for H3C (HP A series) switches is not ready yet. I have access to some HP A55xx devices, so driver will be provided in one of next releases.

Best regards,
Victor
#4695
Нашел баг в сортировке (для алфавитной сортировки использовалось поле "Name in legend" вместо заголовка графика). Следующая версия консоли будет сортировть правильно.