Hi, all ...
I have an CGI script that allows a client to select a time span (like 
"last day", "last week", etc.), and then generates a graph from an RRD 
for that span.

I've noticed that if the RRD does not contain any data for the span 
requested, a graph will still be generated, but with no data (of 
course.)

I'm wondering if it is somehow possible to have RRDs::graph NOT create 
a graph, but instead, set RRDs::error with something like "no data 
available for the span requested."

I could do an RRDs::last on each RRD and check to see if it falls 
within the span, but I'd rather not have to do the extra operation if I 
can avoid it.

Thanks,
        -s-

-- 
Sandor Wade Sklar
Unix Systems Administrator
Stanford University ITSS-TSS
Non impediti ratione cogitationis.



-- Attached file removed by Ecartis and put at URL below --
-- Type: application/pkcs7-signature
-- Size: 2k (2367 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/83-smime.p7s


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to