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

#2926
Announcements / Re: NetXMS 2.0-RC1 released
August 18, 2015, 12:29:59 PM
Hi,

directory structure was changed in RC1 to match recommended layout for Linux systems. Try to move all files from <install-prefix>/share/netxms/images to <install-prefix>/var/lib/netxms/images.

Best regards,
Victor
#2927
Announcements / NetXMS on FrOSCon
August 18, 2015, 09:55:05 AM
Hi all!

Raden Solutions will have a booth at FrOSCon (https://www.froscon.de/en/home/) dedicated to NetXMS. Feel free to come and ask your questions or see live demo system.

Best regards,
Victor
#2928
Общие вопросы / Re: API
August 18, 2015, 09:45:20 AM
Полный функционал сейчас только в Java API. Старый C API (libnxcl) из 2.0 убрали, сейчас есть новая C++ библиотека (libnxclient), но набор функций там пока минимальный. Можно ее по необходимости расширять.

Добавление данных прямо в базу работать не будет, сервер кэширует данные и не ожидает их изменений в базе.
#2929
transformation script не подходит, он не вызовется если входных данных нет. Для агентских DCI подход тот-же, только заменить SNMPGet на AgentReadParameter. В будущем можно пожалуй добавить опцию в DCI для вызова transformation script в случае ошибки с $1 выставленным в null скажем - это упростит настройку множества таких параметров.
#2930
Ставить знак вопроса. Первый параметр подставится в первый знак вопроса, второй во второй, и т.д. Например:

SELECT STUFF ( (SELECT top 5 ';' + objid + ',' + action + ',' + CONVERT(varchar(10),DATEDIFF(s,'1970-01-01', DATEADD(second, DATEDIFF(second, GETDATE(), GETUTCDATE()), date))) FROM .... WHERE ... condition_column=?
#2931
Нет, они никак не связаны. Можно добавить как feature request, технически сделать не сложно.
#2932
Можно сделать script DCI, который будет делать сбор данных и подставлять константу в случае ошибки. Для SNMP может выглядеть например так:


snmp = CreateSNMPTransport($node);
if (snmp == null)
   return -1; // error indicator
v = SNMPGet(snmp, ".1.3.6.1.2.1.1.1.0");  // actual OID can be read from script parameter
if (v == null)
   return -1; // error indicator
return v->value;

#2933
General Support / Re: windows 2000 and older
August 17, 2015, 11:33:03 PM
Hi,

I suppose you mean agent? Then you can get one of older versions from archive: https://www.netxms.org/download/archive/agent_packages/. You can try 1.1.10, if it will not work, then 1.0.13.

Best regards,
Victor
#2934
Announcements / Re: NetXMS 2.0-RC1 released
August 17, 2015, 11:29:31 PM
Hi,

we just updated Windows installers and source package with new build that contain a fix. File names are the same, but after install you should see build number 8036 for server binaries. Debian repository will be updated in a few hours.

Best regards,
Victor
#2935
Feature Requests / Re: Cluster resource assignment
August 12, 2015, 09:57:13 AM
Hi,

assigning cluster resources with a script will definitely allow more possibilities for cluster monitoring. I'll try to add it in one of next versions.

Best regards,
Victor
#2936
Hi,

it seems that I just have to change base OID for SNMP walk. I've added issue to pur bug tracker: https://dev.raden.solutions/issues/878.

Best regards,
Victor
#2937
Announcements / Re: NetXMS 2.0-RC1 released
August 11, 2015, 05:05:55 PM
Hi,

I was able to reproduce this problem on my test system. I'll provide fix soon.

Best regards,
Victor
#2938
Announcements / Re: NetXMS 2.0-RC1 released
August 11, 2015, 08:52:14 AM
Quote from: brettmilfos on August 11, 2015, 12:53:50 AM
I have encountered one issue. While upgrading from 2.0M5 all the mibs from var/mibs dis-appeared. This is on win2k8r2.

Restored mibs from a backup and re-built. But now when I run the 32bit console on win7 I get the following error after logging in:
"Cannot load MIB file from server: File I/O operation failed"

MIB locations was changed in 2.0-RC1. Source MIBs now are in <install_path>\share\mibs and compiled MIB file in <install_path>\var. Installer was supposed to move any non-standard MIBs from var\mibs to share\mibs. If you compile MIBs manually, you should set output file to be <install_path>\var\netxms.mib.

Quote from: brettmilfos on August 11, 2015, 12:53:50 AM
Also, do not know if this is related to the upgrade, before upgrading I stopped the Core, Agent & WebGUI services, but there was still a lock on the MySQL DB which prevented DB upgrade.

That means that core service didn't stop normally and was forcibly terminated by service manager. It's not related to upgrade, but rather indicates some problem with previous version.

Best regards,
Victor
#2939
Hi,

instead of processing SYS_AGENT_UNREACHABLE event you can collect internal parameter AgentStatus. It returns 0 if agent is connected and 1 if unreachable. Then you can use thresholds as usual to generate alarm only if agent is unreachable for more then specific time period.

Best regards,
Victor
#2940
Can you provide more detailed information how exactly false positive looks like (service name, etc.). I tested it on my machine and everything works as expected.

Best regards,
Victor