機能追加 #564
監視ツールdatadog用設定変更
| ステータス: | 新規 | 開始日: | 2015/11/11 | |
|---|---|---|---|---|
| 優先度: | 通常 | 期日: | ||
| 担当者: | 山本 義治 | 進捗 %: | 0% | |
| カテゴリ: | システム連携 | 作業時間の記録: | - | |
| 対象バージョン: | - |
説明
・nginx
・kafka
・fluentd
・express
・mongod
履歴
#1 山本 義治 がほぼ10年前に更新
153.126.175.180¶
プロセス監視
[root@web1 admin]# vi /etc/dd-agent/conf.d/process.yaml
init_config:
instances:
- name: ssh
search_string: ['ssh', 'sshd']
- name: nginx
search_string: ['nginx']
- name: node
search_string: ['node']
thresholds:
critical: [5,5]
[root@web1 admin]# /etc/init.d/datadog-agent restart
Stopping Datadog Agent (using killproc on supervisord): [ OK ] Starting Datadog Agent (using supervisord): [ OK ]
[root@web1 admin]# /etc/init.d/datadog-agent info
===================
Collector (v 5.6.1)
===================
Status date: 2016-03-01 18:19:40 (4s ago)
Pid: 31575
Platform: Linux-2.6.32-573.7.1.el6.x86_64-x86_64-with-centos-6.7-Final
Python Version: 2.7.10
Logs: <stderr>, /var/log/datadog/collector.log, syslog:/dev/log
Clocks
======
NTP offset: -0.0057 s
System UTC time: 2016-03-01 09:19:45.952049
Paths
=====
conf.d: /etc/dd-agent/conf.d
checks.d: /opt/datadog-agent/agent/checks.d
Hostnames
=========
socket-hostname: web1.i-joji.com
hostname: web1.i-joji.com
socket-fqdn: web1.i-joji.com
Checks
======
ntp
---
- instance #0 [OK]
- Collected 1 metric, 0 events & 2 service checks
process
-------
- instance #0 [OK]
- instance #1 [OK]
- instance #2 [OK]
- instance #3 [OK]
- instance #4 [OK]
- instance #5 [OK]
- instance #6 [OK]
- Collected 19 metrics, 0 events & 8 service checks
disk
----
- instance #0 [OK]
- Collected 24 metrics, 0 events & 1 service check
network
-------
- instance #0 [OK]
- Collected 0 metrics, 0 events & 1 service check
Emitters
========
- http_emitter [OK]
===================
Dogstatsd (v 5.6.1)
===================
Status date: 2016-03-01 18:19:45 (1s ago)
Pid: 31573
Platform: Linux-2.6.32-573.7.1.el6.x86_64-x86_64-with-centos-6.7-Final
Python Version: 2.7.10
Logs: <stderr>, /var/log/datadog/dogstatsd.log, syslog:/dev/log
Flush count: 1
Packet Count: 0
Packets per second: 0.0
Metric count: 0
Event count: 0
Service check count: 0
===================
Forwarder (v 5.6.1)
===================
Status date: 2016-03-01 18:19:45 (2s ago)
Pid: 31574
Platform: Linux-2.6.32-573.7.1.el6.x86_64-x86_64-with-centos-6.7-Final
Python Version: 2.7.10
Logs: <stderr>, /var/log/datadog/forwarder.log, syslog:/dev/log
Queue Size: 0 bytes
Queue Length: 0
Flush Count: 3
Transactions received: 1
Transactions flushed: 1