Можно ли заставить программу собирать расшифрованые при помощи mib файлов значения, вместо написания скриптов?
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 MenuQuote
[26-Feb-2014 09:09:11.392] [DEBUG] Database Connection Pool exhausted, fallback connection used
QuoteЖду минут 5...
netxmsd: down
Proceeding with server shutdown...
$ ps ax | grep netxms
2877 ? Ssl 1:16 /usr/bin/netxmsd -d -D 5
$ tail /var/log/netxms
[26-Feb-2014 09:09:11.392] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:09:11.392] [DEBUG] Starting status poll for node PI0-500-6340.it.bank.gov.ua (ID: 1262)
[26-Feb-2014 09:09:11.392] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:09:11.392] [DEBUG] Starting status poll for node i0vc8950.it.bank.gov.ua (ID: 1264)
[26-Feb-2014 09:09:11.392] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:09:11.657] [DEBUG] Finished caching of DCI values
[26-Feb-2014 09:09:24.663] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:09:57.248] [DEBUG] Updating maps...
[26-Feb-2014 09:09:57.248] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:10:16.357] [INFO ] NetXMS Server stopped
$ sudo service netxmsd stop
nxdbmgr check
NetXMS Database Manager Version 1.2.12 Build 7861
Checking database (excluding collected data):
Database is locked by server ....
Do you wish to force database unlock? (Y/N) y
Database lock removed
* Checking zone objects... [PASSED]
* Checking node objects... [PASSED]
* Checking interface objects... [PASSED]
* Checking network service objects... [PASSED]
* Checking cluster objects... [PASSED]
* Checking template to node mapping... [PASSED]
* Checking object properties... [PASSED]
* Checking event processing policy... [PASSED]
* Checking network map links... [PASSED]
Database doesn't contain any errors
Database check completed
[26-Feb-2014 09:28:37.055] [DEBUG] WARNING: duplicate interface IP address ...
[26-Feb-2014 09:28:37.556] [DEBUG] WARNING: duplicate interface IP address ...
[26-Feb-2014 09:28:38.828] [DEBUG] WARNING: duplicate interface IP address ...
..................
[26-Feb-2014 09:31:04.089] [DEBUG] Job Manager worker thread started
[26-Feb-2014 09:31:04.090] [DEBUG] Node poller started
[26-Feb-2014 09:31:04.091] [DEBUG] Event storm detector thread stopped because event storm detection is off
[26-Feb-2014 09:31:04.098] [DEBUG] PollManager: 77 pollers to start
[26-Feb-2014 09:31:04.122] [DEBUG] New DB connection opened: handle=0x5f2a550
[26-Feb-2014 09:31:04.131] [DEBUG] New DB connection opened: handle=0x6377020
[26-Feb-2014 09:31:04.157] [DEBUG] New DB connection opened: handle=0x28e2f60
[26-Feb-2014 09:31:04.184] [DEBUG] New DB connection opened: handle=0x6359860
[26-Feb-2014 09:31:04.218] [DEBUG] New DB connection opened: handle=0x6bd8b0
[26-Feb-2014 09:31:04.244] [DEBUG] New DB connection opened: handle=0x631c400
[26-Feb-2014 09:31:04.282] [DEBUG] New DB connection opened: handle=0x62c1650
[26-Feb-2014 09:31:04.310] [DEBUG] New DB connection opened: handle=0x62c3d50
[26-Feb-2014 09:31:04.340] [DEBUG] New DB connection opened: handle=0x6282990
[26-Feb-2014 09:31:04.371] [DEBUG] New DB connection opened: handle=0x6263020
[26-Feb-2014 09:31:04.398] [DEBUG] New DB connection opened: handle=0x623f1e0
[26-Feb-2014 09:31:04.426] [DEBUG] New DB connection opened: handle=0x5fafa30
[26-Feb-2014 09:31:04.658] [DEBUG] New DB connection opened: handle=0x61fcf50
[26-Feb-2014 09:31:04.684] [DEBUG] New DB connection opened: handle=0x61b4b60
[26-Feb-2014 09:31:04.713] [DEBUG] New DB connection opened: handle=0x618ea90
[26-Feb-2014 09:31:04.748] [DEBUG] New DB connection opened: handle=0x615c150
[b][26-Feb-2014 09:31:04.748] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:31:04.748] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:31:04.748] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:31:04.748] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:31:04.748] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:31:04.748] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:31:04.749] [DEBUG] Database Connection Pool exhausted, fallback connection used[/b]
[26-Feb-2014 09:31:04.749] [DEBUG] Syncer thread started, sync_interval = 60
[26-Feb-2014 09:33:05.192] [DEBUG] [CLSN-0] Server time zone: UTC+00UTC
[26-Feb-2014 09:33:05.192] [DEBUG] Database Connection Pool exhausted, fallback connection used
.....
[26-Feb-2014 09:33:35.191] [DEBUG] [CLSN-0] RecvNXCPMessageEx failed (0)
$ sudo service netxmsd stop
$ tail -n100 /var/log/netxms
[26-Feb-2014 09:35:04.256] [INFO ] NetXMS Server stopped
[26-Feb-2014 09:35:04.256] [DEBUG] DB connection 0x5f2a550 closed
[26-Feb-2014 09:35:04.256] [DEBUG] Syncer thread terminated
[26-Feb-2014 09:35:04.256] [DEBUG] UptimeCalculator thread terminated
[26-Feb-2014 09:35:04.256] [DEBUG] Client keep-alive thread terminated
[26-Feb-2014 09:35:04.256] [DEBUG] Item poller thread terminated
[26-Feb-2014 09:35:04.256] [DEBUG] Watchdog thread terminated
[26-Feb-2014 09:35:04.256] [DEBUG] Job Manager worker thread stopped
[26-Feb-2014 09:35:04.256] [DEBUG] PollManager: main thread terminated
[26-Feb-2014 09:35:05.258] [DEBUG] All threads was notified, continue with shutdown
[26-Feb-2014 09:35:05.259] [DEBUG] All objects saved to database
[26-Feb-2014 09:35:05.259] [DEBUG] All users saved to database
[26-Feb-2014 09:35:05.259] [DEBUG] DB connection 0x6105120 closed
[26-Feb-2014 09:35:05.259] [DEBUG] DB connection 0x5d95b00 closed
[26-Feb-2014 09:35:05.259] [DEBUG] Database writer stopped
[26-Feb-2014 09:35:05.464] [DEBUG] SNMP Trap Receiver terminated
$ ps aux | grep netxms
$ nxdbmgr check
NetXMS Database Manager Version 1.2.12 Build 7861
Checking database (excluding collected data):
Database is locked by server ...
Do you wish to force database unlock? (Y/N)
...

[26-Feb-2014 09:43:19.050] [DEBUG] Database Connection Pool initialized
[26-Feb-2014 09:43:19.050] [DEBUG] Database Connection Pool maintenance thread started
[26-Feb-2014 09:46:13.126] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:13.127] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:13.127] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:13.127] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:13.127] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:13.127] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:13.127] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:13.736] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:13.746] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:13.788] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:15.864] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:16.433] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:16.511] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:16.619] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:16.673] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.446] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.446] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.446] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.446] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.446] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.446] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.447] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.512] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.516] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.516] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.579] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:17.607] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:46:18.669] [DEBUG] Database Connection Pool exhausted, fallback connection used
[26-Feb-2014 09:50:44.869] [DEBUG] [CLSN-0] Server time zone: UTC+00UTC
[26-Feb-2014 09:50:45.081] [DEBUG] [CLSN-0] User [email protected] authenticated
[26-Feb-2014 09:50:48.382] [DEBUG] [CLSN-0] listLibraryImages: category=*ANY*
Quote from: andrey--k on February 24, 2014, 04:51:15 PMНашел на форуме рекомендацию поставить CP1251.Quote from: Victor Kirhenshtein on February 24, 2014, 11:14:52 AMКакие варианты кодировок?
Насчет русских букв - а в какой кодировке они по SNMP приходят? Я бы рекомендовал использовать UNICODE сборку сервера и поставить CodePage в netxmsd.conf в кодировку, используемую в SNMP.
Я попробовал windows-1251 и cp1251.
...
CodePage=CP1251
...

QuoteRequest timed out
Quoteupd. Нашел рекомендацию:
[25-Feb-2014 08:00:00.951] [DEBUG] Database Connection Pool exhausted, fallback connection used
[25-Feb-2014 08:00:00.951] [DEBUG] Database Connection Pool exhausted, fallback connection used
[25-Feb-2014 08:00:02.243] [DEBUG] [CLSN-0] Server time zone: UTC+00UTC
[25-Feb-2014 08:00:02.243] [DEBUG] Database Connection Pool exhausted, fallback connection used
[25-Feb-2014 08:00:32.242] [DEBUG] [CLSN-0] RecvNXCPMessageEx failed (0)
[25-Feb-2014 08:00:43.402] [DEBUG] [CLSN-1] Server time zone: UTC+00UTC
[25-Feb-2014 08:00:43.402] [DEBUG] Database Connection Pool exhausted, fallback connection used
[25-Feb-2014 08:01:13.401] [DEBUG] [CLSN-1] RecvNXCPMessageEx failed (0)

Quote from: Victor Kirhenshtein on February 24, 2014, 11:14:52 AMКакие варианты кодировок?
Насчет русских букв - а в какой кодировке они по SNMP приходят? Я бы рекомендовал использовать UNICODE сборку сервера и поставить CodePage в netxmsd.conf в кодировку, используемую в SNMP.
Quote from: Victor Kirhenshtein on February 24, 2014, 11:05:12 AMЭто достаточно проблематично...
Похоже что каким-то образом создался обьект с пустым именем. Можете прислать результат команды
nxadm -c "show objects"
?
Ну и после этого можно попробовать найти этот обьект и дать ему какое-то имя руками.