Can I start or stop a probe service using a command line?
search cancel

Can I start or stop a probe service using a command line?

book

Article ID: 194325

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Can I start or stop a probe service using a command line?

Environment

Release : 20.4.x or later

 

Resolution

You can stop or start a probe service service using the Probe Utility (PU). PU is a command-line utility located in "Program files\Nimsoft\bin" which is installed with each robot.

To start a probe service:
pu -u <user> -p <password> <Address> start_service <servicename>

To stop a windows service:
pu -u <user> -p <password> <Address> stop_service <servicename>


Where:

<user> is a nimbus user
<password> is the password associated with the Nimbus user
<Address> is the Nimsoft probe address
<servicename> is the name of the probe service

Format of Nimbus address:

/domain/hub/robot/ntservices

 

More details about the Usage:
  pu [options] <nim-address> [<command> [<data>...]]
  pu [options] -H host [-P port] [-c controller_host [-e controller_port]] [<command> [<data>...]]

<nim-address> 

Name of the probe receiving the callback, must be fully qualified if not on the local robot.  Will issue from the local controller probe.

Example of a fully qualified nim-address:  "/nim-domain/nim-hub/nim-robot/controller".

<command> Name of the callback to run on the receiving probe.  If not specified, lists the available commands on the receiving probe.
<data> Series of arguments to pass to the callback.  If required arguments are not specified, user will be asked interactively.
-V Print the version of the Probe Utility tool.
-i Run in interactive mode.
-u user  NimBUS username
-p password NimBUS password
-t sec Timeout in seconds
-d level Debug level
-L List the available commands on the receiving probe
-I  Show the receiving probe information
-R Restart the receiving probe
-S Stop the receiving probe
-H host hostname or ip of the probe receiving the callback
-P port port number of the probe receiving the callback (default 48000)
-c controller_host hostname or ip of the probe issuing the callback (default localhost)
-e controller_port port number of the probe issuing the callback (default 48000)

If you want to check how to start/stop a robot:
UIM 23.4 Documentation - Start, Stop, or Uninstall a Robot (Command Line)