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:
- Go to Infrastructure > Resources.
- Choose the agent installed resource to run the remote commands, or use the advanced search field to find the resource.
- Click on the resource.
- Next, navigate to the right top corner of the page and click on symbol (
>_
). - 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 Commands | Description | Windows | Linux | FreeBSD |
---|---|---|---|---|
CPU and Memory Usage | This remote command gives CPU and Memory Usage of the resource. | Yes | Yes | Yes |
Disable Windows Auto Update | This remote command is used to disable automatic updates in windows. | Yes | No | No |
Disk Usage | This remote command is used to get Disk Usage on a resource. | Yes | Yes | Yes |
Enable Agent log Debug Mode | This 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. | Yes | Yes | Yes | Critical and Error Event logs | This remote command is used to get the list of error and critical events triggered based on the time period specified. | Yes | No | No | Hostname | It is used to get the hostname of the resource. | Yes | Yes | Yes | Internal Agent Command | Internal agent commands are used to get information and to perform action. Below are the possible options for agent internal commands: SYNC_MONIT_CONFIGS POST_INVENTORY | Yes | Yes | Yes | IPConfig | This remote command is used to get the IpAddress of the resource. | Yes | Yes | Yes | NSLookup | Nslookup command is useful for querying the Domain Name System (DNS) to obtain domain name or IP address mapping or any other specific DNS record. | Yes | Yes | No | Ping | This remote command is used to check whether given IP is reachable or not. | Yes | Yes | Yes | Processes | This remote command shows list of process and basic information of each process. | Yes | Yes | Yes | RDP and VNC Options | This 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. | Yes | No | No | Restart Agent | Restart Agent is used to restart agent service. | Yes | Yes | Yes | Restart Remote Agent | This remote command is used to restart the remote Windows agent.You must provide the remote RDP credentials. | Yes | No | No | Remote System Info | This remote command is used to get information about remote devices. It provides details of hostname, OS name, OS version etc. | Yes | No | No | Services | This remote command used to list of services and their basic information. | Yes | Yes | Yes | Show Recent Agent Log | This remote command is used to get the recent agent logs upto 500 lines. You can choose 100, 200, or 500 using dropdown list. | Yes | Yes | Yes | System Info | System Info command is used to get information of a system. It provides information such as: hostname ,OS Name, OS version etc. | Yes | Yes | Yes | System Status | System Info command is used to get information about a system. It provides information such as: hostname, OS Name, OS version etc. | Yes | No | No | Trace Route | Trace Route is used to display possible routes and measure transit delays of packets across an Internet Protocol Network. | Yes | Yes | Yes | Execute a Command | This remote command is visible for Partner and Client users. | Yes | Yes | No |