2022-05-16 11:58:50 +08:00
|
|
|
# Categraf
|
2022-04-14 15:18:49 +08:00
|
|
|
|
2022-05-16 11:58:50 +08:00
|
|
|
Categraf is a monitoring agent for nightingale.
|
2022-04-14 15:18:49 +08:00
|
|
|
|
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-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-05-24 20:07:07 +08:00
|
|
|
- [x] system
|
|
|
|
- [x] kernel
|
|
|
|
- [x] kernel_vmstat
|
|
|
|
- [x] linux_sysctl_fs
|
|
|
|
- [x] cpu
|
|
|
|
- [x] mem
|
|
|
|
- [x] net
|
|
|
|
- [x] netstat
|
|
|
|
- [x] disk
|
|
|
|
- [x] diskio
|
|
|
|
- [x] ntp
|
|
|
|
- [x] processes
|
|
|
|
- [x] exec
|
|
|
|
- [x] ping
|
|
|
|
- [x] http_response
|
|
|
|
- [x] net_response
|
|
|
|
- [x] procstat
|
|
|
|
- [x] mysql
|
|
|
|
- [x] redis
|
|
|
|
- [x] oracle
|
|
|
|
- [x] rabbitmq
|
|
|
|
- [x] prometheus
|
|
|
|
- [x] tomcat
|
|
|
|
- [x] nvidia_smi
|
2022-05-02 15:35:01 +08:00
|
|
|
- [ ] k8s solution
|
|
|
|
- [ ] nginx vts
|
|
|
|
- [ ] mongodb
|
|
|
|
- [ ] rocketmq
|
|
|
|
- [ ] activemq
|
|
|
|
- [ ] kafka
|
|
|
|
- [ ] elasticsearch
|
|
|
|
- [ ] prometheus discovery
|
|
|
|
- [ ] windows
|
|
|
|
- [ ] mssql
|
|
|
|
- [ ] iis
|
|
|
|
- [ ] weblogic
|
|
|
|
- [ ] was
|
|
|
|
- [ ] hadoop
|
|
|
|
- [ ] ad
|
|
|
|
- [ ] zookeeper
|
|
|
|
- [ ] statsd
|
|
|
|
- [ ] snmp
|
|
|
|
- [ ] ipmi
|
|
|
|
- [ ] smartctl
|
|
|
|
- [ ] logging
|
|
|
|
- [ ] trace
|
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.
|