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

Topics - VladimirV

#1
Добрый день!

Возможно ли посмотреть через NetXMS Management Console конфигурацию агента из дополнительных конфигурационных файлов расположенных в каталоге nxagentd.conf.d?
Если нет, планируется ли такая возможность в будущем?
#2
Комманда в ExternalParameter выполняется не полностью.
Сервер и агент v2.0.5
Лог агента:
[26-Aug-2016 14:36:57.729] [DEBUG] [session:0] Received message CMD_GET_PARAMETER
[26-Aug-2016 14:36:57.729] [DEBUG] [session:0] Requesting parameter "RAIDControllerStatus"
[26-Aug-2016 14:36:57.730] [DEBUG] H_ExternalParameter called for "RAIDControllerStatus" "E"C:\Program Files\Adaptec\Adaptec Storage Manager\arcconf.exe" getconfig 1 ad | find /C "Optimal""
[26-Aug-2016 14:36:57.730] [DEBUG] RunExternal called for "RAIDControllerStatus" "E"C:\Program Files\Adaptec\Adaptec Storage Manager\arcconf.exe" getconfig 1 ad | find /C "Optimal""
[26-Aug-2016 14:36:57.730] [DEBUG] RunExternal: command line is ""C:\Program Files\Adaptec\Adaptec Storage Manager\arcconf.exe" getconfig 1 ad | find /C "Optimal""
[26-Aug-2016 14:36:58.624] [DEBUG] [session:0] GetParameterValue(): result is 0 (SUCCESS)
[26-Aug-2016 14:36:58.624] [DEBUG] [session:0] Sending message CMD_REQUEST_COMPLETED (size 88)
[26-Aug-2016 14:36:58.624] [DEBUG] [session:0] Outgoing message dump:
  ** 001D0008000000580000005E00000002
  ** 0000001C000000000000000000000000
  ** 0000001501000000000000280043006F
  ** 006E00740072006F006C006C00650072
  ** 007300200066006F0075006E0064003A
  ** 0020003100000000
  ** code=0x001D (CMD_REQUEST_COMPLETED) flags=0x0008 id=94 size=88 numFields=2
  ** [    28] INT32    0
  ** [    21] STRING   "Controllers found: 1"


Вывод комманды в консоли:
C:\>"C:\Program Files\Adaptec\Adaptec Storage Manager\arcconf.exe" getconfig 1 ad | find /c "Optimal"
1


Вывод первой комманды:
C:\>"C:\Program Files\Adaptec\Adaptec Storage Manager\arcconf.exe" getconfig 1 ad
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Channel description                      : SAS/SATA
   Controller Model                         : Adaptec 4800SAS
   Controller Serial Number                 : 7C2710E1D59
   Physical Slot                            : Unknown
   Temperature                              : 40 C/ 104 F (Normal)
   Installed memory                         : 256 MB
   Copyback                                 : Disabled
   Background consistency check             : Disabled
   Automatic Failover                       : Enabled
   Defunct disk drive count                 : 0
   Logical devices/Failed/Degraded          : 4/0/0
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 5.2-0 (11564)
   Firmware                                 : 5.2-0 (11564)
   Driver                                   : 5.2-0 (16119)
   Boot Flash                               : 5.2-0 (11564)
   --------------------------------------------------------
   Controller Battery Information
   --------------------------------------------------------
   Status                                   : Not Installed


Command completed successfully.


Часть конфиг агента:

DebugLevel = 9
ExecTimeout = 10000
ExternalParameter = RAIDControllerStatus:"C:\Program Files\Adaptec\Adaptec Storage Manager\arcconf.exe" getconfig 1 ad | find /C "Optimal"
#3
Добрый день.

При попытке соединения появляется ошибка

Quote---------------------------
PuTTY Error
---------------------------
Unable to open connection to
BJECT_IP_ADDR
Host does not exist

command: putty.exe -ssh %OBJECT_IP_ADDR%
NetXMS 2.0.2, putty 0.64

Настройка была проведена по темам:
https://www.netxms.org/forum/feature-requests/extra-tools/
https://www.netxms.org/forum/e-eoe-o-koaot-netxms/oat-omoot-okat-o-ssh/