You can apply G1 and G2 agent process and memory monitoring templates for Linux and Windows devices. G2 agent templates allow for threshold and filter configuration at the component level.

The agent can send cache, physical, and virtual memory components for all Linux distributions.

Agent G2 process statistics monitors

The following global templates are used to monitor devices.

Template NameSupported Metrics
Agent G2 - Linux Process Statistics Monitoringsystem.process.stats.count system.process.stats.cpu system.process.stats.memory system.process.stats.threads system.process.stats.open.fds
Agent G2 - Windows Process MonitoringSystem.windows.process.count System.windows.process.handlecount System.windows.process.pagefilebytes System.windows.process.processorcoretime.percent System.windows.process.processortime.percent System.windows.process.threadcount System.windows.process.workingset
  1. Select a client from the All Clients list.

  2. Go to Infrastructure > Resources.

  3. Go to Resource Name > Resource Details > Monitors > Template.

  4. Click +Assign Templates.

  5. Go to Apply Templates > Select Templates > Available templates and select the templates.

  6. Click Assign.

  7. In the Enter Configurations step, enter a Value for each Configuration Parameter:

    Apply Template
  8. Click Submit to apply the changes. The Templates screen displays the selected templates.

After applying the template to a device, validate the template to ensure that it is assigned to a resource.

Configuration parameters

Use the following input argument format for Linux and Windows processes, where processname is the name of the process you want to monitor:

processname@@@processname@@@processname.

The format uses @@@ to delimit multiple processes.

The Agent supports all basic and extended regular expressions, including:

  • grep with -E switch-based regular expressions for Linux.
  • PowerShell-based regular expressions for Windows.

Examples:

Example regexExample Description
opsramp-agent@@@opsramp-shieldThe component name is the respective process name.
opsramp-.\*@@@chromeThe component name is the respective process name and other process names matching the regular expression.
(ntpd|chrond)@@@notepad.\*The component name is the process name matching with a given regular expression. If the string notepad.* matches with two process names such as notepad.exe and notepad++.exe. The component names are Notepad and Notepad++.
processPattern1;;;DisplayName1@@@processPattern2;;;DisplayName2Use respective display names for each component while monitoring the same process with different arguments, where the component names are the display names for the respective process patterns.
svchost.*NetworkService;;;svchost_NetworkService@@@svchost.*DcomLaunch;;;svchost_DcomLaunchEnter the same display name while configuring component filter or component thresholds at the template or device level. Use the component name `svchost_NetworkService and svchost_DcomLaunch while defining the component filters and component thresholds.

Process statistics alert

Alerting is available for Process Count, Memory, and CPU under the process statistics monitoring.
Alerts are sent when monitoring processes and can be viewed in the alert browser. The alert subject displays process alert details similar to those shown in the figure below:

Process Alerts
Process Alerts
Process Alerts

View collected metrics

Go to Infrastructure > Resources > Device Details > Monitors > Monitors to view the collected metrics for the respective operating system:

  • Windows: Agent G2 - Windows Process Monitoring
  • Linux: Agent G2 - Linux Process Statistics Monitoring

Validate templates

Each metric name configured in the process statistics monitor has an associated graphical display. Go to Infrastructure > Resources > Device Details > Metrics and use the metric drop-down menu to select and view a metric graph.

Validate Template