立即与支持人员聊天
与支持团队交流

Foglight for Container Management 1.0 - User Guide

Creating and Activating a Kubernetes Agent

2
On the navigation panel, from Standard View click Container Environment or from Expert View click Dashboards > Container. Then the Container dashboard will display as below.
3
In the Container dashboard, click Create Agent on the top right. The Create Agent wizard opens.
HTTP: Namespace of Heapster should be <heapster service namespace> and Heapster Service Name should be <heapster service name>.
HTTPS: Namespace of Heapster should be <heapster service namespace> and Heapster Service Name should be https:<heapster service namespace>:.
Credential Type: choose Kube Config, and click Next.
Credential Properties: click Load from file to upload the credential, and click Next.
7

Creating and Activating a Docker Swarm Agent

Each Docker Swarm Agent monitored one docker host. If the docker host belongs to a Docker Swarm cluster, it will be considered as a manager/worker node. Otherwise, it will be considered to be a standalone docker host.

To create a Docker Swarm agent on a monitored host:

2
On the navigation panel, under Dashboards, click Administration > Agents > Agent Status.
The Agent Status dashboard opens.
3
In the Agent Status dashboard, click Create Agent.
The Create Agent wizard opens.
4
Host Selector: Select the monitored host that you want to monitor with the Docker Swarm agent instance that you are about to create, and then click Next.
5
Agent Type and Instance Name: Specify the following values, and then click Next.
Agent Type: Select DockerSwarmAgent from the agent type list.
Agent Name: Specify the name of the agent instance that you are about to create using either of the following approaches:
Generic Name: This option is selected by default. A generic name is a combination of the host name and the agent type and uses the following syntax: agent_type@host_name.
Specify Name: Type that name in the Name field. For example, MyAgent.
6
On the Summary page, review the choices you have made, and then click Finish.
The Agents table refreshes automatically, showing the new Docker Swarm Agent.
7
On the Agents table, select the Docker Swarm Agent that you create, click Edit Properties, and then click Modify the private properties for this agent.
8
In the Agents properties view, check if the following values have been configured based upon your environment:
Name: give a name to the monitored docker host, it should be unique.
Host Name: IP address or host name of the monitored docker host.
9
Return back to the Agents table, select the above property changed Docker Swarm Agent, and then click Activate.

Configuring data collection interval

The default data collection interval of agents is set to 5 minutes by default. Foglight for Container Management enables you to change this collection interval as needed.

1
On the navigation panel, under Dashboards, select Administration > Agents > Agent Status.
2
On the Agent Status dashboard, select the Kubernetes agent that you use to monitoring the container environment, and then click Edit Properties.
3
In the Edit Properties dashboard, click Edit next to the Collector Config field.
Inventory Collector: Specifies the interval for collecting components.
Metrics Collector: Specifies the interval for collecting metrics.
5
Click Save.

Using Foglight for Container Management

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级