Configuring the Cloud Foundry KM
To configure PATROL for Cloud Foundry
Do the following:
- Create the policy by following the steps described in the Defining a monitoring policy section.
- Ensure that the Monitoring tab is selected. By default, this tab is selected.
- Click Add Monitoring Configuration.
- On the Add Monitoring Configuration dialog box, configure the following properties:
- Monitoring Solution: Cloud Foundry
- Version: 1.0.00
- Monitor Profile: Cloud Foundry
- Monitor Type: Cloud Foundry
Set the JAVA Home location.
Enter the path to the JRE directory on the PATROL Agent server. If the specified path does not exist or if this field is left blank, the KM searches for the JRE in the <PATROL_HOME> directory.
- Click Add to enter the Cloud Foundry Domain details.
- Cloud Foundry Details:
System Domain name: Enter the Cloud Foundry System Domain name.
Username: Enter the user name to connect to the system domain.
- Password: Enter the password.
- Application Monitoring:
Application Monitoring: Select this option to enable application monitoring. The KM provides following metrics to monitor the health of the application instance.
- Object Filtering: Expand this option to filter Organization, Space, and Application.
- Organization Filter Type: Select whether to Include or Exclude the Cloud Foundry organization from monitoring.
Organization Filter: Enter the name of the Cloud Foundry organization that you want to include or exclude from monitoring. You can enter the exact organization name or a Java regular expression matching multiple names. To add multiple organization names, enter a pipe-separated list of the names.
- Space Filter Type: Select whether to Include or Exclude the Cloud Foundry space from monitoring.
Space Filter: Enter the name of the Cloud Foundry space that you want to include or exclude from monitoring. You can enter the exact space name or a Java regular expression matching multiple names. To add multiple space names, enter a pipe-separated list of the names.
- Application Filter Type: Select whether to Include or Exclude the Cloud Foundry application from monitoring.
Application Filter: Enter the name of the Cloud Foundry application that you want to include or exclude from monitoring.You can enter the exact application name or a Java regular expression matching multiple names. To add multiple application names, enter a pipe-separated list of the names.
- Object Filtering: Expand this option to filter Organization, Space, and Application.
- Component Monitoring: The Diego Cell, Diego Brain, Diego Database, Router, and UAA components are enabled by default.
Diego Cell: Select this option to enable monitoring of Diego Cell instances.
Diego Brain: Select this option to enable monitoring of Diego Brain instances.
Diego Database: Select this option to enable monitoring of Diego Database instances.
Router: Select this option to enable monitoring of Router instances.
UAA: Select this option to enable monitoring of UAA instances.
Syslog Scheduler: Select this option to enable monitoring of Syslog Scheduler instances.
Syslog Adapter: Select this option to enable monitoring of Syslog Adapter instances.
Loggregator Traffic Controller: Select this option to enable monitoring of Loggregator Traffic Controller instances.
Consul Server: Select this option to enable monitoring of Consul Server instances.
Doppler: Select this option to enable monitoring of Doppler instances.
Cloud Controller: Select this option to enable monitoring of Cloud Controller instances.
Cloud Controller Worker: Select this option to enable monitoring of Cloud Controller Worker instances.
NATS: Select this option to enable monitoring of NATS instances.
TCP Router: Select this option to enable monitoring of TCP Router instances.
- Event Monitoring: Select this option to enable event monitoring. The KM monitors the number of events that meet the configured filtering criteria. Use Event Filter List to configure the filters.
- Event Filter List: Click Add to configure event filters.
- Filter Name: Enter a unique name to identify this filter instance.
Event Type: Enter the types of event. Some examples of event types are audit.route.create, audit.service.update, audit.app.stop, audit.app.restage, audit.app.package.download, and so on.
For a complete list of types of event, see Cloud Foundry documentation.
Actee Name: Enter the name of the actee.
Organization Name: Enter the name of the organization.
Space Name: Enter the name of the space.
Trigger event as: Select one of the following options to define the type of alert you want to raise when the filtering criteria is met.
Type of alert
Description
Do not trigger event
Custom event is not generated
Alarm
Custom event of alarm type is generated for each matched event
Warning
Custom event of warning type is generated for each matched event
Information
Custom event of information type is generated for each matched event
- Administration:
JVM Arguments: Enter the additional Java Virtual Machine arguments for the Java collector process.
- Enable Logging: Select this option to enable the debug. The log files are located at <PATROL_HOME>/pcf/log location on the PATROL Agent server.
Log Level: Select the debug log level.
- FINE
- FINER
- FINEST
Device Mapping: Select this option to enable device mapping of the System Domain and Component instances. If this option is not selected the System Domain and Component instances appear below the PATROL Agent device in the TrueSight console. This option is enabled by default.
- Cloud Foundry Details: