一些配合 open-falcon 的监控脚本
freedomkk-qfeng / falcon-scripts Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
一些配合 open-falcon 的监控脚本
我现在需要在windows上对端口,进程等进行监控,有什么好的办法吗?谢谢
在网上找到修补后的内容,但是一直获取的是-1,而不是push上来的1,如何修改呢?
push_interval_agent = 60 #agent.alive 每分钟推送一次
def agent_alive():
ts = int(time.time())
payload = []
data = {"endpoint":endpoint,"metric":"","timestamp":ts,"step":push_interval_agent,"value":"","counterType":"","tags":""}
data["metric"] = "agent.alive"
data["value"] = "1" #推送一个值为1
data["counterType"] = "GAUGE"
payload.append(copy.copy(data))
if __name__ == "__main__":
main()
agent_alive() #agent.alive监控项
我电脑是win7 64位
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.