systemctl status do-agent do-agent service DigitalOcean do-agent agent

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
systemctl status do-agent
● do-agent.service - DigitalOcean do-agent agent
Loaded: loaded (/etc/systemd/system/do-agent.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-07-09 14:39:16 UTC; 19h ago
Main PID: 16696 (do-agent)
CGroup: /system.slice/do-agent.service
└─16696 /opt/digitalocean/bin/do-agent --syslog
Jul 09 14:39:16 ironsift0 systemd[1]: Started DigitalOcean do-agent agent.
Jul 09 16:22:28 ironsift0 /opt/digitalocean/bin/do-agent[16696]: /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/writer/sonar.go:68: fail
Jul 09 16:22:28 ironsift0 /opt/digitalocean/bin/do-agent[16696]: /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:73: fail
Jul 10 04:25:43 ironsift0 /opt/digitalocean/bin/do-agent[16696]: /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/writer/sonar.go:68: fail
Jul 10 04:25:43 ironsift0 /opt/digitalocean/bin/do-agent[16696]: /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:73: fail
-------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------
journalctl -xeu do-agent
--
-- Unit do-agent.service has begun shutting down.
Jul 03 13:29:21 ironsift0 systemd[1]: Stopped DigitalOcean do-agent agent.
-- Subject: Unit do-agent.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit do-agent.service has finished shutting down.
Jul 03 13:29:33 ironsift0 systemd[1]: Started DigitalOcean do-agent agent.
-- Subject: Unit do-agent.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit do-agent.service has finished starting up.
--
-- The start-up result is done.
Jul 04 00:42:58 ironsift0 /opt/digitalocean/bin/do-agent[23548]: /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/writer/sonar.go:68: fail
Jul 04 00:42:58 ironsift0 /opt/digitalocean/bin/do-agent[23548]: /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:73: fail
Jul 09 06:36:52 ironsift0 systemd[1]: Stopping DigitalOcean do-agent agent...
-- Subject: Unit do-agent.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit do-agent.service has begun shutting down.
Jul 09 06:36:52 ironsift0 systemd[1]: Stopped DigitalOcean do-agent agent.
-- Subject: Unit do-agent.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit do-agent.service has finished shutting down.
Jul 09 06:36:52 ironsift0 systemd[1]: Started DigitalOcean do-agent agent.
-- Subject: Unit do-agent.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit do-agent.service has finished starting up.
--
-- The start-up result is done.
Jul 09 14:39:01 ironsift0 systemd[1]: Stopping DigitalOcean do-agent agent...
-- Subject: Unit do-agent.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit do-agent.service has begun shutting down.
Jul 09 14:39:01 ironsift0 systemd[1]: Stopped DigitalOcean do-agent agent.
-- Subject: Unit do-agent.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit do-agent.service has finished shutting down.
Jul 09 14:39:16 ironsift0 systemd[1]: Started DigitalOcean do-agent agent.
-- Subject: Unit do-agent.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit do-agent.service has finished starting up.
--
-- The start-up result is done.
Jul 09 16:22:28 ironsift0 /opt/digitalocean/bin/do-agent[16696]: /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/writer/sonar.go:68: fail
Jul 09 16:22:28 ironsift0 /opt/digitalocean/bin/do-agent[16696]: /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:73: fail
Jul 10 04:25:43 ironsift0 /opt/digitalocean/bin/do-agent[16696]: /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/writer/sonar.go:68: fail
Jul 10 04:25:43 ironsift0 /opt/digitalocean/bin/do-agent[16696]: /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:73: fail
-------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------
sudo -u nobody /opt/digitalocean/bin/do-agent --debug
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:252: 11 node_exporter collectors were registered
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "diskstats"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "cpu"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "filesystem"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "netdev"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "uname"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "loadavg"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "netstat"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "meminfo"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "netclass"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "timex"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/config.go:255: node_exporter collector registered "stat"
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:51: stats collected in 16.208015ms
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:55: stats decorated in 39.627µs
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:64: stats aggregated in 546.108µs
DEBUG: 2019/07/10 10:29:16 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:527: HTTP GET http://169.254.169.254/metadata/v1/id
DEBUG: 2019/07/10 10:29:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:250: droplet ID: 51860486
DEBUG: 2019/07/10 10:29:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:527: HTTP GET http://169.254.169.254/metadata/v1/region
DEBUG: 2019/07/10 10:29:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:256: region: nyc3
DEBUG: 2019/07/10 10:29:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:527: HTTP GET http://169.254.169.254/metadata/v1/auth-token
DEBUG: 2019/07/10 10:29:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:262: auth token: AA*******
DEBUG: 2019/07/10 10:29:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:527: HTTP GET https://sonar.digitalocean.com/v1/appkey/droplet-auth-token
DEBUG: 2019/07/10 10:29:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:535: Authorization: DOMETADATA A*******
DEBUG: 2019/07/10 10:29:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:269: appkey: 28*******
DEBUG: 2019/07/10 10:29:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:421: sending metrics to https://nyc3.sonar.digitalocean.com/v1/metrics/droplet_id/51860486
DEBUG: 2019/07/10 10:29:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:69: stats written in 372.801262ms
DEBUG: 2019/07/10 10:30:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:51: stats collected in 17.159454ms
DEBUG: 2019/07/10 10:30:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:55: stats decorated in 39.515µs
DEBUG: 2019/07/10 10:30:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:64: stats aggregated in 478.581µs
DEBUG: 2019/07/10 10:30:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:421: sending metrics to https://nyc3.sonar.digitalocean.com/v1/metrics/droplet_id/51860486
DEBUG: 2019/07/10 10:30:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:69: stats written in 56.645827ms
DEBUG: 2019/07/10 10:31:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:51: stats collected in 16.528447ms
DEBUG: 2019/07/10 10:31:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:55: stats decorated in 40.844µs
DEBUG: 2019/07/10 10:31:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:64: stats aggregated in 958.846µs
DEBUG: 2019/07/10 10:31:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/pkg/clients/tsclient/client.go:421: sending metrics to https://nyc3.sonar.digitalocean.com/v1/metrics/droplet_id/51860486
DEBUG: 2019/07/10 10:31:17 /mnt/gocd-data/var/lib/go-agent1/pipelines/do-agent/cmd/do-agent/run.go:69: stats written in 94.474144ms