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

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


Hi there....

If I were you I would use MRTG to perform the data collection for you.

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.


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


------------------------------------------------------------------------------------------
Equinox Converged Solutions Limited.
Tel: +44 (0)1252 405 600
http://www.equinoxsolutions.com

IMPORTANT NOTICE:
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