Getting the status from the agent.
==============
Agent (v6.1.2)
==============
Status date: 2018-04-12 00:07:15.824979 UTC
Pid: 339
Python Version: 2.7.14
Logs:
Check Runners: 1
Log Level: info
Paths
=====
Config File: /etc/datadog-agent/datadog.yaml
conf.d: /etc/datadog-agent/conf.d
checks.d: /etc/datadog-agent/checks.d
Clocks
======
NTP offset: -0.003034407 s
System UTC time: 2018-04-12 00:07:15.824979 UTC
Host Info
=========
bootTime: 2018-04-11 00:51:39.000000 UTC
kernelVersion: 4.9.75-25.55.amzn1.x86_64
os: linux
platform: debian
platformFamily: debian
platformVersion: 9.4
procs: 73
uptime: 75896
virtualizationRole: guest
virtualizationSystem: xen
Hostnames
=========
ec2-hostname: ip-10-70-4-121.dv.xxxxx.com
hostname: i-0f410813af785d1a3
instance-id: i-0f410813af785d1a3
socket-fqdn: ip-10-70-4-121
socket-hostname: ip-10-70-4-121
=========
Collector
=========
Running Checks
==============
cpu
---
Total Runs: 522
Metrics: 6, Total Metrics: 3126
Events: 0, Total Events: 0
Service Checks: 0, Total Service Checks: 0
disk
----
Total Runs: 522
Metrics: 136, Total Metrics: 70992
Events: 0, Total Events: 0
Service Checks: 0, Total Service Checks: 0
docker
------
Total Runs: 522
Metrics: 53, Total Metrics: 27666
Events: 0, Total Events: 8
Service Checks: 1, Total Service Checks: 522
file_handle
-----------
Total Runs: 522
Metrics: 1, Total Metrics: 522
Events: 0, Total Events: 0
Service Checks: 0, Total Service Checks: 0
http_check
----------
Total Runs: 522
Metrics: 4, Total Metrics: 2088
Events: 0, Total Events: 0
Service Checks: 2, Total Service Checks: 1044
Warning: Skipping SSL certificate validation for https://172.17.0.2:8443/xxxxxx/health based on configuration
io
--
Total Runs: 522
Metrics: 130, Total Metrics: 67770
Events: 0, Total Events: 0
Service Checks: 0, Total Service Checks: 0
load
----
Total Runs: 522
Metrics: 6, Total Metrics: 3132
Events: 0, Total Events: 0
Service Checks: 0, Total Service Checks: 0
memory
------
Total Runs: 522
Metrics: 14, Total Metrics: 7308
Events: 0, Total Events: 0
Service Checks: 0, Total Service Checks: 0
network
-------
Total Runs: 522
Metrics: 32, Total Metrics: 16704
Events: 0, Total Events: 0
Service Checks: 0, Total Service Checks: 0
ntp
---
Total Runs: 522
Metrics: 1, Total Metrics: 515
Events: 0, Total Events: 0
Service Checks: 1, Total Service Checks: 522
uptime
------
Total Runs: 522
Metrics: 1, Total Metrics: 522
Events: 0, Total Events: 0
Service Checks: 0, Total Service Checks: 0
========
JMXFetch
========
Initialized checks
==================
no checks
Failed checks
=============
no checks
=========
Forwarder
=========
CheckRunsV1: 522
IntakeV1: 49
RetryQueueSize: 0
Success: 1093
TimeseriesV1: 522
API Keys status
===============
https://6-1-2-app.agent.datadoghq.com,*************************c64e7: API Key valid
==========
Logs Agent
==========
Logs Agent is not running
=========
DogStatsD
=========
Checks Metric Sample: 211828
Event: 9
Events Flushed: 9
Number Of Flushes: 522
Series Flushed: 156078
Service Check: 7830
Service Checks Flushed: 8337
Dogstatsd Metric Sample: 2090
Describe the results you received:%%port%% is ALWAYS replaced with 8080, despite 8443 being the highest exposed port.
No matter what I try, %%port_0%% or %%port_1%% it's always 8080, never 8443.
Describe the results you expected:%%port%% to be replaced with the highest exposed port 8443%%port_0%% to be replaced with 8080%%port_1%% to be replaced with 8443
Additional information you deem important (e.g. issue happens only occasionally):
Always reproducible.
Output of the info page
Additional environment details (Operating System, Cloud provider, etc):
Steps to reproduce the issue: Given the following container (I've retracted chunks of this, so it may not be valid json):
And the following template:
Describe the results you received:
%%port%%
is ALWAYS replaced with8080
, despite8443
being the highest exposed port. No matter what I try,%%port_0%%
or%%port_1%%
it's always8080
, never8443
.Describe the results you expected:
%%port%%
to be replaced with the highest exposed port8443
%%port_0%%
to be replaced with8080
%%port_1%%
to be replaced with8443
Additional information you deem important (e.g. issue happens only occasionally): Always reproducible.