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

#6421
nxdbmgr unlock

Tol'ko prover'te, chto servernij process dejstvitel'no zavershilsja.
#6422
Announcements / New partner in Japan
July 21, 2010, 05:05:21 PM
Hi all!

We have signed partnership agreement with DARC Technology Co., Ltd. (http://darctech.co.jp/) who will provide local commercial support and integration services in Japan.

Best regards,
Victor
#6423
winevet.h is a header file for Windows Events API, which was first appear in Windows Vista, so you probably need Windows Vista or Windows Server 2008 SDK.

Best regards,
Victor
#6424
You should specify path to libraries as well. Try to run configure as follows:


CPPFLAGS=-I/u01/app/oracle/product/10.2.0/db_1/rdbms/public LDFLAGS=-L/u01/app/oracle/product/10.2.0/db_1/lib ./configure --with-server --with-oracle --with-agent


Best regards,
Victor
#6425
Hi!

Try to run configure this way:


CPPFLAGS=-I/u01/app/oracle/product/10.2.0/db_1/rdbms/public ./configure --with-server --with-oracle --with-agent


Best regards,
Victor
#6426
Let's summarize in what environment this problem occurs in version 1.0.3:
1. Windows + MS SQL
2. FreeBSD with MySQL 5.1 (is it still an issue?)

any other environments?

Best regards,
Victor
#6427
Hi!

You need latest Windows Platform SDK, OpenSSL, and Expat for all components. UPS subagent also requires Windows DDK. Console requires Microsoft Speech SDK and Scintilla. Database drivers requires appropriate client libraries.

Best regards,
Victor
#6428
Hi!

You can add an exception using additional filtering script, a s described in this post: https://www.netxms.org/forum/index.php/topic,770.0.html

Best regards,
Victor
#6429
General Support / Re: Thershold not sending email
July 16, 2010, 04:16:02 PM
Hi!

Did you configure SMTP server settings in NetXMS correctly? You have to set server's configuration variable SMTPServer to your SMTP server's IP address. Setting SMTPFromAddr to some correct value also recommended.

Best regards,
Victor
#6430
General Support / Re: Stuck file Agent
July 15, 2010, 02:18:47 AM
Hi!

Yo can use File.Count parameter. Full syntax is following:

File.Count(path, pattern, recursive, size, age)

where


pathpath to directory or file to check
patternpattern for file name matching
recursiverecursion flag; if set to 1 or true, agent will scan subdirectories
sizesize filter (bytes); if < 0, only files with size less than abs(value) will match; if > 0, only files with size greater than value will match; if 0, all files will match
ageage filter (seconds); if < 0, only files created after now - abs(value) will match; if > 0, only files created before now - value will match; if 0, all files will match

path argument is mandatory, all other are optional.

So, to count number of .txt files older than 15 minutes in c:\tmp, you can use

File.Count('C:\tmp', '*.txt', 0, 0, 900)

And after that you just need to set threshold for this parameter to >0, generate appropriate event, and process it as usual.

Best regards,
Victor
#6431
Общие вопросы / Re: Syslog
July 14, 2010, 04:26:49 PM
Несколько вопросов:
Событие с кодом 100004 существует?
Можно ли как-то увидеть оригинальное syslog сообщение?
Есть ли какие-нибудь ошибки в логе NetXMS сервера?

sys в поле hostname - это баг, исправил.

#6432
Hi!

You can use filter scripts to do advanced filtering. Event SYS_SERVICE_DOWN contains 3 parameters:
1: service name;
2: service object id;
3: service type.
So, for example, if you wish to execute action only for service named "httpd", you can use the following script:


$1 == "httpd"


or, in full form


sub main()
{
   return $1 == "httpd";
}


Best regards,
Victor
#6433
Версия 1.0.3 или старее?
#6434
Microsoft promises that frequency should not change between reboots :) (http://msdn.microsoft.com/en-us/library/ms644905%28VS.85%29.aspx). I choose to use performance counter because timeGetTime has much bigger call cost - but I'm not sure that this really matters in our case. I could also build libnetxms.dll with timeGetTime variant to compare. Interestin also is that on my Windows 7 machine event GetSystemTimeAsFileTime, which was used before, gives 1ms accuracy.

Best regards,
Victor

P.S. New libnetxms.dll included in 1.0.3 build, so if you upgrade agent, you will not need to download libnetxms.dll from here.
#6435
Announcements / NetXMS 1.0.3 released
July 08, 2010, 12:01:09 AM
Hi all!

NetXMS version 1.0.3 is out. Changes since 1.0.2:

- Windows console:
        - DCI thresholds, average, and trendlines can be shown on graphs
        - Fixed history graph performance issue
        - Fixed GDI resource leak
- HP-UX platform subagent improved
- New agent parameters for Linux: System.Memory.Physical.Available and System.Memory.Physical.AvailablePerc
- Agent parameters Disk.* renamed to FileSystem.* (old names still recognized by agent for backward compatibility)
- Fixed various inconsistencies in parameters between different systems
- Fixed issues: #300, #302

Best regards,
Victor