[rrd-users] rrdcgi problem
Jochen Vogel
jvogel at it-sec.de
Thu Apr 17 10:00:22 MEST 2003
hi,
i use redhat8.0 and apache2.0.40.
if i try to use the tcp_services.rcgi i get an error message
----error--------------------
[Wed Apr 16 15:07:29 2003] [error] [client 192.168.0.145] Premature end of
script headers: tcp_services.rcgi, referer: http://192.168.0.163/rrd/
----script------------------
#!/usr/local/rrdtool-1.0.41/bin/rrdcgi
<html>
<head>
<title>tcp_services</title>
<META HTTP-EQUIV=Refresh CONTENT="120"/>
</head>
<body>
<p><b>traffic by service</b><br/>
last updated:
<RRD::TIME::LAST /usr/local/rrdtool-1.0.41/tcp_services.rrd "%A, %B %d, %Y
%I:%M%p"><br/>
<span style='color: #00FF00;'>—— to</span>
<span style='color: #0000FF;'>—— from</span>
</p>
<p><b>ssh</b><br/>
<RRD::GRAPH tcp_services-22-6hr.png --lazy
-s -6h5min -e -5min
-v 'Bits per second'
DEF:in=/usr/local/rrdtool-1.0.41/tcp_services.rrd:22_in:AVERAGE
DEF:out=/usr/local/rrdtool-1.0.41/tcp_services.rrd:22_out:AVERAGE
CDEF:out_bits=out,8,*
CDEF:in_bits=in,8,*
AREA:in_bits#00FF00
LINE1:out_bits#0000FF>
</p>
</body>
</html>
thx for help
jo
--
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