[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tool to monitor system downtimes?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/28/07 09:31, Joerg Lange wrote:
> Hi all,
> 
> is there a simple tool to monitor high system loads and outages in debian?
> 
> For me, it would be completely sufficient if there would be a tool
> that samples every minute or every few minutes (e.g. in a cron job)
> the system load and reports any issues to the user in a simple way
> like this:
> 
>            day       > load 5  |  > load 10  |  > load 15  |   DOWN
> ------------------------+-------------+-------------+----------
>   26.01.       6.31%   |   1.20%     |   0.53%     |   0.00%
>   27.01.       6.31%   |   1.20%     |   0.53%     |   0.00%
>   28.01.       6.31%   |   1.20%     |   0.53%     |   0.00%
>   29.01.       6.31%   |   1.20%     |   0.53%     |   4.43%
>   30.01.       6.31%   |   1.20%     |   0.53%     |   0.00%
> ------------------------+-------------+-------------+----------
>  Average:      6.31%   |   1.20%     |   0.53%     |   1.31%
> 
> Purpose is to get an overview about the "performance" of the server
> provider in case of "sandbox" vservers, so where I would not be aware
> of any issues like the server is not available some hours during
> nighttime for example.
> 
> I have started writing such a program in perl, it works great but
> monitors only real downtimes at the moment, so not by system load as
> the figure above indicates.

Parse this single line file: /proc/loadavg.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGCtyHS9HxQb37XmcRAq7zAJ0S7mkFncZcdq2sdwHCPfhqxPn1VACfQDcx
eesbNeipyUNk//B5OOdosHc=
=55zx
-----END PGP SIGNATURE-----



Reply to: