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

#2941
Hi,

FileSystem.Free(/var) will collect free space for /var partition if it's really a separate partition mounted on /var. If it is just a directory on root partition, it will return free space on roou partition. Check with mount command what are actual mount points on your system.

Best regards,
Victor
#2942
General Support / Re: windows 2000 and older
August 22, 2015, 05:05:40 PM
Hi,

what error you got on 1.0.13?

Best regards,
Victor
#2943
That usually means that server is not running. Check that netxmsd process is running and listening on port 4701.

Best regards,
Victor
#2944
Announcements / Re: NetXMS 2.0-RC1 released
August 18, 2015, 12:49:21 PM
Basically everything that can be changed moved to <install-prefix>/var/lib/netxms (directories images, files, packages, backgrounds). Compiled MIB file now is <install-prefix>/var/lib/netxms/netxms.mib (but source MIBs keep location).

Best regards,
Victor
#2945
Я советую обновить этот агент до 2.0-M3 или выше, поскольку в 2.0-M3 были исправления в параметризованных запросах.
#2946
Hi,

sorry, I'm completely forgot about this. Now I'll add a change request (https://dev.raden.solutions/issues/883) so I won't forget to implement it in RC2.

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

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

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=?
#2952
Нет, они никак не связаны. Можно добавить как feature request, технически сделать не сложно.
#2953
Можно сделать 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;

#2954
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
#2955
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