[rrd-users] Re: please help a lost newbie

Simon Mullis Simon.Mullis at equinoxsolutions.com
Wed Dec 11 17:31:34 MET 2002

You're absolutely right. MRTG is good for only two variables.

I have a number of devices and variables that I poll using MRTG as the data
collector.  It is then fairly trivial to use RRDTool or RRDCGI to handle
creating some fairly complex graphs using the MRTG RRDs as the source data.
Obviously one can use multiple RRDs for the same graph

My point was only that if MRTG is already used in a Production environment
it may be easiest to use it to collect the data itself rahter then
reinventing the wheel etc.  For example, I already have the MRTG systems in
a redundant and fault-tolerant configuration with my NMS configured to
receive SNMP traps from the systems and alert / escalate faults accordingly.
We have a variety of stock requirements that are more than catered for by
MRTG and some more exotic requirements that are dealt with via RRDCGI.

(I for one will be happy when VDEFs and the 95 percentile functionality are
incorporated in the Stable branch of RRDTool).


-----Original Message-----
From: Adam Nealis [mailto:adamnealis at yahoo.co.uk] 
Sent: 11 December 2002 16:09
To: Simon Mullis; 'Dan Gahlinger'; 'rrd-users at list.ee.ethz.ch'
Subject: Re: [rrd-users] Re: please help a lost newbie


--- Simon Mullis <Simon.Mullis at equinoxsolutions.com> wrote:
> Hi there....
> If I were you I would use MRTG to perform the data collection for you.

AFAIR, MRTG only allows two lines per graph. So a plot
of what 20 hosts are doing would be impossible.

I may be wrong though...

> You can specify a script or command in back ticks as the MRTG Target 
> for it to perform your script.  As long as your script returns data in 
> the following format all will be fine.
> Format from script should be:
> Variable
> Variable
> And in your mrtg.cfg:
> ...
> Target[machine_X_users]:`/full/path/to/script/scriptname 
> <machine_name>` ...
> I'm sure some of the RRDTool purists here would baulk at this idea and 
> suggest you should call RRDTool directly, but if you already use MRTG 
> for other things and have the presentation mechanisms then this will 
> work fine.
> Thanks
> SM
> -----Original Message-----
> From: Dan Gahlinger [mailto:admin at interlynx.net]
> Sent: 11 December 2002 14:47
> To: rrd-users at list.ee.ethz.ch
> Subject: [rrd-users] please help a lost newbie
> Ok I wrote a shell script to collect data from our boxes, simply a 
> decimal number. All the script does is: finger @host | grep -c tty > 
> host1.users
> shows the # of users logged into the box
> I do this for about 20 boxes, each to a different file
> I've tried reading the docs, faq, etc on the website, but
> I just get lost, nothing seems to cover what I want to do.
> How do I get this graphing the data ?
> basically every 5 minutes I need something to build the
> graph to show the users on the boxes graphed over time
> Dan.

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

Equinox Converged Solutions Limited.
Tel: +44 (0)1252 405 600

This message is intended solely for the use of the Individual or organisation to whom it is addressed. It may contain privileged or confidential information.  If you have received this message in error, please notify the originator immediately.
If you are not the intended recipient, you should not use, copy, alter, or disclose the contents of this message.  All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of Equinox Converged Solutions Limited.
Equinox Converged Solutions Limited accepts no responsibility  for loss or damage arising from its use, including damage from virus.

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list