103 lines
2.2 KiB
Markdown
103 lines
2.2 KiB
Markdown
# Categraf
|
|
|
|
Categraf is a monitoring agent for nightingale/prometheus/m3db/victoriametrics/thanos/influxdb/tdengine.
|
|
|
|
## QuickStart
|
|
|
|
[QuickStart](https://www.gitlink.org.cn/flashcat/categraf/wiki)
|
|
|
|
## Releases
|
|
|
|
[Releases](https://www.gitlink.org.cn/flashcat/categraf/releases)
|
|
|
|
## Build
|
|
|
|
```shell
|
|
# export GO111MODULE=on
|
|
# export GOPROXY=https://goproxy.cn
|
|
go build
|
|
```
|
|
|
|
## Deploy categraf as daemonset
|
|
|
|
```shell
|
|
edit k8s/categraf.yaml, replace NSERVER_SERVICE_WITH_PORT with service ip:port of nserver in your cluster, replace CATEGRAF_NAMESPACE with namespace value, then run:
|
|
|
|
kubectl apply -n monitoring -f ks8/categraf.yaml
|
|
```
|
|
|
|
## Test
|
|
|
|
```shell
|
|
./categraf --test
|
|
|
|
# usage:
|
|
./categraf --help
|
|
```
|
|
|
|
## Pack
|
|
|
|
```shell
|
|
tar zcvf categraf.tar.gz categraf conf
|
|
```
|
|
|
|
## Plan
|
|
|
|
- [x] [system](inputs/system)
|
|
- [x] [kernel](inputs/kernel)
|
|
- [x] [kernel_vmstat](inputs/kernel_vmstat)
|
|
- [x] [linux_sysctl_fs](inputs/linux_sysctl_fs)
|
|
- [x] [cpu](inputs/cpu)
|
|
- [x] [mem](inputs/mem)
|
|
- [x] [net](inputs/net)
|
|
- [x] [netstat](inputs/netstat)
|
|
- [x] [disk](inputs/disk)
|
|
- [x] [diskio](inputs/diskio)
|
|
- [x] [conntrack](inputs/conntrack)
|
|
- [x] [ntp](inputs/ntp)
|
|
- [x] [processes](inputs/processes)
|
|
- [x] [exec](inputs/exec)
|
|
- [x] [ping](inputs/ping)
|
|
- [x] [http_response](inputs/http_response)
|
|
- [x] [net_response](inputs/net_response)
|
|
- [x] [procstat](inputs/procstat)
|
|
- [x] [mysql](inputs/mysql)
|
|
- [x] [redis](inputs/redis)
|
|
- [x] [oracle](inputs/oracle)
|
|
- [x] [rabbitmq](inputs/rabbitmq)
|
|
- [x] [prometheus](inputs/prometheus)
|
|
- [x] [tomcat](inputs/tomcat)
|
|
- [x] [nvidia_smi](inputs/nvidia_smi)
|
|
- [x] [nginx_upstream_check](inputs/nginx_upstream_check)
|
|
- [x] [kubernetes(read metrics from kubelet api)](inputs/kubernetes)
|
|
- [x] [kube_state_metrics](inputs/kube_state_metrics)
|
|
- [x] [nginx_vts](inputs/nginx_vts)
|
|
- [ ] mongodb
|
|
- [ ] rocketmq
|
|
- [ ] activemq
|
|
- [ ] kafka
|
|
- [ ] elasticsearch
|
|
- [x] windows
|
|
- [ ] mssql
|
|
- [ ] iis
|
|
- [ ] weblogic
|
|
- [ ] was
|
|
- [ ] hadoop
|
|
- [ ] ad
|
|
- [x] [zookeeper](inputs/zookeeper)
|
|
- [ ] statsd
|
|
- [ ] snmp
|
|
- [x] [switch_legacy](inputs/switch_legacy)
|
|
- [ ] ipmi
|
|
- [ ] smartctl
|
|
- [ ] logging
|
|
- [ ] trace
|
|
|
|
## FAQ
|
|
|
|
[FAQ](https://www.gitlink.org.cn/flashcat/categraf/wiki)
|
|
|
|
## Thanks
|
|
|
|
Categraf is developed on the basis of Telegraf and Exporters. Thanks to the great open source community.
|