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 - Alex Kirhenshtein

#1141
You could use File -> Export -> Table as CSV file to export both tables and then load CSV files into Excel.
#1142
Hello.

Fist of all, check server logs for failed queries
Second, check db writer queue size when server is running (Server.AverageDBWriterQueueSize DCI)
#1143
Hello.

Currently it can't be configured. I've added parameter "SMTPFromName" and it will be available in next release.

However, as temporary solution, you can patch sources in src/server/core/email.cpp, line 258.
#1144
General Support / Re: Timeout of web login
December 01, 2009, 01:30:14 PM
Sorry to say that, but existing web interface is abandoned (and will be replaced in the future).
Right now I suggest you to use Alarm viewer (currently windows only).

However, if you can't run windows application, it's possible to make quick and dirty solution which will be executed by a cron job and will generate a web page with list of alarms.
#1145
General Support / Re: CPU HEAT MONITORING DCI PARAMETERS
November 30, 2009, 03:32:07 PM
It's not supported "out of the box", but you can install lm_sensors and setup custom parameter in agent configuration.

Example for Core0:
ExternalParameter = CPU.Temperature:/usr/bin/sensors|egrep 'Core\s*0'|cut -d: -f2|awk '{gsub("[^0-9\\.]", "", $1); print $1;}'

Unfortunately, lm_sensors output can differ from system to system (however this one works on two of my test servers), so you should check and probably adjust my sample.

More information on ExternalParemeter is available in documentation (we will upload updated version in a few days) or in the forum: link
#1146
Общие вопросы / Re: Огромная БД
November 25, 2009, 11:34:00 AM
А какии операции тормозят?
#1147
Общие вопросы / Re: Огромная БД
November 23, 2009, 01:07:38 PM
Покажите пожалуйста результат запроса (замените DB_NAME на название базы):

SELECT table_schema,
table_name,
ROUND(data_length/1024/1024,2) total_size_mb
FROM information_schema.tables
WHERE table_schema = 'DB_NAME'
order by total_size_mb desc limit 10;
#1148
General Support / Re: API IN C for agent communication
November 11, 2009, 05:52:13 PM
Yes, you do not need server or console in this case.
#1149
General Support / Re: nxget command line tool
November 11, 2009, 05:49:25 PM
It's included in netxms distribution. When you compile from sources, it's build when --with-server is enabled. Windows version (binary) is available in NetXMS Installer for windows.
#1150
General Support / Re: API IN C for agent communication
November 11, 2009, 12:47:53 AM
It's required to generate initial configuration file for an agent, to set access control settings - basically it's an address which is allowed to get data from the agent.

Check nxagentd.conf sample (provided in distribution, you can take a look at https://svn.netxms.org/public/netxms/trunk/contrib/nxagentd.conf-dist), especially parameters: Server, ControlServers, and MasterServers.
#1151
В процентах — нет, но можно использовать дельту на Process.SystemTime(ProcessName.exe)
#1152
Sorry, but we don't have any screencasts right now.
#1153
General Support / Re: HTTP Service Check
October 30, 2009, 05:17:12 AM
Hello.

Yes, it should work perfectly well.

Actually, I've verified your check and it works fine:
alk@wall:~$ /tmp/nx/bin/nxget -w 100 localhost 'ServiceCheck.HTTP(127.0.0.1,80,/folder/keepalive.html,www.test.com,"^HTTP/1\.[01] 200.*")'
3
alk@wall:~$ mkdir /var/www/default/folder/
alk@wall:~$ touch /var/www/default/folder/keepalive.html
alk@wall:~$ /tmp/nx/bin/nxget -w 100 localhost 'ServiceCheck.HTTP(127.0.0.1,80,/folder/keepalive.html,www.test.com,"^HTTP/1\.[01] 200.*")'
0


Please check that URL is available, also check with some tool like wget or curl.

You can also send me a private message with problematic URL (if it's publicly available) and I'll check it myself.
#1154
Quote from: sodalist on July 09, 2009, 03:23:33 PM
I tested the button. You can provide feedback by adding little timeout
to ServiceCheck.Custom(<insert arguments here>) as additional parameter
so that check would give back value when TCP port is not reachable :)

Hi.

I've just submited required changes, they will be pushed into upcoming release (will be packed tomorrow morning)

Default timeout is set to 30 seconds, but you can change it using "Timeout" parameter (in milliseconds) in "*portcheck" section.

Sample nxagentd.conf:
MasterServers = localhost
LogFile = /tmp/nx/agent.log
SubAgent = /tmp/nx/lib/libnsm_portCheck.so

*Portcheck
Timeout = 5000 # 5 seconds.
#1155
Бага в nxdbmgr, зарегистрировал: https://www.netxms.org/bugtrack/view.php?id=274

Постараемся в ближайшее время поправить.