logo       

Re: rrdtools in conditionals?: msg#00081

web.lighttpd

Subject: Re: rrdtools in conditionals?

On Sun, Sep 19, 2004 at 10:35:04AM -0500, jeremy@xxxxxxxx wrote:
>
> I'd like to keep rrdtool stats per virtual host.
>
> I've got the module loaded, and when i set the rrdtool.* vars in the
> global config section, it works, but conditionals don't seem to take
> effect.
>
> Am I missing something obvious and being my usually blind self? :)
>
> -------------------------8<------------------------------
> $HTTP["host"] =~ "dom\.tld$" {
> rrdtool.binary = "/usr/bin/rrdtool"
> rrdtool.db-name = "/var/httpd/dom.tld.db"
> server.document-root = "/www/dom.tld/htdocs"
> fastcgi.server = ( ".php" =>
> ( "domphp" => ("socket"=>"/tmp/.dom.tld.php))
> )
> }
> -------------------------8<------------------------------


No, you are not blind. Not every plugin is ported to conditional yet and
for rrdtool is one of them. As the rrdtool.binary is the same for all
host it will be only set once.

> thanks,
> jeremy

Jan

--
Jan Kneschke http://jan.kneschke.de/
Perhaps you want to say 'thank you, jan': http://jk.123.org/wishlist/




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise