[rrd-users] rrdcgi problem?

Michael M. Imrick mimrick at up.net
Tue Nov 21 20:09:16 MET 2000


In my attempt to make things "pretty" I appear to have hit a snag.

I have this form, looks something like this..

    <form action="test4.rrg" method="POST">
        <input type="hidden" name="1day" value="1 Day">
        <input type="hidden" name="2day" value="2 Days">
        <input type="hidden" name="1week" value="1 Week">
        <input type="hidden" name="1month" value="1 Month">
        <input type="hidden" name="1year" value="1 Year">

         <select name="interface">

         <select name="range">
              <option selected value=<RRD::CV::QUOTE range>><RRD::CV
<RRD::CV range>>
              <option value="1day"><RRD::CV 1day>
              <option value="2day"><RRD::CV 2day>
              <option value="1week"><RRD::CV 1week>
              <option value="1month"><RRD::CV 1month>
              <option value="1year"><RRD::CV 1year>

         <input type=submit value="Draw&nbsp;">



<option selected value=<RRD::CV::QUOTE range>><RRD::CV <RRD::CV range>>

THis line is the problem.  It want it to map like this.. 

1day => 1 Day
2day => 2 Days
1year => 1 Year

So that the form is easy for people to use.

The problem is that it just gives me a blank in the spot where I have:

	<RRD::CV <RRD::CV range>>

I tried RRD::CV::QUOTE inside too, same result; just a blank.

When I try <RRD::CV 1day> that works just fine...

Maybe this isnt' possible?  but then why does this work?

	<RRD::TIME::LAST /path/to/rrddb/<RRD::CV interface>.rrd "%D - %T" >

Any ideas?


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