ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

nexec script dumps executed remotely via UIM

book

Article ID: 188125

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I am looking to get a dump of ALL scripts currently leveraging nexec to execute remotely via UIM.

Is there any command or utility which can give this data?

Environment

Release : 8.51

Component : UIM - NEXEC

Resolution

All scripts and commands leveraging nexec  would be stored locally on each server with nexec and not in the .cfg themselves. The nexec.cfg of each server will have the location and script names stored locally.

The nexec.cfg stores basic  profiles and commands (see example below)
<profiles>
   <windows-dir>
      name = windows-dir
      active = no
      description = list files in the temporary directory
      cmd = c:\windows\system32\cmd.exe /c
      arguments = dir $dirflags %TEMP%\\$filemask
      level = 1
      timeout = 30
      password =
      <parameters>
         filemask = .
         dirflags = /s
      </parameters>
   </windows-dir>
   <unix-ls>
      name = unix-ls
      active = no
      description = list log files in the temporary directory
      cmd = /bin/sh -c
      arguments = ls $dirflags /tmp/$filemask
      level = 3
      timeout = 10
      password =
      <parameters>
         filemask = *.log
         dirflags = -d
      </parameters>
   </unix-ls>
   <xxxxx>
      name = xxxxx
      active = yes
      cmd = test command xxxxx
      level = 1
      timeout = 30
      username =
      password =
   </xxxxx>
</profiles>

Additional Information

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/ca-unified-infrastructure-management-probes/GA/alphabetical-probe-articles/nexec-command-execution/nexec-im-configuration.html

https://knowledge.broadcom.com/external/article?articleId=34707