[rrd-users] Re: rrdcgi input checks

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Mar 26 12:50:51 MET 2004


Koos van den Hout zei:
>
> I am playing with some rrd generated graphs, and I'd like to give the
> period (day, week, month, year) as a parameter to the cgi. I'd also like
> to
> give targets as parameter, but that is secondary.
>
> But, I never trust input from the web to be what I want, or to be safe.
> So,
> I want to check whether it's day/week/month/year and if it isn't, not even
> try to start rrdgraph.
>
> So, is there a way to check input values in rrdcgi? Or do I need to fall
> back to a perl wrapper?

You could peek on how it is done with tools like MRTS
(http://apt-get.dk/mrts/) or MailGraph
(http://people.ee.ethz.ch/~dws/software/mailgraph/)

Hugo.

-- 
All email sent to me is bound to the rules described on my homepage.
hvdkooij at vanderkooij.org               http://hvdkooij.xs4all.nl/
  Don't meddle in the affairs of sysadmins,
  for they are subtle and quick to anger.

--
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