Introduction

Remote commands provide an easy way to get a few details about a resource from OpsRamp portal without logging to the resource.

Prerequisites

  • Clients should have “Remediation and Automation” package and “Remote Access Management” Addon.
  • Users should have “Allow to Run Commands” permission to run the remote commands.

Supported Remote Commands

To see the supported remote commands in OpsRamp portal, follow the below steps:

  1. Go to Infrastructure > Resources.
  2. Choose the agent installed resource to run the remote commands, or use the advanced search field to find the resource.
  3. Click on the resource.
  4. Next, navigate to the right top corner of the page and click on symbol (>_).
  5. Now you will see the complete list of supported remote commands as shown in below table.

List of remote commands name with supported Operating System (OS);

Remote CommandsDescriptionWindowsLinuxFreeBSD
CPU and Memory UsageThis remote command gives CPU and Memory Usage of the resource.YesYesYes
Disable Windows Auto UpdateThis remote command is used to disable automatic updates in windows.YesNoNo
Disk UsageThis remote command is used to get Disk Usage on a resource.YesYesYes
Enable Agent log Debug ModeThis remote command is used to enable debug mode on agent log. You can select the time duration from dropdown options (10,30 or 60 minutes). Once the time period completes, agent log level gets reverted back to WARNING level.YesYesYes
Critical and Error Event logsThis remote command is used to get the list of error and critical events triggered based on the time period specified.YesNoNo
HostnameIt is used to get the hostname of the resource.YesNoNo
Internal Agent CommandInternal agent commands are used to get information and to perform action. Below are the possible options for agent internal commands: SYNC_MONIT_CONFIGS POST_INVENTORYYesYesYes
IPConfigThis remote command is used to get the IpAddress of the resource.YesYesYes
NSLookupNslookup command is useful for querying the Domain Name System (DNS) to obtain domain name or IP address mapping or any other specific DNS record.YesYesNo
PingThis remote command is used to check whether given IP is reachable or not.YesYesYes
ProcessesThis remote command shows list of process and basic information of each process.YesYesYes
RDP and VNC OptionsThis remote command is used to get RDP (Remote Desktop Protocal) and VNC (Virtual Network Computing) information. This is used to check whether RDP and VNC is enabled or not in the device.YesNoNo
Restart AgentRestart Agent is used to restart agent service.YesYesYes
Restart Remote AgentThis remote command is used to restart the remote Windows agent.You must provide the remote RDP credentials.YesNoNo
Remote System InfoThis remote command is used to get information about remote devices. It provides details of hostname, OS name, OS version etc.YesNoNo
ServicesThis remote command used to list of services and their basic information.YesYesYes
Show Recent Agent LogThis remote command is used to get the recent agent logs upto 500 lines. You can choose 100, 200, or 500 using dropdown list.YesYesYes
System InfoSystem Info command is used to get information of a system. It provides information such as: hostname ,OS Name, OS version etc.YesYesYes
System StatusSystem Info command is used to get information about a system. It provides information such as: hostname, OS Name, OS version etc.YesNoNo
Trace RouteTrace Route is used to display possible routes and measure transit delays of packets across an Internet Protocol Network.YesNoNo
Execute a CommandThis remote command is visible for Partner and Client users.