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

#7246
Hello!

It's fixed in 0.2.21.

Best regards,
Victor
#7247
General Support / Re: Queue alert?
May 06, 2008, 02:21:10 PM
If you take a look at node object representing NetXMS server itself, you'll find some automatically created DCIs. There are queue length for status poller, configuration poller, data collector, and database writer, as well as average time to queue DCI for polling. You can setup thresholds on these parameters as for any other DCI and generate alarms, etc. General rule is that any of this parameters is higher than 0 for long period of time, you have a problem and should do something.

Best regards,
Victor
#7248
General Support / Re: Server crash
May 06, 2008, 02:16:14 PM
Very interesting information... Thank you for reporting!

Best regards,
Victor
#7249
General Support / Re: Server crash
May 06, 2008, 09:15:16 AM
Hi!

Further increase of data collectors will not help - we have similar problem at one of our customer's site, and it's related to SNMP. I'll publish updated version of NetXMS server today, it may help.

Best regards,
Victor
#7250
General Support / Re: Server crash
May 05, 2008, 06:09:25 PM
Quote from: xenth on May 05, 2008, 10:27:55 AM
I just noticed something very disturbing, the polling isn't going properly.

My set intervals aren't being listened to, I'll give you an example, this is one of my workstations.
I have set the interval to 60 seconds, yet it does NOT poll every 60 seconds  :'(

It should poll every 60 seconds, yet when I view the history:

This is a VERY big problem as well, is it related to my other problem?  :(

Yes, most likely they are related. If you take a look at a result of "show queues" console command, you can see quite big number (330) in data collector queue. This means that at the moment when you type this command 330 requests for collecting data was waiting for processing, because all data collectors was busy. You can try to increase number of data collectors to 40 or 50 (by changing server's parameter NumberOfDataCollectors), this may help a bit, but will not remove the problem completely.

Some additional questions: do you have SNMP on the nodes? Do you use SNMP for data collection?

Best regards,
Victor
#7251
General Support / Re: Network Dependencies
May 02, 2008, 03:22:38 PM
Yes, it's a best way - it's what situations was designed for.

Best regards,
Victor
#7252
General Support / Re: Execute Action
May 01, 2008, 01:09:25 PM
Hello!

If you wish to execute batch file, you should run CMD.EXE explicitely. Try to use command line like


cmd.exe /C "echo test >> c:\test.txt"


To pass additional information to your script, you can use same macros as in alarms (%m, %n, etc.) in action's command line.

Best regards,
Victor
#7253
Общие вопросы / Re: Timezone
April 28, 2008, 06:24:45 PM
Совсем скоро. Мы натолкнулись на проблему со сбором информации по SNMP, как только ее решим сразу сделаем 0.2.21.
#7254
Общие вопросы / Re: Timezone
April 28, 2008, 05:07:41 PM
Я сделаю опцию в консоли "показывать время в тайм зоне сервера". Должно помочь.
#7255
Yes, it's possible via advanced schedule. Just check "advanced schedule" checkbox in DCI configuration, and add one or more schedules in CRON format on advanced schedule tab. For example, to collect data every minute from 9:00 till 18:00, add schedule


* 9-18 * * *


See cron manpage or NetXMS user manual for detailed description of schedule syntax.

Best regards,
Victor
#7256
Hello!

Currently it's not possible without patching mysql dat5abase driver in NetXMS. However, because you are running MySQL server on the same machine, you can use UNIX sockets for communications. Just specify socket:path instead of host name in DBServer parameter.

Best regards,
Victor
#7257
General Support / Re: Monitoring services?
April 23, 2008, 03:15:56 PM
What you mean by "monitor DCI"? DCI has a value by itself, you don't need another DCI to monitor it. I think you was asking about network service objects...

Best regards,
Victor
#7258
Макрос %a. Все возможные макросы описаны здесь: https://www.netxms.org/documentation/netxms_user_manual.pdf в разделе 8.6.
#7259
General Support / Re: Monitoring services?
April 22, 2008, 06:53:24 PM
You can use ChildStatus(*) internal parameter to monitor status of child objects for a node (interfaces and services). It takes child object ID or name as an argument, like


ChildStatus(eth0)


for interface eth0 on the node.

Best regards,
Victor
#7260
Hello!

It is possible already. File.Count has the following arguments:

File.Count(root_path, [pattern], [recursive])

You can define pattern as usual with * and ? characters, and if you wish to scan directories recursively, you should pass 1 as recursive arguments.

For your example

x:\folderA\subfolder\a\file1.txt
x:\folderA\subfolder\b\file2.txt
x:\folderA\subfolder\c\file3.txt
x:\folderA\subfolder\c\file4.txt

File.Count(x:\FolderA, *, 1) will return 4
File.Count(x:\FolderA, file2.*, 1) will return 1
File.Count(x:\FolderA, *) will return 0

Best regards,
Victor