flashcatcloud / categraf

one-stop telemetry collector for nightingale
https://flashcat.cloud/docs/
MIT License
758 stars 237 forks source link

feat: add ethtool plugin #963

Closed ForFoen closed 3 weeks ago

ForFoen commented 3 weeks ago

添加ethtool插件

kongfei605 commented 3 weeks ago

可以参考一下其他插件多系统编译方式,https://github.com/flashcatcloud/categraf/tree/main/inputs/netstat 不然windows编译报错了 https://github.com/flashcatcloud/categraf/actions/runs/9463136799/job/26069883365 , make build-test会执行多平台编译测试,修改好之后可以本地跑一下哈

ForFoen commented 3 weeks ago

您好,我想请教一下,在自己fork的仓库手动跑workflow,为什么报错的位置不一样 image 貌似运行的参数是有所不同的,即使用main分支来跑也会报该错误

kongfei605 commented 3 weeks ago

您好,我想请教一下,在自己fork的仓库手动跑workflow,为什么报错的位置不一样 image 貌似运行的参数是有所不同的,即使用main分支来跑也会报该错误

这个要看你的workflow配置了 ,直接fork过去一般是跑不了的,因为里面配置的账号是flashcatcloud

ForFoen commented 3 weeks ago

好的,感谢回答