[rrd-users] Re: suppressing rrdtool graph width*heigth output
Gil Coutinho
gilc at fe.up.pt
Thu Jun 28 19:54:48 MEST 2001
Hi there.
Can't you redirect the output to /dev/null?
Try something like this in your crontab:
0 * * * * /usr/sbin/netdate ns1 >/dev/null 2>/dev/null
(it redirects standard input and standard error of the command to /dev/null)
If that is your only problem, root won't get emailed anymore.
cheers
_____________
Gil Coutinho
gilc at fe.up.pt
-----Original Message-----
From: root at phobos.serve.com [mailto:root at phobos.serve.com]On Behalf Of
A.N.Varady
Sent: quinta-feira, 28 de Junho de 2001 18:34
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] suppressing rrdtool graph width*heigth output
Hello,
Does anyone know if there is a "quiet" mode for the rrdtool graph function.
Besides the generated gif, the rrdtool graph function also outputs the width
and
height of the image produced.
If there isn't a quiet mode, does anyone know some trick I could use to run
rrdtool graph from within a perl script and suppress this information.
The problem is that I have rrdtool running on cron, and everytime it runs
the
graph function it send email to root with the dimensions of the image.
Thanks for your help.
Aharon
--
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
--
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