What is a Remote Command?
The Remote Command package is designed to run a console command and capture the resulting command exit code and standard output text with the ServicePilot Agent. This can be useful for executing scripts or commands on remote machines and capturing the results for analysis or monitoring.
By using the Remote Command package, administrators can automate routine tasks, troubleshoot issues, and monitor the status of remote systems.
Remote Command monitoring
ServicePilot makes it very easy to monitor the execution of scripts and commands on remote machines. Simply add a appmon-remote-command resource via the ServicePilot provisioning page and specifying a script file. ServicePilot will automatically upload the script to the remote machine and monitor its execution result.
For each remote command executed, the following statistics are collected:
- Exit code
- Execution time
- Number of time outs
- Command response
- Output text parsed and relevant information extracted using RegEx and stored and string and numberic indicators
How to install a remote-command resource?
- Use your ServicePilot OnPremise installation or a SaaS account.
- Add a new remote-command resource via the web interface (
/prmresources) or via API (
/prmpackagespage), the default ServicePilot agent or another agent will be provisioned automatically.
Details of the remote-command package are located in the
/prmpackagespage of the software.
ServicePilot enables you to deliver IT services faster and more securely with automated discovery and advanced monitoring features.
By correlating the technology REMOTE COMMAND with APM and infrastructure monitoring, ServicePilot is able to provide a more comprehensive view of an organization's IT environment.
This allows IT teams to quickly identify and diagnose issues that may be impacting application performance, and take corrective action before end-users are affected.