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

#4846
General Support / Re: Monitor qemu-kvm processes
January 04, 2013, 04:58:39 PM
Hi!

You can specify command line filter in all Process.* parameters. Full syntax of Process.CPUTime (and others Process.*) is following:

Process.CPUTime(process, type, cmdline)

Where

process - process name. If cmdline is not given, only processes with matched name will be counted and read. If cmdline is given, process interpreted as regular expression.
type     - representation type (meaningful when more than one process with the same name exists). Valid values are:
         min - minimal value among all processes named <process>
         max - maximal value among all processes named <process>
         avg - average value for all processes named <process>
         sum - sum of values for all processes named <process>
cmdline  - command line (regular expression to match).

So to match all processes named qemu-kvm with word test in command line, you can use

Process.CPUTime(^qemu-kvm$, sum, test)

Don't forget that both process name and command line are regular expressions when extended format is used, so if you use "qemu-kvm" as process name (without ^ and $), processes contained this in the name (like qemu-kvm2) will also be matched.

Best regards,
Victor
#4847
General Support / Re: Custom Schedule query
January 04, 2013, 04:47:51 PM
Hi!

What you mean by "disappeared"? It stops collecting data, or configured schedule really disappears from DCI configuration?

Best regards,
Victor
#4848
General Support / Re: syslog configuration
January 03, 2013, 04:49:16 PM
Hi!

You can just type &lt; and &gt; in XML file in old console (don't forget semicolon!). And if you need & character, you should use &amp;

Best regards,
Victor
#4849
General Support / Re: Missed pooling
January 03, 2013, 12:20:28 PM
Hi!

You can set number of polls required to change status of node's interface(s) (in interface object's properties on "Polling" page). Server will consider interface down only if it is not responding for n polls, and therefore entire node will be considered down only after n polls.

Best regards,
Victor
#4850
General Support / Re: No Windows event log message text
January 02, 2013, 10:35:57 AM
Hi!

Yes, I've found a bug in event source installation code. It appears in 1.2.3, when agent was converted to UNICODE. I've fixed it in 1.2.5.

Best regards,
Victor
#4851
General Support / Re: Simple ping monitoring
December 26, 2012, 11:32:02 PM
Hi!

Server do ICMP ping automatically during status polls for all registered nodes. If node didn't respond, SYS_NODE_DOWN event will be generated. You only need to setup PING subagent if you want to measure response time or want to ping some nodes from remote location. You can disable using ICMP for status polling by checking "Disable ICMP" on "Polling" page in node properties.

Best regards,
Victor
#4852
General / Re: NetXMS - SQL Performance
December 20, 2012, 01:24:03 PM
Hi!

I decide to drop deleted_objects table completely and just store last used ID.

If you have database writer queue always around 30-50, you can try to increase number of database writers - as updates usually goes to different tables, they often can run effectively in parallel. Default number of writers is 1.

Best regards,
Victor
#4853
General Support / Re: syslog configuration
December 19, 2012, 11:07:57 PM
For example, you have syslog records like this coming in:

Error: some error text

and you want to have everything after "Error:" to be message text of your event. First, you should create new event with name, for example, SYSLOG_ERROR and with message simply set to %1 (value of first parameter). Then, the following syslog parser will create correct events:


<parser>
    <rules>
        <rule>
            <match>Error: (.*)</match>
            <event params="1">SYSLOG_ERROR</event>
        </rule>
    </rules>
</parser>


what will be catch by first matching group in regexp will come into first parameter of the event, second matching group to second parameter, and so on.

Best regards,
Victor
#4854
General Support / Re: syslog
December 19, 2012, 11:02:16 PM
Oops, looks like a bug. As a workaround, you can use legacy console to edit XML.

Best regards,
Victor
#4855
Did you restart agent after adding ping subagent? Also, can you check that you can get required value via nxget?
And maybe post here screenshot of your DCI config, this can help identifying the problem.

Best regards,
Victor
#4856
General Support / Re: syslog configuration
December 19, 2012, 08:24:23 PM
Hi!

You have to create correct log parser. See this section of the manual: http://wiki.netxms.org/wiki/UM:Log_Monitoring for parser syntax.

Best regards,
Victor
#4857
General Support / Re: syslog
December 19, 2012, 08:22:58 PM
Hi!

Editor is not fully functional yet. You have to edit XML directly.

Best regards,
Victor
#4858
Sorry, my mistake - I mean "Parameter" field. "Name" was an old name for it. See attached screenshot for example. Description is a human-readable text to be displayed in UI, and "parameter" is an actual parameter name to be collected (it will be SNMP OID for SNMP parameters).

Best regards,
Victor
#4859
Это баг, который периодически всплывает в различных частях веб интерфейса - особенности переноса desktop клиента в веб. Мы их исправляем по мере обнаружения. Сейчас для не работаюсчих операций можно воспользоваться desktop клиентом.
#4860
General Support / Re: DCI in performance tab
December 19, 2012, 01:21:50 PM
Hi!

If I understand problem correctly - you want to see on node's performance tab DCIs created on interfaces, right? Then you have to find these DCIs in node's data collection configuration, go to properties, and check "show on performance tab" checkbox.

Best regards,
Victor