Code Monkey home page Code Monkey logo

ikuai_exporter's Introduction

ikuai 监控exporter

本项目为ikuai软路由提供了用于Prometheus采集的Exporter

环境变量

变量名 变量值举例 是否必有 说明
IK_USERNAME admin iKuai 登录的用户名
IK_PASSWORD admin iKuai 登录的密码
IK_IPADDR 192.168.1.1 iKuai的访问地址
IK_MGR_PORT 8443 管理页面端口
IK_USE_HTTPS true 是否启用HTTPS访问

构建

docker build . -t ikuai_exporter

使用

docker

docker run -dit -e IK_USERNAME=admin -e IK_PASSWORD=admin -e IK_IPADDR=192.168.1.1 -p 9000:9000 ikuai_exporter

docker-compose

docker-compose build
docker-compose up -d

Kubernetes

请参考k8s_apply.yml自行根据需求修改

kubectl apply k8s_apply.yml

获取数据

访问/metrics即可获取数据

服务状态监测

访问/ping 如回复为pong则证明服务正常

ikuai_exporter's People

Contributors

yw9381 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mistymoonr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.