Overview
Agent configuration settings allow you to manage and modify settings directly from the OpsRamp UI without logging into the host machine.
Scripts Availability
Scripts for both Linux and Windows operating systems can be found in OpsRamp under Automation > Scripts > OpsRamp Agent.
Below are the file names:
- Windows - Modify Agent Configuration Settings
- Linux - Modify Agent Configuration Settings
Prerequisite
Ensure the agent is up and connected with OpsRamp.
Actions with Scripts
These scripts provide self-explanatory features, including commands, keys, and values. The following actions can be performed:
- Dashboard Enable/Disable: This property is used to enable or disable the application dashboards.
- Disk top 10 alerts: This property is used to enable or disable disk top 10 alerts.
- Log level: This property is used to change the log level to the following modes Eg: debug, warning, error, and info.
- Log file counts: This property is used to change the number of log backup counts before it gets rotated.
- Log file size: This property is used to change the individual log file size in MB.
- Features: This property is used to enable patching, automation, consoles, and remote command functionality.
- Repetitive alerts interval: This property is used to change repetitive alert internal time.
For all the above actions Key and Value is important. For each key, the supported values are clearly mentioned in the script. Agent restart is required for a few actions.
Note
If the restart required is True, you can not see the output on the Script Activity page.Application Dashboards will no longer be created automatically when you install agent v13 (and later versions) on new servers.
Agents (v12 or older) installed on your existing servers will continue to have monitoring and dashboards enabled. When you upgrade such existing servers to agent v13, monitoring and dashboards will continue to work as per the previous configuration.