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

#4951
General Support / Re: managing Cisco Switches
November 26, 2012, 12:04:34 AM
Hi!

With SNMP disabled, you can only ping the switches to check if they are alive. But why you cannot enable SNMP? You can use SNMP version 3 with AES encryption. If only read access allowed, and only via encrypted SNMP v3, it should be safe.

Best regards,
Victor
#4952
General Support / Re: Oracle agent - netxms 1.2.4
November 26, 2012, 12:01:15 AM
Hi!

You need 64 bit client for 64 bit agent, and 32 bit client for 32 bit agent.

I have added INI config example to wiki: http://wiki.netxms.org/wiki/Subagent:Oracle#INI_configuration.

Agent reads all files in config include directory, and determines it's format by content, not by file extension.

Difference between monitoring one database and multiple databases is that in latter case you have to use XML config - in INI config you can specify only one database.

Best regards,
Victor
#4953
General Support / Re: Oracle agent - netxms 1.2.4
November 25, 2012, 06:31:01 PM
Hi!

Most likely you don't have Oracle client installed (or it's not in PATH) - so oracle.nsm failed to load because of missing dependencies. If you need to monitor only one database, you can also use *ORACLE section in standard netxmsd.conf. You can deploy XML config via policy - create new agent configuration policy, enter content of XML file on "Configuration File" page in policy object properties, and then select "Install" from policy context menu. Select target node(s). Then restart agent - it should load new configuration on restart.

Best regards,
Victor
#4954
Quote from: SKYnv on November 23, 2012, 07:01:00 AM
а если помещаются в корень или дублируюстся в одной сети при каждом проходе network discovery?

мне желательно знать то-же самое - список интерфейсов и значения с Overview для проблемных нод.
#4955
Попробовал у себя - не получается повторить. После удаления цепочки сообщения об ошибке не появляются больше. Может есче какие-то особенности есть?
#4956
Попробую у себя повторить. Добавил в багтрекер: https://www.radensolutions.com/chiliproject/issues/187.
#4957
А версия сервера какая? 1.2.4?
#4958
Quote from: SKYnv on November 21, 2012, 11:04:52 AM
nxagentd -h бесконечный цикл.
freebsd

UNICODE или обычный? С UNICODE похоже проблем много еще...
#4959
Распределение по подсетям делается на основе интерфейсов. Т.е. для каждого интерфейса из его IP адреса и маски получаем адрес подсети, и добавляем ноды в соответствуюший обьект подсети. При необходимости создаются новые обьекты. Потенциально возможны проблемы если адрес, который прописан как primary host name отсутствует на интерфейсах по какой-либо причине. В 1.2.3 и 1.2.4 также были исправлены несколько багов, связанных с нодами, которые появлялись прямо в корне, и дублирующимися нодами. Если 1.2.4 помесчает хосты не в те подсети, то надо детально разбиратся - мне надо знать список интерфейсов проблемной ноды и значения с закладки "Overview".
#4960
Hi!

I have implemented multiple DCIs on one chart in performance tab in upcoming 1.2.5.

Best regards,
Victor
#4961
Hi!

Try to upgrade to 1.2.4. This should be fixed - at least I fix very similar problem in one of 1.2.x versions.

Best regards,
Victor
#4962
Hi!

Can you describe this situation with more details? I'm not sure that I understand it correctly...

Best regards,
Victor
#4963
Sorry, that was my mistake. Script called via %[] didn't get event's parameters in $1, $2, etc. Instead, you should use $event variable to access event attributes. Event class described here: http://wiki.netxms.org/wiki/NXSL:Event. To access parameters, you can use $event->parameters array. So, correct code in my example would be


default: return "Unknown code " . $event->parameters[5];


Best regards,
Victor
#4964
Hi!

Currently there are no other solution then to run nxdbmgr before starting netxmsd. You can simplify it by adding -e command line argument to netxmsd - then netxmsd will call nxdbmgr on startup. I've created a feature request to address this problem more correctly: https://www.radensolutions.com/chiliproject/issues/185. I will add additional command line argument to specify peer IP address - then if database locked by peer, server will check if it's alive, and if not, will automatically remove the lock.

Best regards,
Victor
#4965
Hi!

For showing text instead of code in events and alarms, you can use script in script library and macro like %[script_name]. For example, if you have some code as parameter number 5 in trap-generated event, you can create script called CodeToText in library:


switch($5)
{
   case 1: return "CODE 1";
   case 2: return "CODE 2";
   // and so on...
   default: return "Unknown code " . $5;
}


and then use

%[CodeToText]

in event and alarm message template.

Best regards,
Victor