NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: nxagent-2.2.2-x64 winperf.nsm  (Read 456 times)

serovp

  • Newbie
  • *
  • Posts: 6
    • View Profile
nxagent-2.2.2-x64 winperf.nsm
« on: January 17, 2018, 10:32:47 am »

Друзья, что означают знаки вопроса в логе агента, как от них избавиться?



2018.01.17 11:31:19.019 Log file opened (rotation policy 2, max size 4194304)
2018.01.17 11:31:19.020 *D* Log rotation policy set to 2 (size=16777216, count=4)
2018.01.17 11:31:19.020 *I* Core agent version 2.2.2
2018.01.17 11:31:19.020 *I* Additional configs was loaded from C:\NetXMS\etc\nxagentd.conf.d
2018.01.17 11:31:19.020 *I* Debug level set to 0
2018.01.17 11:31:19.054 *I* DB Library: Database driver "sqlite.ddr" loaded and initialized successfully
2018.01.17 11:31:19.234 *I* Subagent "WinNT" (WINNT.NSM) loaded successfully (version 2.2.2)
2018.01.17 11:31:19.241 *I* Subagent "FILEMGR" (filemgr.nsm) loaded successfully (version 2.2.2)
2018.01.17 11:31:19.255 *I* Subagent "PING" (ping.nsm) loaded successfully (version 2.2.2)
2018.01.17 11:31:19.280 *I* Subagent "LOGWATCH" (logwatch.nsm) loaded successfully (version 2.2.2)
2018.01.17 11:31:20.358 *W* CheckCounter: PDH Error C0000BB8 in call to PdhAddCounter (????????? ??????? ?? ??????? ?? ???? ??????????.)
2018.01.17 11:31:20.360 *W* CheckCounter: PDH Error C0000BB8 in call to PdhAddCounter (????????? ??????? ?? ??????? ?? ???? ??????????.)
2018.01.17 11:31:20.361 *W* CheckCounter: PDH Error C0000BB8 in call to PdhAddCounter (????????? ??????? ?? ??????? ?? ???? ??????????.)
2018.01.17 11:31:20.362 *W* H_PdhCounterValue: PDH Error C0000BB8 in call to PdhAddCounter (????????? ??????? ?? ??????? ?? ???? ??????????.)
2018.01.17 11:31:20.363 *W* CheckCounter: PDH Error C0000BB8 in call to PdhAddCounter (????????? ??????? ?? ??????? ?? ???? ??????????.)
2018.01.17 11:31:20.364 *W* CheckCounter: PDH Error C0000BB8 in call to PdhAddCounter (????????? ??????? ?? ??????? ?? ???? ??????????.)
2018.01.17 11:31:20.365 *W* CheckCounter: PDH Error C0000BB8 in call to PdhAddCounter (????????? ??????? ?? ??????? ?? ???? ??????????.)
2018.01.17 11:31:20.366 *W* CheckCounter: PDH Error C0000BB8 in call to PdhAddCounter (????????? ??????? ?? ??????? ?? ???? ??????????.)
2018.01.17 11:31:20.367 *W* CheckCounter: PDH Error C0000BB8 in call to PdhAddCounter (????????? ??????? ?? ??????? ?? ???? ??????????.)
2018.01.17 11:31:20.367 *I* Subagent "WinPerf" (winperf.nsm) loaded successfully (version 2.2.2)
2018.01.17 11:31:21.369 *I* Listening on socket 0.0.0.0:4700
2018.01.17 11:31:21.369 *I* Listening on socket [::]:4700
2018.01.17 11:31:22.369 *I* NetXMS Agent started
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6365
    • View Profile
Re: nxagent-2.2.2-x64 winperf.nsm
« Reply #1 on: January 17, 2018, 11:27:19 am »

Скорее всего это русские буквы. Если Windows русский, то названия счетчиков тоже по русски пишутся. Лог файл пишется в той кодировке, которая выставлена для non-UNICODE приложений.
Logged

serovp

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: nxagent-2.2.2-x64 winperf.nsm
« Reply #2 on: January 17, 2018, 12:24:21 pm »

Да, windows русский. Я не очень понимаю как мне исправить эту ситуацию. Запускать агента с каким то ключем? Или вы имеете ввиду поменять настройки кодировки в самом windows ?
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6365
    • View Profile
Re: nxagent-2.2.2-x64 winperf.nsm
« Reply #3 on: January 17, 2018, 01:25:52 pm »

Да, в самом Windows. Вроде называлось так "encoding used by non-UNICODE programs". Ну и возможно что настройки правильные, просто надо при просмотре лога выбрать правильную кодировку.
Logged