Pre-requisites to configuring the monitor profile

Before configuring the monitor profile, ensure that the ports that you use to connect to the cluster (default 6443) and all cluster nodes (10250; cannot be changed) are accessible by the PATROL Agents that you have selected for monitoring your Kubernetes environment. 

Understanding monitoring scope by envChecker utility

To understand what nodes, namespaces, pods, and containers that you can monitor in your environment, run the envChecker utility available in the following folder:

Windows: %PATROL_HOME%\k8s\bin

Linux: $PATROL_HOME/../k8s/bin

The utility also helps you to confirm if your connection with Kubernetes is established correctly. It lists the number of instances of nodes, namespaces, pods, and containers that can be monitored in your environment. You can also select to include nodes, components, and containers to the report or not. You also get the option to filter (include or exclude) namespaces in the report.

To continue getting uninterrupted monitoring results, configure filtering of these instances carefully in the Infrastructure or Monitor policy.

To run the utility

  1. Go to the directory where the utility is available, and run the following command:




  2. Enter the IP address or host name of the master node.
  3. Enter the port to access the master node.
  4. Enter a value to select the authentication type — 1 for certificate or 0 for token.
  5. Based on the authentication type that you selected, either enter the client certificate file path and password or enter the authentication token.
  6. Type Y to use proxy server configuration or N otherwise.
  7. If you have opted to use proxy server configuration, enter the server name, port, username, and password to access the server.
  8. Type Y to include nodes in the report or N otherwise.
  9. Type Y to include component instance count in the report or N otherwise.
  10. Type Y to include container instance count in the report or N otherwise.
  11. Type 0 to include or 1 to exclude namespaces in the report.
  12. Based on the option you entered, enter regular expressions to filter namespaces in the report.
    For example, to include all namespaces that begin with production, first type 0 and then enter the following regular expression: ^prod.*
  13. Press Enter.
Was this page helpful? Yes No Submitting... Thank you