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

#4711
NetXMS counts each logical interface as separate object. I'm thinking about changing this to have multiple IP addresses on one interface, but decision is not made yet.

Best regards,
Victor
#4712
Hi!

It is not possible to change default settings for data collection interval. This was requested couple of times, so I've added feature request for that.

Best regards,
Victor
#4713
General Support / Re: Actions for services
March 11, 2013, 08:27:35 PM
Hi!

First, you have to create action on agent, like this:


Action = StartService:net start $1


Then you can create action object on server, which will execute agent's action "StartService" on node where service was stopped. You can set node address to %a (it will expand to node's IP address), and action to


StartService %6


assuming that you have service name entered into instance field in appropriate DCI.

Then execute this action from event processing policy in reaction to service stopped event.

Best regards,
Victor
#4714
Hi!

It's very strange, LOGWATCH should work with ISO-8859-1 without any problem. And file with only 123 as a content should be identical in both UTF-8 and ISO-8859-1 encodings. Can you post sample of matching and non-matching files?

Best regards,
Victor
#4715
General Support / Re: Ignore interface polling
March 07, 2013, 05:30:53 PM
You can disable configuration polls for the node, and delete all unneeded interface objects. Drawback of this solution is that server also will not read supported parameters, etc.

Actually, it is strange that UI cannot handle such number of objects. I'll try to simulate this situation and see. Good chance that this is just a bug that can be fixed.

Best regards,
Victor
#4716
Quote from: grimnir on March 07, 2013, 11:06:57 AM
О, огромное спасибо! Это будет просто здорово... Если могу помочь с тестированием (есть c2960, c3650, c3750, c6509) - то с удовольствием.

Я вроде как сделал, но тестировать мне не начем особо, так что было бы очень здорово. Я могу сделать сборку текущих исходников или билд для Windows, смотря что надо.
#4717
General Support / Re: Network Service Alert
March 05, 2013, 06:09:55 PM
Hi!

Yes, it's a property called "Required poll count" on a "Network Service" page, 0 means "use system default".

Best regards,
Victor
#4718
Hi!

Unfortunately there are no predefined templates out of the box. You have to create your own. Some templates created by user also available here: https://www.netxms.org/forum/general-support/sharing-standard-templates-for-netxms/.

There are also short tutorial on how to setup adta collection and notification: http://wiki.netxms.org/wiki/How_to_send_e-mail_notification_when_disk_space_is_low.

Best regards,
Victor
#4719
General Support / Re: ICMP PING
March 05, 2013, 04:29:26 PM
Most likely that means that agent cannot resolve host name for some reason. Try Icmp.Ping(localhost) - it should work. Also, what NetXMS agent version you have? Ping by DNS names only supported in 1.2.6.

Best regards,
Victor
#4720
Hi!

Can you check server's log for mail sending errors? ";" separator should work.

Best regards,
Victor

#4721
Hi!

You may need libssl-dev if you want encryption support. Otherwise it should be ok.

You can also try to install from Debian packages - most likely it will work on Ubuntu.

Best regards,
Victor
#4722
С utf-8 могут быть проблемы. Лучше поставить CP-1251 как code page или собрать сервер в unicode.
#4723
General Support / Re: not able to login in web gui
March 04, 2013, 04:21:17 PM
Hi!

What username and password you are using? Also, try to connect with desktop console.

Best regards,
Victor
#4724
Дампы получили, спасибо. Постараюсь в 1.2.7 добавить.
#4725
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?