E
Echo
I just started a project to monitor servers(load, memory, processes,
etc) via ssh(using paramiko). And I was hoping to get some input on
the design of my project, how pythonic it is, etc. It is quite basic
right now. But it is currently able to get load and memory stats from
any number of servers. I haven't started the logging to a DB or the
GUI for it yet. I also haven't touched on error handling at all
either.
My reasons for making my own server monitoring project:
-It's fun
-Low requirements (only python, paramiko, and pycrypto 1.9+ is required)
-Nothing to install on the servers
-Easy to customize
You can view the code at:
http://github.com/brandonsinger/pywatchlmn/blob/43afb593a891a3d25f3cd9910c5829867bbe229d/monitor.py
The project page is at: http://github.com/brandonsinger/pywatchlmn/tree/master
etc) via ssh(using paramiko). And I was hoping to get some input on
the design of my project, how pythonic it is, etc. It is quite basic
right now. But it is currently able to get load and memory stats from
any number of servers. I haven't started the logging to a DB or the
GUI for it yet. I also haven't touched on error handling at all
either.
My reasons for making my own server monitoring project:
-It's fun
-Low requirements (only python, paramiko, and pycrypto 1.9+ is required)
-Nothing to install on the servers
-Easy to customize
You can view the code at:
http://github.com/brandonsinger/pywatchlmn/blob/43afb593a891a3d25f3cd9910c5829867bbe229d/monitor.py
The project page is at: http://github.com/brandonsinger/pywatchlmn/tree/master