Networking Forums

Networking Forums > Computer Networking > Linux Networking > rrdtool

Reply
 
 
Adiemo
Guest
Posts: n/a

 
      02-25-2005, 10:25 PM
Hi guys,

Does anybody have some configuration files (scripts) for rrdtool? I would
like some scripts that would monitor:

CPU usage,
Memory usage,
SWAP usage,
Disk drive usage,
Network (the incoming traffic) usage,
Network (the outgoing traffic) usage,
number of currently logged users,
number of active processes,
weather (temperature) in a particular city,
etc.

I have written some simple scripts for MRTG. However, they do not look as
fancy as in RRDTOOL (which is is kinda new for me). Thus, if you have and
are willing to share some of your config files, I will be very happy.

Thanks


 
Reply With Quote
 
 
 
 
Jose Maria Lopez Hernandez
Guest
Posts: n/a

 
      02-26-2005, 09:12 AM
Adiemo wrote:
> Hi guys,
>
> Does anybody have some configuration files (scripts) for rrdtool? I would
> like some scripts that would monitor:
>
> CPU usage,
> Memory usage,
> SWAP usage,
> Disk drive usage,
> Network (the incoming traffic) usage,
> Network (the outgoing traffic) usage,
> number of currently logged users,
> number of active processes,
> weather (temperature) in a particular city,
> etc.


Why don't you try Cacti, it's a web frontend for rrdtool
that has scripts to do some of those things, and you can
add your own scripts, or borrow some from Nagios.

Regards.

--

Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
(E-Mail Removed)
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
-- Jack Kerouac, "On the Road"
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      02-26-2005, 09:38 AM
In comp.os.linux.networking Adiemo <(E-Mail Removed)>:
> Hi guys,


> Does anybody have some configuration files (scripts) for rrdtool? I would
> like some scripts that would monitor:


> CPU usage,
> Memory usage,
> SWAP usage,
> Disk drive usage,
> Network (the incoming traffic) usage,
> Network (the outgoing traffic) usage,
> number of currently logged users,
> number of active processes,


Available via snmp, you need to configure net-snmp if you haven't
already.

> weather (temperature) in a particular city,


Shouldn't be that difficult, perhaps using wget's output piped to
awk/perl ripping out the values you want.

> etc.


> I have written some simple scripts for MRTG. However, they do not look as
> fancy as in RRDTOOL (which is is kinda new for me). Thus, if you have and
> are willing to share some of your config files, I will be very happy.


One can use mrtg config-files with "Logformat: rrdtool" or so, try
a google search there are numerous examples online, www.mrtg.org
has IIRC some docs on converting mrtg.cfg files to rrdtool.

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 403: Sysadmin didn't hear pager go off due to
loud music from bar-room speakers.
 
Reply With Quote
 
Adiemo
Guest
Posts: n/a

 
      02-26-2005, 03:02 PM
> Why don't you try Cacti, it's a web frontend for rrdtool
> that has scripts to do some of those things, and you can
> add your own scripts, or borrow some from Nagios.


Thanks! I will try it today (I did not know Cacti).
Adiemo


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11