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

#4951
Если надо выделить часть этого значения и вставить в текст сообщения в событии, то наверное да, самое правильное место будет вызывать скрипт через макрос в тексте. Только это будет %[script] (квадратные скобки, не угловые).
#4952
Карта должна быть типа "custom" - тогда она не обновляется сервером автоматически. Если карты были сделаны по другому, можно остановить сервер и в базе поставить значение колонки map_type в таблице network_maps в 0.
#4953
General Support / Re: PostgreSQL v1.2.4
November 05, 2012, 05:28:47 PM
Hi!

That's very strange, both nxdbmgr and server uses same database driver. Can you please send me full output of nxdbmgr, and output of ldd nxdbmgr? Also, try to run nxdbmgr giving configuration file explicitly with -c command line option. And try to specify database driver in netxmsd.conf as

DBDriver = pgsql.ddr

Best regards,
Victor
#4954
General Support / Re: PostgreSQL v1.2.4
November 05, 2012, 11:08:05 AM
Hi!

Server looks good, you just have to upgrade the database. Did you run nxdbmgr upgrade command?

Best regards,
Victor
#4955
General Support / Re: PostgreSQL v1.2.4
November 04, 2012, 08:40:57 PM
Hi!

Nothing changed in PostgreSQL driver. Try to run server from command line as

netxmsd -D9

maybe there will be additional error messages. Also, please send me output of

uname -a

and

ldd <netxms_install_prefix>/lib/netxms/dbdrv/pgsql.ddr

Best regards,
Victor
#4956
Попробуйте поставить 1.2.4. Если не поможет, то нужны будут логи сервера с уровнем дебага не ниже 6.
#4957
Технически это не сложно. Могу попробовать сделать, посмотрим что получится.
Сделал issue чтобы не забыть: https://www.radensolutions.com/chiliproject/issues/173
#4958
General Support / Re: Template and unsupported SNMP
November 02, 2012, 12:29:43 PM
Hi!

Finally implemented in 1.2.4. Now disabled DCI are not updated from template by default. The old behaviour can be enabled by setting server's configuration parameter ApplyDCIFromTemplateToDisabledDCI to 1.

Best regards,
Victor
#4959
Announcements / NetXMS 1.2.4 released
November 02, 2012, 12:03:37 PM
Hi all!

NetXMS version 1.2.4 is released. Changes from previous release:

- Management console:
   - Command line options for automatic connect
   - Container type objects can be expanded/collapsed by double click in the object tree
   - Maps and dashboards can be opened by double click in the object tree
   - Line charts can be opened by double click on DCI in last values view
   - Implemented seed-based network maps
   - Decoration elements on network maps can be moved and resized
   - Object details view can be opened from alarm's context menu
   - Custom time intervals can be set in line chart properties
- NXSL: implemented short-circuit evaluation of logical expressions (&& and ||)
- New attribute "isLocalMgmt" in NXSL "Node" class
- New parameter Icmp.PingStdDev in PING subagent
- Cisco Catalyst 3550 supported by CATALYST driver
- Intervals of less than a minute can be defined with custom DCI schedules
- Agent parameters File.xxx (File.Size, etc) now support strftime style macros for current date/time (similar to file name in log parser)
- Android client:
   - Restructured settings activity
   - Alarm status icon notification configurable by settings (independent from playing the sound assigned to the category)
   - Horizontal scrollable tabs for node info activity (tabs are no more compressed to show all together)
   - Fixed bad format for DCI value in last values tab
   - Scheduler for "passive" connection", parameters:
      - Enable scheduler: enables the scheduler, if 'off' program exposes the previous behaviour
      - Interval: how many minutes have to elapse before trying to connect to server
      - Duration: how many minutes connections has to be kept on
      - Enable daily scheduler: if 'off', the above values are applied to the whole day. If 'on' they will be applied only to the specified interval (for the whole week).
      - Daily on: start daily time to apply scheduler values
      - Daily off: stop daily time to apply scheduler values
- Fixed issues: #53, #120, #128, #139, #171

Best regards,
Victor
#4960
Главное что стоит в параметре CodePage в netxmsd.conf. Там не должно быть UTF-8.
#4961
Попробовал у себя - все работает как надо:

[01-Nov-2012 21:38:52] SNMPTrapReceiver: looking for SNMP security context for node 192.168.64.1 HP6440B
[01-Nov-2012 21:38:52] SNMPTrapReceiver: received PDU of type 4
[01-Nov-2012 21:38:52] Received SNMP TRAP .1.3.6.1.4.1.171.11.63.6.2.20.0.2 from 192.168.64.1
[01-Nov-2012 21:38:52] SNMPTrapReceiver: looking for SNMP security context for node 192.168.64.1 HP6440B
[01-Nov-2012 21:38:52] EVENT 500 (ID:7983 F:0x0001 S:0 TAG:"") FROM HP6440B: SNMP trap received: .1.3.6.1.4.1.171.11.63.6.2.20.0.2 (Parameters: .1.3.6.1.2.1.1.3.0 == '5550541'; .1.3.6.1.6.3.1.1.4.1.0 == '.1.3.6.1.4.1.171.11.63.6.2.20.0.2'; .1.3.6.1.4.1.171.11.63.6.2.20.2.1 == '02 B8 70 F4 8D 20 AB 00 07 00 ')

Похоже жто проблема возникает не при обработке пакета, а при получении значения в качестве текстовой строки. Наскольку я помню, у вас UNICODE сборка сервера? Тогда возможно проблема в настройках CodePage. Если он стоит в UTF-8 скажем, то iconv (библиотека конвертации, которую использует сервер) скорее всего воспримет строку как некорректно сформированную, и прекратит конвертацию, оставив в буфере мусор.
#4962
Quote from: AP_ops on October 30, 2012, 04:42:15 PM
i did not check internal server queues, how can i do that? what should we look for?

You can open server's debug console (either using nxadm command line tool or by selecting Tools -> Server Console in Java management console) and enter show queue command. In normal circumstances size of all queues should be zero or near zero. High value for any queue, especially if it keeps high for a long time, usually indicates some problem. There are also predefined DCIs on NetXMS server's node which collect some internal metrics of the server.

Best regards,
Victor
#4963
Quote from: bdefloo on October 30, 2012, 11:27:45 AM
Hi,

Total number of objects: 14715
Number of monitored nodes: 848
Number of collectable DCIs: 7182

Config variables are attached.
Note that I did play around with the poller counts recently, but I can still reproduce the problem.

First, I do a walk on the desired OID in the MIB browser, this shows the results.

I then set debug to 9 and did a configuration poll:
[30-Oct-2012 10:14:53] [CLSN-0] Received message CMD_POLL_NODE
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] Starting configuration poll for node DCXAS041 (ID: 1225)
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] ConfPoll(DCXAS041): checking for NetXMS agent Flags={00000010} DynamicFlags={00000400}
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] ConfPoll(DCXAS041): checking for NetXMS agent - connecting
[30-Oct-2012 10:14:53] ConfPoll(DCXAS041): checking for NetXMS agent - connected
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] AgentConnection::getSupportedParameters(): RCC=0
[30-Oct-2012 10:14:53] AgentConnection::getSupportedParameters(): 151 parameters received from agent
[30-Oct-2012 10:14:53] AgentConnection::getSupportedParameters(): 2 tables received from agent
[30-Oct-2012 10:14:53] ConfPoll(DCXAS041): checking for NetXMS agent - finished
[30-Oct-2012 10:14:53] ConfPoll(DCXAS041): checking for CheckPoint SNMP on port 260
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] Event::expandText(event=244C0F20 sourceObject=1225 template='Node capabilities changed (Old: %1; New: %2)' alarmMsg='(null)')
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] EVENT 13 (ID:6396083 F:0x0000 S:0 TAG:"") FROM DCXAS041: Node capabilities changed (Old: 0x00002013; New: 0x00000012)
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_EVENTLOG_RECORDS
[30-Oct-2012 10:14:53] EPP: processing event 6396083
[30-Oct-2012 10:14:53] Node::updateInterfaceConfiguration(DCXAS041 [1225]): got 1 interfaces
[30-Oct-2012 10:14:53] Checking subnet bindings for node DCXAS041 [1225]
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] Node::executeHookScript(DCXAS041 [1225]): hook script "Hook::ConfigurationPoll" not found
[30-Oct-2012 10:14:53] Finished configuration poll for node DCXAS041 (ID: 1225)
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_POLLING_INFO
[30-Oct-2012 10:14:53] [CLSN-0] Sending message CMD_OBJECT_UPDATE

Checked again with MIB browser, no results:
[30-Oct-2012 10:14:57] Node(DCXAS041)->GetItemFromSNMP(.1.3.6.1.4.1.232.6.2.6.8.1.4.0.2): dwResult=4

Log was very helpful, I've found a problem. 1.2.4 should work as expected.

Best regards,
Victor
#4964
А что на сервере выдают date и date +%s ?
#4965
Hi all!

Can you please post number of nodes/DCIs being monitored and server configuration settings (I'm interested in poller counts and timeouts). Also, did you check internal server queues?

Best regards,
Victor