Use the Component Monitor Wizard in SAM
As described here, SAM templates and application monitors use various component monitors to gather data from server nodes and applications.
In addition to the predefined component monitors included in SAM, you can use the Component Monitor Wizard to create custom component monitors for a specific process, performance counter, or service, and then add that new component monitor to a template or existing application monitor (that is, a template already assigned to a node).
For an overview, watch Custom Application Monitoring with SAM.
- Click Settings > All Settings > SAM Settings > Component Monitor Wizard.
- Select a component monitor type.
- Based on the component monitor type selected, the wizard guides you through various steps. For example, if you select Process Monitor, you're prompted to select a target system from a list of available systems in your environment. You may also need to select a platform type and enter credentials for the target system. Provide all required information and click Next.
If creating a component monitor for a performance counter, do not use a "*" wildcard in the Instance field. Only one instance can be polled per component monitor.
- If you entered target system credentials, a connection test runs. If it passes, continue adding component monitors and properties. Depending on the components, you may need to enter additional server and credentials data.
- After creating a component monitor, add it to templates and application monitors, as necessary. See Manage component monitors in SAM templates and application monitors.
After polling occurs, data gathered by the application monitors appears on Node Details views.
For an example, see Create a custom JMX Monitor in SAM.