[cricket-users] grapher.cgi problems

From: David Koski (dkoski@noc.ns.itd.umich.edu)
Date: Thu Jun 03 1999 - 08:44:35 PDT


From: David Koski <dkoski@noc.ns.itd.umich.edu>

Anyone been having cgi problems with router interfaces. I've upgraded to
0.66 (0.65 was giving me some problems but couldn't replicate it running
the cgi offline). I've tried using the sample tree configs and get the
same results. My upper level Default files are pretty much the same as
the sample tree as well, here's my errors in offline. As you can see it
is producing the CGI headers and output, but the error is causing it never
to go to the browser. The barword "interface" not allowed while "strict
subs" is the same thing show up in my Netscape server logs. 0.63 works
like a dream but 0.65 and 0.66 (Which is where the database was added)
dies miserably. It only does this for router interfaces. My router
specific graph displays work fine.

        Thanks

                David

%./grapher.cgi
(offline mode: enter name=value pairs on standard input)
target=%2Frouter-interfaces%2Fethernet3_0_0&ranges=d%3Aw&view=Bits%2FSec
Bareword "interface" not allowed while "strict subs" in use at (eval 4)
line 1, <STDIN> chunk 1.
Unquoted string "interface" may clash with future reserved word at (eval
4) line 1, <STDIN> chunk 1.
DOH!Content-Type: text/html

<html>
<head>
<title>Graphs for ethernet3_0_0</title>
<meta name="generator" content="Cricket version 0.66 ( Thu Jun 3 00:22:40
PDT 1999 )">
</head>
<body bgcolor=white>
<!-- you could put your company logo on every page here: -->
    <!-- <img src="images/company-logo.gif" align=left> -->
    <h1>Graphs for ethernet3_0_0</h1>
    <br clear=left>
<table width=100% cellpadding=5 padding=3 border>
<tr><td width=70%>
<h3>Summary</h3>
<font color=red>Current values not available.</font>
(Architecture sun4-solaris-thread not supported yet.)
<p></td><td><center>
<i>Time Ranges:</i><p>
<a
href="http://localhost/./grapher.cgi?target=%2Frouter-interfaces%2Fethernet3_0_0&ranges=d&view=Bits%2FSec">Hourly</a>&nbsp;&nbsp;&nbsp;<br>
<a
href="http://localhost/./grapher.cgi?target=%2Frouter-interfaces%2Fethernet3_0_0&ranges=w&view=Bits%2FSec">Daily</a>&nbsp;&nbsp;&nbsp;<br>
<a
href="http://localhost/./grapher.cgi?target=%2Frouter-interfaces%2Fethernet3_0_0&ranges=d%3Aw&view=Bits%2FSec">Short-Term</a>&nbsp;&nbsp;&nbsp;<br>
<a
href="http://localhost/./grapher.cgi?target=%2Frouter-interfaces%2Fethernet3_0_0&ranges=m%3Ay&view=Bits%2FSec">Long-Term</a>&nbsp;&nbsp;&nbsp;<br>
<a
href="http://localhost/./grapher.cgi?target=%2Frouter-interfaces%2Fethernet3_0_0&ranges=d%3Aw%3Am%3Ay&view=Bits%2FSec">All</a>&nbsp;&nbsp;&nbsp;</center></td>
</tr></table>
<h3>Hourly graph</h3>
<img width=596 height=267
src="http://localhost/./mini-graph.cgi?type=gif&target=%2Frouter-interfaces%2Fethernet3_0_0&inst=map%28interface-name%29&dslist=ifInOctets%2CifOutOctets&range=151200&rand=404">
<p><h3>Daily graph</h3>
<img width=596 height=267
src="http://localhost/./mini-graph.cgi?type=gif&target=%2Frouter-interfaces%2Fethernet3_0_0&inst=map%28interface-name%29&dslist=ifInOctets%2CifOutOctets&range=864000&rand=95">
<p><table width=100% cellpadding=3>
                <tr>
        <td>
            <a href="http://www.munitions.com/~jra/cricket"><img
align=left width=58 height=55 src="images/cricket-sm.gif" border=0></a>
                </td>
                <td width=15% valign=center>
                        <p align=left><font size=+2>
                        <a
href="http://www.munitions.com/~jra/cricket">Cricket</a>
                        <font size=2><br>Version 0.66</font>
                </td>
                <td>
                        For questions or comments about this data, contact
    <a href="mailto:cricket">the Cricket Admins</a>.
                </td>
        <td width=120 valign=center>
            <center>
            <a
href="http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool"><img width=120
height=34 src="images/rrdtool.gif" border=0></a>
        </td>
                </tr>
        </table>
    <p>
        <font color=red></font>
    </p>
</body>
</html>

------------------------------------------------------------------------
UMNet MichNet Merit RSNG
------------------------------------------------------------------------
dkoski@umich.edu Technologist
Unix Administration Technical Team Leader
Phone: (734)/647-8993 Network Operations Center
                                   U of M Information Technology Division

------------------------------------------------------------------------
"Congratulations to 'Voice-Diary,' our latest ONElist of the Week.
http://www.onelist.com
Visit our homepage and share with us how ONElist is changing YOUR life!



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:52 PST