[Tutor] System Monitoring

de Haan kyronoth at gmail.com
Wed Feb 9 12:25:08 CET 2011


On Wed, Feb 9, 2011 at 12:18 PM, Steven D'Aprano <steve at pearwood.info>wrote:

> 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?


This is true, and yes, Nagios is good for this job. But im wondering what
the best way is...

>
>
>
>  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.
>

Most likely live monitoring.

>
>
> --
> Steven
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110209/ffada97b/attachment.html>


More information about the Tutor mailing list