[rrd-users] rrdcgi returns Command line error. Expected Input file name! 3

Nico De Ranter nico at sonycom.com
Tue Dec 7 16:47:09 MET 1999


Howdy,

I'm trying to get NRG running and for that I need rrdcgi.
I but the script + rrdcgi in the cgi-bin tree but I only get

Command line error. Expected Input file name! 3
[Tue Dec  7 16:43:52 1999] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /wwwi/cgi-bin/rrdtool/Network/eos.cgi

Any idea what might be wrong?

The nrg script looks like:

----------------------------------------------------------
#!./rrdcgi -g 60 -r

<HTML>
<HEAD><TITLE>MadisonSD Ethernet</TITLE></HEAD>
<BODY BGCOLOR="#C7C3C7" FGCOLOR="#000000">
<HR>
<H1>Traffic Analysis for MadisonSD's Ethernet</H1>
  <TABLE>
    <TR><TD>System:</TD><TD>eos.sonytel.be (Cisco 2509)</TD></TR>
    <TR><TD>Interface:</TD><TD>Ethernet1 (SNMP instance 1)</TD></TR>
    <TR><TD>IP:</TD><TD>My machine</TD></TR>
    <TR><TD>Network:</TD> <TD>Ethernet (10 mbits/sec)</TD></TR>
  </TABLE>
<HR>
<PRE>
   last four hours
   <RRD::GRAPH eos.4hr.gif 
     --imginfo "<IMG SRC="/nrg-rrd/%s" WIDTH="%lu" HEIGHT="%lu">"
     --start -14400
     --interlaced
[...snip...]
----------------------------------------------------------

Any idea what might be wrong?

Nico

--------------------------------------------------------
 "It has been said that there are only two businesses
  refer to customers as users: illegal drug trade and
               the computer industry." 
--------------------------------------------------------
Nico De Ranter
Sony Service Center (SUPC-E/NSSE)
Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne)
1130 Brussel (Bruxelles), Belgium, Europe, Earth
Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86
e-mail: nico.deranter at sonycom.com

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list