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

#4891
General Support / Re: syslog configuration
January 03, 2013, 04:49:16 PM
Hi!

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

Best regards,
Victor
#4892
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
#4893
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
#4894
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
#4895
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
#4896
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
#4897
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
#4898
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
#4899
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
#4900
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
#4901
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
#4902
Это баг, который периодически всплывает в различных частях веб интерфейса - особенности переноса desktop клиента в веб. Мы их исправляем по мере обнаружения. Сейчас для не работаюсчих операций можно воспользоваться desktop клиентом.
#4903
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
#4904
Добрый день!

Здесь есть два пути:

1. Разрешить серверу ходить на узлы по SNMP - судя по тому, что интерфейсы называются unknown, сервер не имеет доступа к этим хостам. Тогда сервер получит список интерфейсов и будет знать, что ето одна нода.

2. Создать интерфейсы руками - выбрать ноду, и потом Create interface из контекстного меню.

Не забудьте только вначале удалить "лишние" обьекты хостов.
#4905
Hi!

It's not so simple to use command's output in Windows as in UNIX shell. You can achieve this using FOR command:


for /F %x in ('nxget localhost Icmp.Ping(10.194.133.1)') do @nxpush -u admin -P ******** localhost Switch_1:Time=%x


However, there are easier way to achieve what you want using proxy DCI: create DCI on node Switch_1, set origin to "NetXMS Agent", enter Icmp.Ping(10.194.133.1) as name, and set proxy node to your NetXMS server node. This way system will show collected data for node Switch_1, but real data collection will occur from NetXMS server node. You will also need to add Switch_1 to list of trusted nodes in NetXMS server node's properties, or set server configuration variable "CheckTrustedNodes" to 0.

Best regards,
Victor