categraf/README.md

103 lines
2.1 KiB
Markdown
Raw Normal View History

2022-05-16 11:58:50 +08:00
# Categraf
2022-04-14 15:18:49 +08:00
2022-05-31 06:35:56 +08:00
Categraf is a monitoring agent for nightingale/prometheus/m3db/victoriametrics/thanos/influxdb/tdengine.
2022-04-14 15:18:49 +08:00
2022-05-31 06:33:13 +08:00
## QuickStart
[QuickStart](https://www.gitlink.org.cn/flashcat/categraf/wiki)
2022-05-30 13:43:58 +08:00
## Releases
[Releases](https://www.gitlink.org.cn/flashcat/categraf/releases)
2022-05-16 11:58:50 +08:00
## Build
2022-04-14 15:18:49 +08:00
```shell
2022-05-16 11:58:50 +08:00
# export GO111MODULE=on
# export GOPROXY=https://goproxy.cn
2022-04-14 15:18:49 +08:00
go build
```
2022-06-13 19:52:13 +08:00
2022-06-13 19:55:02 +08:00
## Deploy categraf as daemonset
2022-06-13 19:52:13 +08:00
```shell
2022-06-13 23:58:57 +08:00
edit k8s/categraf.yaml, replace NSERVER_SERVICE_WITH_PORT with service ip:port of nserver in your cluster, run:
2022-06-13 19:52:13 +08:00
2022-06-13 23:58:57 +08:00
kubectl apply -n monitoring -f ks8/categraf.yaml
2022-06-13 19:52:13 +08:00
```
2022-04-14 15:18:49 +08:00
2022-05-16 11:58:50 +08:00
## Test
```shell
./categraf --test
# usage:
./categraf --help
```
## Pack
2022-04-14 15:18:49 +08:00
```shell
tar zcvf categraf.tar.gz categraf conf
```
2022-04-17 11:05:12 +08:00
2022-05-24 20:07:07 +08:00
## Plan
2022-04-17 11:05:12 +08:00
2022-06-14 19:42:35 +08:00
- [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] [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)
2022-05-02 15:35:01 +08:00
- [ ] k8s solution
- [ ] nginx vts
- [ ] mongodb
- [ ] rocketmq
- [ ] activemq
- [ ] kafka
- [ ] elasticsearch
- [ ] prometheus discovery
2022-06-01 11:58:12 +08:00
- [x] windows
2022-05-02 15:35:01 +08:00
- [ ] mssql
- [ ] iis
- [ ] weblogic
- [ ] was
- [ ] hadoop
- [ ] ad
- [ ] zookeeper
- [ ] statsd
- [ ] snmp
2022-06-14 19:42:35 +08:00
- [x] [switch_legacy](inputs/switch_legacy)
2022-05-02 15:35:01 +08:00
- [ ] ipmi
- [ ] smartctl
- [ ] logging
- [ ] trace
2022-05-16 11:58:50 +08:00
2022-05-30 13:43:58 +08:00
## FAQ
[FAQ](https://www.gitlink.org.cn/flashcat/categraf/wiki)
2022-05-16 11:58:50 +08:00
## Thanks
Categraf is developed on the basis of Telegraf and Exporters. Thanks to the great open source community.