[Tutor] System Monitoring

Steven D'Aprano steve at pearwood.info
Wed Feb 9 12:18:28 CET 2011


de Haan wrote:
> Hi,
> 
> Im fairly new to programming in python, and have a question.
> 
> Im looking to build a program that monitor's certain things on my Linux
> system. for instance disk space. What is the best way to monitor a Linux
> server without using to much resources?

Why reinvent the wheel? What's wrong with using an existing system such 
as Nagios or Cactii?


> Should I execute shell commands and grab the output of them? Or should i use
> SNMP. Or is there a better way?

Depends on what and how often you're checking.


-- 
Steven



More information about the Tutor mailing list