Tool to monitor system downtimes?

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Tool to monitor system downtimes?

Joerg Lange-2
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.

Best regards,
Joerg


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tool to monitor system downtimes?

Roberto C. Sanchez-2
On Wed, Mar 28, 2007 at 04:31:16PM +0200, Joerg Lange wrote:
> Hi all,
>
> is there a simple tool to monitor high system loads and outages in debian?
>
Perhaps something SNMP-based?

Regards,

-Roberto

--
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tool to monitor system downtimes?

Joerg Lange-2
On 3/28/07, Roberto C. Sánchez <[hidden email]> wrote:
> Perhaps something SNMP-based?

Hmm I have briefly looked at that now, but it seems to be quite an
overkill for what I want to archieve, or am I wrong?

For system traffic monitoring I use "vnstat" at the moment, which is a
very small and very easy to install and use. I am looking ideally for
something as easy as that :-)

Joerg

Reply | Threaded
Open this post in threaded view
|

Re: Tool to monitor system downtimes?

Hugo Vanwoerkom
In reply to this post by Joerg Lange-2
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.
>
> Best regards,
> Joerg
>
>

Years ago, I wrote my own.
http://www.geocities.com/hugovanwoerkom/
first graphic. It's an app. that records various things every 5 minutes
in a db. When there is nothing in the db. the system is down.

Hugo


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tool to monitor system downtimes?

Franck Joncourt-2
On Wed, Mar 28, 2007 at 02:37:30PM -0600, Hugo Vanwoerkom wrote:

> 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.
Waht about cacti :

http://cacti.net/

Could it be of any help to you ?

--
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF 9A3C C490 534E 75C0 89FE

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tool to monitor system downtimes?

Ron Johnson
In reply to this post by Joerg Lange-2
-----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-----


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tool to monitor system downtimes?

Joerg Lange-2
On 3/28/07, Ron Johnson <[hidden email]> wrote:
> Parse this single line file: /proc/loadavg.
Thats what I already do in the perl program I wrote, in order to get
the latest load (first number is the average per 1 minute)... Is there
anything else you want to tell me, something that I missed?

Anyway, it seems that there is not such a tool. cacti and snmp seem to
be complex, the program from Hugo seems to be for a slightly different
purpose. All are not command line oriented.

QUESTION FOR ALL OF YOU:
Would anyone find it benefitial for them what I have in my mind (see
first email)? If yes, I would continue work and try to put together a
debian package one day.

Best regards,
Joerg


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tool to monitor system downtimes?

Hugo Vanwoerkom
In reply to this post by Franck Joncourt-2
Franck Joncourt wrote:

> On Wed, Mar 28, 2007 at 02:37:30PM -0600, Hugo Vanwoerkom wrote:
>> 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.
>
> Waht about cacti :
>
> http://cacti.net/
>
> Could it be of any help to you ?
>

Interesting. And it's all in Sid too :-)

Hugo

















--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tool to monitor system downtimes?

Ron Johnson
In reply to this post by Joerg Lange-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/29/07 02:52, Joerg Lange wrote:
> On 3/28/07, Ron Johnson <[hidden email]> wrote:
>> Parse this single line file: /proc/loadavg.
> Thats what I already do in the perl program I wrote, in order to get
> the latest load (first number is the average per 1 minute)...

Oh, sorry.  When you wrote /monitors *only* real downtimes at the
moment/ I though you meant that it did not yet track system load.

>                                                               Is there
> anything else you want to tell me, something that I missed?

Other than that your mother dresses you funny?  Nope.  :P

Seriously, though, I'd insert the records into an SQLite database,
so that you can create all sorts of trend reports.

> Anyway, it seems that there is not such a tool. cacti and snmp seem to
> be complex, the program from Hugo seems to be for a slightly different
> purpose. All are not command line oriented.
>
> QUESTION FOR ALL OF YOU:
> Would anyone find it benefitial for them what I have in my mind (see
> first email)? If yes, I would continue work and try to put together a
> debian package one day.

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

iD8DBQFGC7YlS9HxQb37XmcRApoAAJ99ft/YjaaN7sSjYOCHC/OBFG/7hACdEFuB
1W7HKN1Umo2V30qwFhTIfFY=
=Zmi8
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tool to monitor system downtimes?

anoop aryal
On Thursday 29 March 2007 07:50, Ron Johnson wrote:

> On 03/29/07 02:52, Joerg Lange wrote:
> > On 3/28/07, Ron Johnson <[hidden email]> wrote:
> >> Parse this single line file: /proc/loadavg.
> >
> > Thats what I already do in the perl program I wrote, in order to get
> > the latest load (first number is the average per 1 minute)...
>
> Oh, sorry.  When you wrote /monitors *only* real downtimes at the
> moment/ I though you meant that it did not yet track system load.
>
> >                                                               Is there
> > anything else you want to tell me, something that I missed?
>
> Other than that your mother dresses you funny?  Nope.  :P
>
> Seriously, though, I'd insert the records into an SQLite database,
> so that you can create all sorts of trend reports.

i'd suggest RRD (round robin database) - see the rrdtool package. with any
other databases, you have to deal with data accumulation over years of usage.
with RRD, it keeps averages where you get detailed info for the present, and
less detailed but still useful data for anytime in the past (well, for a
reasonable re-definition of 'anytime'). and the file size is always constant.

i have all kinds of performance data for the past 3-4 years yet i don't have
to worry about archiving old data or overflowing or ending up with
garguantian data files.


>
> > Anyway, it seems that there is not such a tool. cacti and snmp seem to
> > be complex, the program from Hugo seems to be for a slightly different
> > purpose. All are not command line oriented.
> >
> > QUESTION FOR ALL OF YOU:
> > Would anyone find it benefitial for them what I have in my mind (see
> > first email)? If yes, I would continue work and try to put together a
> > debian package one day.
>
> --
> 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!

--

anoop aryal
[hidden email]


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]