Categraf is a monitoring agent for nightingale/prometheus/m3db/victoriametrics/thanos/influxdb/tdengine.
# export GO111MODULE=on
# export GOPROXY=https://goproxy.cn
go build
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
./categraf --test
# usage:
./categraf --help
tar zcvf categraf.tar.gz categraf conf
- system
- kernel
- kernel_vmstat
- linux_sysctl_fs
- cpu
- mem
- net
- netstat
- disk
- diskio
- ntp
- processes
- exec
- ping
- http_response
- net_response
- procstat
- mysql
- redis
- oracle
- rabbitmq
- prometheus
- tomcat
- nvidia_smi
- nginx_upstream_check
- kubernetes(read metrics from kubelet api)
- k8s solution
- nginx vts
- mongodb
- rocketmq
- activemq
- kafka
- elasticsearch
- prometheus discovery
- windows
- mssql
- iis
- weblogic
- was
- hadoop
- ad
- zookeeper
- statsd
- snmp
- switch_legacy
- ipmi
- smartctl
- logging
- trace
Categraf is developed on the basis of Telegraf and Exporters. Thanks to the great open source community.